Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251761 - sci-visualization/grace-5.1.22-r1: doesn't work with xdg-open under gnome and gedit
Summary: sci-visualization/grace-5.1.22-r1: doesn't work with xdg-open under gnome and...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-20 16:56 UTC by Dirk Goettel
Modified: 2010-01-06 12:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
alternatively ebuild for gnome user (grace-5.1.22-r1.ebuild,3.08 KB, text/plain)
2008-12-20 19:21 UTC, Dirk Goettel
Details
start-script used in alternate ebuild (xmgrace.sh,276 bytes, text/plain)
2008-12-20 19:30 UTC, Dirk Goettel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.