View Single Post
Old 11-01-2007, 09:52 AM   #3
daudi
Addict
daudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-books
 
Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Kent, UK
Device: iRex iLiad, Psion 5MX, nokia n800
Here's the script for creating the shortcut. There's one thing that needs to be redefined at the top of the script. This is a variable that says where the USB device is mounted on the host PC. In my case it is:

PCMOUNTDIR="/media/UDISK\ 2.0"

To use this on a machine that uses the gnome desktop, e.g. a standard ubuntu, just unzip this file to the ~/.gnome2/nautilus-scripts/ directory. Then once you have edited the above variable, insert the usb key, open the file manager, find a PDF container directory, right click, select scripts and choose "Create shortcut".

I plan to see if I can get this to work on windows with a copy of bash.exe and sed.exe. Eventually.
Attached Files
File Type: zip shortcut.zip (2.3 KB, 711 views)
daudi is offline   Reply With Quote