desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #152150
[Bug 1490337] Re: Doubleclicking some.desktop file returns wrong %k variable
Thanks for reporting this problem! I was able to replicate this bug in
Thunar 1.6.10, as well as in Nautilus 3.14.2, but PCManFM does not have
this problem, as said in the report.
** Also affects: nautilus (Ubuntu)
Importance: Undecided
Status: New
** Changed in: thunar (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1490337
Title:
Doubleclicking some.desktop file returns wrong %k variable
Status in nautilus package in Ubuntu:
New
Status in thunar package in Ubuntu:
Confirmed
Bug description:
I have the following backup.desktop file on my removable HDD
[Desktop Entry]
Type=Application
Name=Start Backup
Exec=bash -c '%k/.backup.sh;$SHELL'
OnlyShowIn=GNOME;Unity;MATE;LXDE;
Icon=lxterminal
Terminal=true
X-KeepTerminal=true
StartupNotify=true
as it says here: http://standards.freedesktop.org/desktop-entry-
spec/latest/ar01s06.html
%k The location of the desktop file as either a URI (if for
example gotten from the vfolder system) or a local filename or empty
if no location is known.
doubleclicking it in PcmanFM acts as its expected - it opens
lxterminal and runs .backup.sh
while the same in Thunar returns:
bash: /media/z/ZVs_WHITE/StartBackup.desktop/.backup.sh: Not a directory
error happens in %k as it should return just path to some.desktop file
instead it returns path+some.desktop in Thunar.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1490337/+subscriptions