|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Tips, Tricks & Tweaks Post your tips, tricks and tweaks about SuSE Linux in here. Please do not ask questions here - this is for factual information |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
While answering a question on the Forums I tried this out. It can be a handy way to bring up an editor in Super User mode without having to go through console. First right click on Desktop, select Create New>Link to application. Name your Link something appropriate.
[attachmentid=2204] Pick an Icon by clicking on the icon button Now under Application Tab enter the command for the editor program. Using Kdesu to set it as Super User. [attachmentid=2205] Now when you click the Icon you will be asked for root password and the Editor opens. |
|
|||
|
I don't edit a large number of files as root. However the occasion does arise such as needing to edit xorg.conf when I install a new video driver. When I do that I usually do it by opening up the superuser Konqueror, navigating to the file and opening it from there just because I'm used to navigating to files in the non root konqeror that way on an everyday basis.
I would like the ability to right click an item such as xorg.conf in a standard non root file browser and have the option to open it with whatever editor I chose as root. |
|
|||
|
|
|
|||
|
Quote:
[attachmentid=2208] [attachmentid=2209] If you prefer Kwrite use Kdesu kwrite. |
|
|||
|
Quote:
Right click on a text file/Open With/Other... Enter kdesu kate in "Open With" and check the "remember" box, then OK. At this point, the association worked but it appeared in the "Open with" menu as kdesu. In konqueror, I then went back to Settings/Configure konqueror/File Assosciations. In known types/text/plain, I found the new entry, kdesu. I edited the application name to read "Edit as root". I then noticed "Edit as root" appeared as an entry for a number of the text types. I opted to change order of preference for some of these as "Edit as root" came first on the lists. |
|
|||
|
Hm, I see you crated the icon for 'Super User Kate'? What if you are a super user, but your name is not Kate, but, say Kurt, does your method still work then?? :unsure:
|
|
|||
|
Quote:
Come on people this was not meant to be earth shaking its just a tip if somebody had not thought of it. I had always used a console with kdesu kate in the past but by creating a link it saves a few steps. Thanks Jon Freeman for the hints towards using konqueror to accomplish what Scott was asking. |
|
|||
|
Quote:
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|