/usr/local/bin/composer
Code: Select all
#!/bin/sh
seamonkey -edit "`readlink -f $1`"
Code: Select all
composer index.html
If you copy the file
Code: Select all
/usr/share/applications/seamonkey.desktop
Code: Select all
/usr/share/applications/composer.desktop
Code: Select all
[Desktop Entry]
Name=Seamonkey
GenericName=Seamonkey Web Browser
X-GNOME-FullName=Seamonkey Web Browser
Exec=composer
Icon=/opt/seamonkey/chrome/icons/default/default48.png
Terminal=false
Type=Application
Categories=X-Internet-browser
Code: Select all
~/.config/rox.sourcefordge.net/SendTo
However, It doesn't quite work. I seem to get the path twice:
Code: Select all
The file /root/spot/PT/s243a/recomendations-old-hardware/item216383838%0A/root/-%0A/root/Recommendations%0A/root/For%0A/root/Old%0A/root/Hardware.html cannot be found. Please check the location and try again.
Notes
---------------------
1. You can get a terminal to a local folder by pressing the tilda sign "~" when in that folder in the rox file manager.
2. As an alternative to navigating to the folder "~/.config/rox.sourcefordge.net/SendTo" one can right click on the file, then select "sent to" and then select customize. This will open a folder where you can put scripts that will be called when you right click on the file. Normally one would put a symbolic link to the script in this folder rather then the entire script in order to avoid duplication.