Public bug reported: 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. ** Affects: thunar (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1490337 Title: Doubleclicking some.desktop file returns wrong %k variable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunar/+bug/1490337/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs