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.
Content of $HOME/. gnome2/ nautilus- scripts/ expose SCRIPT_ SELECTED_ FILE_PATHS" >> $report SCRIPT_ SELECTED_ FILE_PATHS >> $report SCRIPT_ SELECTED_ URIS" >> $report SCRIPT_ SELECTED_ URIS >> $report SCRIPT_ WINDOW_ GEOMETRY" >> $report SCRIPT_ WINDOW_ GEOMETRY" >> $report SCRIPT_ CURRENT_ URI" >> $report SCRIPT_ CURRENT_ URI -- " >> $report
#!/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_
echo $NAUTILUS_
echo "NAUTILUS_
echo $NAUTILUS_
echo "NAUTILUS_
echo "$NAUTILUS_
echo "NAUTILUS_
echo "$NAUTILUS_
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 SCRIPT_ SELECTED_ FILE_PATHS ScratchPad /home/doug/space2 space2 /home/doug/space space SCRIPT_ SELECTED_ URIS /home/doug/ ScratchPad file:// /home/doug/ space2% 20%20space2 file:// /home/doug/ space%20space SCRIPT_ WINDOW_ GEOMETRY SCRIPT_ CURRENT_ URI
Arg1 is ScratchPad
Arg2 is space2 space2
Arg3 is space space
NAUTILUS_
/home/doug/
NAUTILUS_
file://
NAUTILUS_
847x753+767+72
NAUTILUS_
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.