[Bug 16591] New: Scripts don't work on desktop

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Thu Sep 29 04:44:59 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=16591
Ubuntu | nautilus

           Summary: Scripts don't work on desktop
           Product: Ubuntu
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: nautilus
        AssignedTo: seb128 at ubuntu.com
        ReportedBy: vetsel.patrice at wanadoo.fr
         QAContact: desktop-bugs at lists.ubuntu.com


Look this simple script :

#!/bin/bash
zenity --title "NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" --info --text
"$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"

Put it on ~/.gnome2/nautilus-scripts. It show us an environment variable.
If you launch it under nautilus it work. Showing the location of the file(s)
selected.

But it don't work if you launch it on file(s) directly on Desktop (without
directly using nautilus). If you use nautilus to go in your /home/~/Desktop the
script  work.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list