PDA

View Full Version : Add program launcher to nautilus right-click menu (Ubuntu 9.10)



martinrandau
October 13th, 2009, 02:04 PM
Due to the tricky title and problem description I will post a new thread instead. Please excuse me if this has already been solved or asked.

I want to add program launchers to the nautilus right-click menu so that when I right-click anywhere (desktop, in a folder, etc) I can at the top of the menu choose to launch firefox or a terminal for example.

Right now the right-click menu offers me to create a folder, a launcher and a document but if I choose launcher it will be created in the folder that I right-click on.

Any ideas?

bruno9779
October 13th, 2009, 02:07 PM
Try with this extension maybe

http://lifehacker.com/313371/add-custom-right+click-options-with-nautilus+actions

or better even, do it yourself on the CLI

http://ubuntu-tutorials.com/2006/12/29/right-click-to-launch-custom-scripts-with-nautilus-ubuntu-6061-610/

martinrandau
October 13th, 2009, 02:09 PM
Excellent! Thank you! Will mark this subject as solved then. :guitar:

martinrandau
October 13th, 2009, 02:17 PM
Although this will add the launchers at the scripts sub-folder.

Is it not possible to have it right at the top, above the 'Create Folder' entry? I want something like fluxbox offers, but I do not want to change window manager. Some icons to go with it would be cool as well.

I'm sure I can do it myself if someone just tells me where the config file for what order nautilus puts the right-click menu items. Or perhaps I need to edit the source code and recompile it?

I'm sure this change will add a lot of flexibility and speed for the standard ubuntu desktop user as well. Instead of moving your mouse all the way up to the panel you can just right-click and launch your application of choice.

martinrandau
October 13th, 2009, 03:32 PM
bump!

I think it's a nice idea and would like to get started asap! :)

martinrandau
October 13th, 2009, 08:47 PM
Found this nice workaround:

http://ubuntuforums.org/showpost.php?p=5493372&postcount=4

I also found that you can get the source code from nautilus-open-terminal and then start the ambitious project of rewriting that to also present firefox as an option. :P