kdesu and bash-completion ( Solved)
Joan Tur
joantur at cancullet.org
Sat Jan 14 16:53:38 UTC 2006
Hallo!
Thanks for the tip!! ;)
Es Dissabte, 14 de Gener de 2006 11:11, en Reuben Kagan va escriure:
| First of all, take a look at this :
|
| http://www.debian-administration.org/articles/317
|
| so, what we cold learn from it:
| 1. open ~/.bashrc, go down to the end of the file and uncomment
| if [ -f /etc/bash_completion ]; then
| . /etc/bash_completion
| fi
| from that point, sudo has sane comletion, but not kdesu.
| so , create new file
| /etc/bash_completion.d/kdesu
| and put one line there:
| complete -F _root_command $filenames kdesu
|
| that's all, you need to resource /etc/bash_completion
| in opened shells, obviously
|
| Reuben.
|
| >On Thursday 12 January 2006 20:47, Art Alexion wrote:
| >> Merv Curley wrote:
| >> >Entries in the K Menu work fine, eg kdesu kate
| >>
| >> Not on my [breezy] system. "kdesu ka<tab>" does not expand to kate
| >> or anything at all.
| >
| >Neither does it on mine. Bute kdesu kate sure works.
| >
| >> >Since I have root enabled, I just change Konsole to root [ su -
| >> > ] and run the command.
| >> >
| >> >I have little use for Ubuntu policy re root.
| >>
| >> Well, if you are doing that, there is no point in using kdesu.
| >
| >I use kdesu when using the K Menu entries. eg Konq or Kate in admin
| >modes. I don't use kdesu from the command line.
| >
| >> I've grown to like sudo and its gui offshoots.
| >
| >To each his own. Thats the nice thing about Linux.
|
| --
| __________ ___.
| \______ \ ____ __ _\_ |__ ____ ____
|
| | _// __ \| | \ __ \_/ __ \ / \
| |
| | | \ ___/| | / \_\ \ ___/| | \
| |
| |____|_ /\___ >____/|___ /\___ >___| /
|
| \/ \/ \/ \/ \/
--
Joan Tur (aka Quini), Eivissa-Spain
Jabber: quini2k at jabber.org
Yahoo & AIM: quini2k
www.ClubIbosim.org
Linux: usuari registrat 190.783
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060114/ec841637/attachment.sig>
More information about the kubuntu-users
mailing list