Edit as Root

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5.0
Description:

I took inspiration from Open as root, http://www.kde-look.org/content/show.php?content=11227 to create this.
Unpack in $KDEDIR/share/apps/konqueror/servicemenus/ and it will be easier to edit your configuration file!
Suggestions and comments will be appreciated!
Last changelog:

14 years ago

04-07-04 Version 0.4
Due to someone's problems in opening file, i've re-packed in zip format.
I also added a couple of translations (thank's for your suggestions)

22-05-04 Version 0.3
Bugfix:
Solved problem editing files whit spaces in name (Ex. "my file.txt")
Thanx to Joao Inacio for reporting and solving bug

18-04-04 Version 0.2
Added german translation
Added readme

11-04-04 Version 0.1
First release.
Happy Easter!

yoge

12 years ago

Thanks.

Translated to swedish

Name[sv]=Redigera som root

Report

estevam

13 years ago

Name[pt_BR]=Editar como Root

Report

linux3114a

13 years ago

write a tarball it's more easy to create after a RPM for novice

Report

oliwer

14 years ago

After installing your useful mod, I noticed a strange behaviour : when I right-click on a text file I see "Edit as root" two or three times.
One time is enough I think.

Any idea ?

Report

reyneke

14 years ago

Hi.
Is there a way to use another editor than kwrite. I don't have it installed.

Thanks for writig this menue anyway.

Report

C

gammaknife

14 years ago

Open "edit as SU.desktop" file with a text editor.
In the last line change "kwrite" with the program you prefer.
Bye
gK

Report

IceBryce

14 years ago

so many times i wish this worked for me

path for Mandrake 10.0 users is

/usr/share/apps/konqueror/servicemenus/

so i logged in as su in Terminal

cp -f /wherethefile is/edit\ as\ SU.desktop /usr/share/apps/konqueror/servicemenus/

BAM... done!

Report

randomcasualty

14 years ago

Cool, much easier to access those root needed files. Downloaded no problem and worked first time ;)

Report

MakhBeth

14 years ago

Oh, it's a very good work, I had the same idea, but your work is perfect. Tnx. Good job ^^
ciao ciao °°

Report

mahurin

14 years ago

Could please add translation to Brazilian Portuguese.

Name[pt_BR]=Editar como Root

It's the same as Spanish.

Thanks.

Report

SDWillie

14 years ago

i noticed the "edit as root" option only comes up when right clicking on desktop icons. thats not what you meant for it to be right?

Report

SDWillie

14 years ago

i followed the route and installed it in my home directory right next to another service menu item(the attach to email one from this site which worked fine) but it doesnt show up in konqueror when i right click on any file in "/"

i even tried putting this in /usr/share/apps/konqueror/servicemenus but is still wont show up. this is on fedora core 1. any ideas?

Report

RND

14 years ago

Just whats needed, I frequently need to open kwrite as root.

Downloaded without any problem.

Report

Courthold

15 years ago

I've tried to download this on different browsers on different machines and it still appears corrupt - does anyone have a mirror?

Report

sebsebseb

14 years ago

still corrupt as of 30.06.2004

Report

Yama

15 years ago

Same problem here.

Report

bisley

15 years ago

Name[es]=Editar como Root

Report

LaFleche

15 years ago

Name[fr]=Editer en tant que Root

Report

rolot

15 years ago

On my system I added the following:


ServiceTypes=text/*,application/x-desktop

Report

o311usmc

15 years ago

Very helpfull! This will get a lot of use. :)

Report

iNs4ne

15 years ago

Very simple, and imho a must-have :)

there's a bug: when editing a file "my file" (with space) it will edit "my" and "file" in 2 windows

bugfix:

edit "edit as SU.desktop":
replace the line
Exec=kdesu "kwrite %U"
with
Exec=kdesu "kwrite" "%U"

Cheers
Joao Inacio

Report

smileaf

15 years ago

Instead of just having it only let you run it as root. why not let the user pick ANY file to be ran as ANY user.
this would allow users to not only edit files as any user they want.. but also run any program or whatever as any user they wanted.
for example, yesterday I was logged in under my account.. but wanted to run kopete as a different user..
to do this I had to give access to my X server.. then log in as that user.. then run kopete. (I understand that I could have done this with the run command dialog but I wasn't thinking at the time.. it was late :P)

Report

amykhar

15 years ago

I have been trying to figure out how to get this addon to allow me to edit .php files as root.

I tinkered with the control center and adding .php to the text section, but it didn't seem to work.

Can it be done, and if so, how?

Report

amykhar

15 years ago

never mind. With a bit of help from google, I figured it out.

simply add ,application/x-php after text/* and all is well.

Amy

Report

legluondunet

15 years ago

This last weeks, we seen on kde-look.org differents kde actions like "run as root","edit as root", "print openoffice document"...Myself I'm using several of his actions in my kde menu and I find them very useful, "indispensables". But I think all these actions have to be concentrate. For example, I think "run and edit as root" could be the same action if in the script you made you could identify if it is a program or a file and so call the right action with kdesu. Perrahps you could work with the man who did execute as root? Or for "print openoffice document", why not use a simply Print this action? print appears in action document for all text files or kdetext file but openoffice. It will be better to obtain print action appears for openoofice files too than add more action? I think after multi action choice step,there will be synthetic action choice.

Report

14 years ago

04-07-04 Version 0.4
Due to someone's problems in opening file, i've re-packed in zip format.
I also added a couple of translations (thank's for your suggestions)

22-05-04 Version 0.3
Bugfix:
Solved problem editing files whit spaces in name (Ex. "my file.txt")
Thanx to Joao Inacio for reporting and solving bug

18-04-04 Version 0.2
Added german translation
Added readme

11-04-04 Version 0.1
First release.
Happy Easter!

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
updated Jul 04 2004
added Apr 13 2004
downloads today
0
page views today 5
System Tags addon