[Bug 164487] New: Desktop shortcuts do not respect PATH

Oliver Doepner odoepner at gmail.com
Fri Jun 20 00:35:56 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=164487         
           Summary: Desktop shortcuts do not respect PATH
           Product: kdesktop
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs kde org
        ReportedBy: odoepner gmail com


Version:            (using KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

When I create a Desktop shortcut that has its "Command" set to "firefox" then /usr/bin/firefox, even though PATH=/usr/local/bin:/usr/bin and entering "firefox" on the commandline (bash) starts /usr/local/bin/firefox.

A desktop shortcut (*.desktop file) with Exec=[command] should execute exactly the same file as when I issue "[command]" in a shell.

In particular, I expect KDE to respect my PATH environment variable, i.e. if PATH=/usr/local/bin:/usr/bin and there are executable files /usr/local/bin/firefox and /usr/bin/firefox, then a Desktop shortcut with the command set to "firefox" should execute "/usr/local/bin/firefox" and _not_ "/usr/bin/firefox".



More information about the Unassigned-bugs mailing list