Post how to add a menu in the context menu(right click)
how can i add a menu in the context menu(right click)..Like creat folder..open terminal
i got som reference from search engine....
but not able to do it...
kindly any one guide..
01052007 View user's profile Send private message Yahoo Messenger ICQ Number
Joined: 02 May 2007
Reply with quote
The only way I know is to create a script in the '.gnome2/nautilus-scripts/' folder in the home folder. So for example I have a script which launches the GNOME terminal in a selected directory if I right-click and select 'Lanch Console Here!' in the scripts submenu.
'Launch Console Here!' file contents:
gnome-terminal --working-directory=`echo "$NAUTILUS_SCRIPT_CURRENT_URI" | cut -c8-`
01052007 View user's profile Send private message
Joined: 01 May 2007
Reply with quote Edit/Delete this post Delete this post
Post how to add a menu in the context menu(mouse right click)
thanx a lot...
my dear friends i have written a GUI application which will copy the files to a specfied location as per the user requirement on Simple gui application. when it will execute. i want to make it more easier to the user for executing it.
i want that when a user right click on a file my application menu will come in the context menu list( pop up menu) like.. copy ,, paste etc..
and when the user click on this menu my application should b executed...
How can i do it..
please guide me