Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am trying to figure out which file is it to modify the Solaris 10 JDS desktop right-click menu. I have been able to modify the menu from the Launch button but having trouble locating the files for the right-click menu from the desktop. Has anyone done this before?
Create the directory ~/.gnome2/nautilus-scripts and put there scripts that will launch the application you want to add to the right click menu. They will appear in the script sub-menu.
What if I didn't want the right-click menu to pop-up? I want to deny access to the open terminal window from the desktop right-click menu to regular users. Either remove the selection or remove the menu all together.
Thank you for helping me out! I was able to modify and remove "Open Terminal" from the right-click menu but now I would like to add a menu selection. A program that was installed such as Open Office or some other program. I tried to mimic other lines in the nautilus-desktop-icon-view-ui.xml file but had no luck. Here is an example of what I put.
<cmd name="/full/path/to/program"
-label="Program N_ame"
-tip="Opens the Program"/>
After logging off and logging back in I get an Error message.
"The Application "nautilus" has quit unexpectedly. You can inform the developers of what happened to help them fix it. Or you can restart the application right now."
Is there some other file that needs to be modified in order to add an program to the desktop right-click menu?
As far as I know, the supported way to add custom entries is through the nautilus script directory. The name attribute in the cmd tag is obviously not something designed to contain a path to a command.
Is there a global directory to put the nautilus script instead of ~/.gnome2/nautilus-scripts. If I could avoid having to put the nautilus scripts in each users home dir, I will just to make things easier and I can put the nautilus scripts in one dir for all users to see.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.