Thank you for taking the time to report this bug and helping to make Ubuntu 
better. Please execute the following command only once, as it will 
automatically gather debugging information, in a terminal:
apport-collect 1490337

When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://wiki.ubuntu.com/ReportingBugs.

** Changed in: nautilus (Ubuntu)
       Status: New => Incomplete

-- 
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:
  Incomplete
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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to