Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 251761

Summary: sci-visualization/grace-5.1.22-r1: doesn't work with xdg-open under gnome and gedit
Product: Gentoo Linux Reporter: Dirk Goettel <dgoettel>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: graphics+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: alternatively ebuild for gnome user
start-script used in alternate ebuild

Description Dirk Goettel 2008-12-20 16:56:36 UTC
snipp...
    --enable-grace-home=/usr/share/${PN} \
    --with-helpviewer="xdg-open %s" \
    --with-editor="xdg-open %s" \
    --with-printcmd="lpr" \
    $(use_with fftw) \

In Gnome xdg-open starts gedit in background and this doesn't work for me. I must xmgrace start like this 
 
  GRACE_EDITOR="gedit" LC_ALL="${LC_ALL:0:5}" /usr/bin/xmgrace 


Reproducible: Always
Comment 1 Dirk Goettel 2008-12-20 19:21:46 UTC
Created attachment 175988 [details]
alternatively ebuild for gnome user
Comment 2 Dirk Goettel 2008-12-20 19:30:37 UTC
Created attachment 175993 [details]
start-script used in alternate ebuild

Start xmgrace with gedit and new localization

  GRACE_EDITOR="gedit" LC_ALL="${LC_ALL:0:5}" /usr/bin/xmgrace
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-02-26 18:20:08 UTC
Hi,

Thanks for reporting.
The solution you proposed doesn't help for non gedit users.
Would adding something simple like "export GRACE_EDITOR=gedit" in your .bashrc help?
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2010-01-06 01:46:05 UTC
No answer for 11 month.
Comment 5 Dirk Goettel 2010-01-06 12:40:40 UTC
Hi

(In reply to comment #3)
> 
> Thanks for reporting.
> The solution you proposed doesn't help for non gedit users.
> Would adding something simple like "export GRACE_EDITOR=gedit" in your .bashrc
> help?
Yes, "export GRACE_EDITOR=gedit" in my .bashrc works fine.