Content of $HOME/.gnome2/nautilus-scripts/expose #!/bin/tcsh set report = $HOME/expose.txt echo >> $report date >> $report echo "Arg1 is $1" >> $report echo "Arg2 is $2" >> $report echo "Arg3 is $3" >> $report echo "NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" >> $report echo $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS >> $report echo "NAUTILUS_SCRIPT_SELECTED_URIS" >> $report echo $NAUTILUS_SCRIPT_SELECTED_URIS >> $report echo "NAUTILUS_SCRIPT_WINDOW_GEOMETRY" >> $report echo "$NAUTILUS_SCRIPT_WINDOW_GEOMETRY" >> $report echo "NAUTILUS_SCRIPT_CURRENT_URI" >> $report echo "$NAUTILUS_SCRIPT_CURRENT_URI -- " >> $report
I have selected three files in my home directory space\ space space2\ \ space2 ScratchPad This is the result of choosing scripts_expose with the right mouse button: Sat May 3 19:56:56 MDT 2008 Arg1 is ScratchPad Arg2 is space2 space2 Arg3 is space space NAUTILUS_SCRIPT_SELECTED_FILE_PATHS /home/doug/ScratchPad /home/doug/space2 space2 /home/doug/space space NAUTILUS_SCRIPT_SELECTED_URIS file:///home/doug/ScratchPad file:///home/doug/space2%20%20space2 file:///home/doug/space%20space NAUTILUS_SCRIPT_WINDOW_GEOMETRY 847x753+767+72 NAUTILUS_SCRIPT_CURRENT_URI Note that the arguments are correct. Note that the selected URI's properly show the URL-encoded double space in the file name. Note that the file paths have truncated the double space into a single space. The only document I have is "Ubuntu Hacks", O'Reilly, June 2006 which clearly says the files and URIs are new-line delimited in Hack 24. It appears that the current rule is to use a double space. -- Nautilus-scripts don't handle blanks in filenames properly https://bugs.launchpad.net/bugs/95519 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs