On Monday 20 October 2003 23:18, Adolfo A. Bello B. wrote: > On Mon, Oct 20, 2003 at 11:11:22PM +0200, H.J.Bathoorn wrote: > > I did some pre-hunting;) > > > > There's a file "/etc/sysconfig/keyboard" that gets read by > > "/etc/init.d/keytable" and sets the keytable. > > This does need to be done in su/root status, though! > > > > So make a bash script (which you link to a key event or give a very > > short name that makes sense to you) that writes to > > /etc/sysconfig/keyboard and then initializes with "service keyboard > > restart". > > > > Good luck, > > HarM > > HarM: > > Thanks a lot. I will give it a try tonight and let you know. > > See you around, > > Adolfo I didn't get a chance to see how KDE does it (i.e. on user level) so maybe there's a place to look into. Then again, changing a keyboard layout doesn't really have to be restricted to su/root IMO.
Good hunting, HarM -- Registered Linux User #197998 FSF Associate Member #901 ICQ #146191606 Mandrake HowTo's & more: http://twiki.mdklinuxfaq.org
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
