chris z Posted August 28, 2004 Report Share Posted August 28, 2004 (edited) don't know if anybody would be interested in this, or if it's been mentioned before. (if it has, then please delete this post, oh Mod Gods :P ) here's a link to a Tutorial on how to add options to the drop down menu's in KDE when you right click on something. i followed the example they give & it worked like a charm. following the tutorial mentioned above, i wrote 2 service menu scripts that might be useful for the GUI addicted, lazy folk (like me). feel free to modify them as you wish. this one will add an "open as root" option under "actions" in the right click drop down menu. no need to go into konqueror superuser mode anymore if ya don't want to, with this......... [Desktop Entry] ServiceTypes=inode/directory,inode/directory-locked Actions=Openassu [Desktop Action Openassu] Name=Open as Root Icon=kfm Exec=kdesu "konqueror --profile filemanagement %U" and, this one will add a "run as root" option in the same place........... [Desktop Entry] ServiceTypes=application/x-executable,application/x-shellscript,application/x-python,application/x-perl Actions=runassu [Desktop Action runassu] Name=Run as Root Icon=kfm Exec=kdesu -c copy & paste those (seperately) to a text editor (kwrite, etc.) do "save as", name it whatever you like, but just make the file name end with .desktop. (IE: "save as", runasroot.desktop) then, save the file into /home/(username)/.kde/share/apps/konqueror/servicemenus. note, the /.kde directory is hidden by default, so you need to go to (in konqueror file manager) "view" in the top tool bar & put a check besides "show hidden files". enjoy.......... Chris Edited August 28, 2004 by chris z Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.