Posted: Mon 25 Dec 2017, 18:53 Post subject:
Open a File in Seamonkey Composer
Create the short script
seamonkey -edit "`readlink -f $1`"
Now say I have a file called index.html. If I'm in that folder , I can type
to open the file. Next we would like to be able to right click an item and select open with composer.
If you copy the file
and rename it
and replace the part after the "=" sign where it says exec with "composer" as follows:
GenericName=Seamonkey Web Browser
X-GNOME-FullName=Seamonkey Web Browser
then one would think that we can just drag this file into the folder 
to make this script work when we right write click the file.
However, It doesn't quite work. I seem to get the path twice:
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.
I'll try to fix this and report back.
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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum