! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfrun4 ("Run application" dialog) does not use PATH to run application
Status:
RESOLVED: INVALID
Product:
Xfce-utils

Comments

Description charlie-tca 2010-04-02 19:01:10 CEST
This bug has been reported to Ubuntu Launchpad as: 
https://launchpad.net/bugs/306331

XUbuntu 8.10. I have Eclipse installed(unzipped) under my home folder (/home/romani/java/Eclipse34/eclipse).
I add this folder to .bashrc file
"
export PATH=$PATH:/home/romani/java/Eclipse34/eclipse
"

Press Alt+F2 and type "eclipse", press Enter -> Error message that such file does not exist.

To check correctness of PATH - open terminal and type "eclipse" ->Eclipse is launching.


From a second reporter: 
This patch should grab the user's PATH from the environment and send it up the chain. The user will need to make sure that PATH is set properly and available to xfrun.

http://launchpadlibrarian.net/42733793/xfrun_add_path.diff
Comment 1 Brian J. Tarricone (not reading bugmail) 2010-04-03 09:15:09 CEST
No bug here.  NULL in envp means "use the current environment."  Likely xfrun4 is getting started by dbus-daemon, which is getting started before the user's PATH is getting set up.  Or, more likely, ~/.bashrc isn't sourced by Xfce's init script.  You'll need to get the directory in PATH via some other means.

Bug #6362

Reported by:
charlie-tca
Reported on: 2010-04-02
Last modified on: 2012-03-17

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Attachments

Additional information