! 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 !
support for Path= key in .desktop files
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Brian J. Tarricone (not reading bugmail) 2007-08-17 16:58:15 CEST
Path= tells libxfce4menu/xfdesktop the working directory where the app should be started.

See:
http://wiki.xfce.org/more_freedesktop.org_desktop_entry_specification_support
Comment 1 Brian J. Tarricone (not reading bugmail) 2007-10-21 09:40:13 CEST
Jannis, I'll need some help from you here...
Comment 2 Jannis Pohlmann editbugs 2007-10-21 11:57:21 CEST
I just committed support for Path keys to SVN (revision 26170).
Comment 3 Brian J. Tarricone (not reading bugmail) 2007-10-22 05:08:23 CEST
Dammit.  xfce_exec() doesn't support setting the command's working directory.  Sigh, I'll have to look this it later.
Comment 4 business.kid 2009-07-24 14:22:21 CEST
This exact line

env WINEPREFIX="/home/declan/.wine" wine "C:\Program Files\Watchtower\Watchtower Library 2008\E\WTLibrary.exe" 

In a desktop icon doesn't work in xfce, whereas it seems to work in all otther browsers. It's the same problem: Environment variables not being passed on to the command line. You can see people are giving explicit instructions as workarounds for this

http://appdb.winehq.org/objectManager.php?sClass=version&iId=14956 - Look for xfce.
Comment 5 Brian J. Tarricone (not reading bugmail) 2009-07-24 21:06:32 CEST
(In reply to comment #4)
> This exact line
> 
> env WINEPREFIX="/home/declan/.wine" wine "C:\Program
> Files\Watchtower\Watchtower Library 2008\E\WTLibrary.exe" 
> 
> In a desktop icon doesn't work in xfce, whereas it seems to work in all otther
> browsers.

That problem has nothing to do with this bug.  Please open a new one if you are having issues.
Comment 6 Brian J. Tarricone (not reading bugmail) 2009-11-21 22:31:51 CET
*** Bug 6011 has been marked as a duplicate of this bug. ***
Comment 7 Ambroz Bizjak 2011-02-17 23:29:17 CET
Created attachment 3479 
Thunar patch to support the Path attribute in desktop files

This patch adds support for the Path key. It makes my Wine shortcuts work.

Bug #3472

Reported by:
Brian J. Tarricone (not reading bugmail)
Reported on: 2007-08-17
Last modified on: 2013-11-27
Duplicates (1):
  • 6011 xfce ignores the Path key in .desktop files

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
4 users

Version

Attachments

Additional information