trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: September 2011

Re: [trinity-users] kdesu in Trinity

From: David Hare <davidahare@...>
Date: Sun, 25 Sep 2011 15:03:44 +0100
On 25/09/11 14:53, Lisi wrote:
> On Sunday 25 September 2011 13:52:28 Mag. Dr. Nikolaus Klepp wrote:
>> If i remember right, kdesu is from KDE4, not trinity. Trinity comes with
>> kdesudo.
>
> No, you do not remember right.  KDE 3 has kdesu.  KDE 4 may also have it, I
> don't know.  But since KDE 3 has it, it seems not unreasonable to hope to
> find it in Trinity.  And it is incorrect to say that Trinity has kdesudo.  It
> may have some software installed, but it doesn't function.  I have just
> rechecked that. As I said in the first place, I would have to set sudo up to
> use it, and I don't want to do so.
>
> Anyhow, if you don't know a workaround, that's fine.  But someone else may.
> Asking whether anyone knows one is not an unreasonable request.
>
> The answer may well be no, and I shall be reduced to GNOME. :-(
>
> Lisi
>

There is a kdesu bug in TDE for Debian (probably because it was built 
from Ubuntu sources; Ubuntu always uses sudo.). There is a workaround (I 
posted this before but it was some time back) which works consistently 
here. I don't use sudo at all.

1.	apt-get purge kdesudo-trinity

2.	Create a file ~/.trinity/share/config/kdesurc with this text:

[super-user-command]
super-user-command=su

3	You will need to edit the menus for all Trinity root apps else 
dcopserver will crash. In the "command" box put:

kdesu trinity_app --nonewdcop

And uncheck "Run as different user"


 From then on you should be able to use normal kdesu (or gksu), I think 
I got that right. Let me know if you have any problems after, I might 
have the answer