On 28/12/11 21:11, Tony van der Hoff wrote: > On 27/12/11 20:05, Don Juan wrote: >> On 12/27/2011 07:49 AM, Tony van der Hoff wrote: >>> Bump this - Has anyone any suggestions, please? >>> >>> -------- Original Message -------- >>> Subject: Running kwrite with root privelige >>> Resent-Date: Sat, 24 Dec 2011 14:21:08 +0000 (UTC) >>> Resent-From: debian-user@lists.debian.org >>> Date: Sat, 24 Dec 2011 13:46:29 +0000 >>> From: Tony van der Hoff <t...@vanderhoff.org> >>> To: debian-user@lists.debian.org >>> >>> Having done a bare-metal squeeze (KDE) reinstall after a major disk >>> screw-up, things are just about working as they used to. One weird >>> thing, however, which I fine seriously annoying: >>> >>> I can call sudo dolphin, which works as expected, and gives me root >>> privs.
Just out of curiosity.... why?? (No I'm not going to give you a lecture about the security risks - it's your machine) >>> From this point, I used to be able to double-click on a text file >>> to open it with root privs. I can no longer do so; the error message >>> being "KDEInit could not launch '/usr/bin/kwrite'." >> Couldn't you just use dolphin as root then just double click the file >> you want to open and if Kwrite is the default text editor should open >> just fine. Just worked for me but also sudo kwrite <file> works from >> command line for me as well. >> >>> >>> I can call "sudo kwrite <file>"; thus have a work-round, but does anyone >>> know how to allow me to invoke it from dolphin? >>> >>> Cheers, Tony >> You could also use kdesu as well, I recently switched to using that >> overs sudo for those things. >> >> man kdesu >> >> Sorry if I miss understood what you were asking. Hope this helps some. >> >> > Thanks; I'm not entirely sure that it'll help, but I'm willing to try. > However, kdesu doesn't seem to appear in the standard squeeze > repositories; any clues as to where to find it? > > I don't believe it's a standalone anymore. You can invoke it eg.:- $ su-to-root -X -c /usr/bin/kwrite Cheers -- Iceweasel/Firefox extensions for finding answers to Debian questions:- https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4efaf3da.9080...@gmail.com