Doubleclicking some.desktop file returns wrong %k variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
thunar (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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.
OnlyShowIn=
Icon=lxterminal
Terminal=true
X-KeepTerminal=true
StartupNotify=true
as it says here: http://
%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/
error happens in %k as it should return just path to some.desktop file instead it returns path+some.desktop in Thunar.
Changed in thunar (Ubuntu): | |
assignee: | nobody → kentzversky (zvsmailrelay) |
description: | updated |
Changed in thunar (Ubuntu): | |
assignee: | kentzversky (zvsmailrelay) → nobody |
affects: | thunar (Ubuntu) → exo (Ubuntu) |
affects: | exo (Ubuntu) → thunar (Ubuntu) |
Changed in nautilus (Ubuntu): | |
status: | Incomplete → Invalid |
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.