From kde-core-devel Tue Jul 03 07:28:12 2001 From: Simon Hausmann Date: Tue, 03 Jul 2001 07:28:12 +0000 To: kde-core-devel Subject: Re: kxkbd default ? X-MARC-Message: https://marc.info/?l=kde-core-devel&m=99414540605953 On Mon, Jul 02, 2001 at 06:01:26PM -0400, Ellis Whitehead wrote: > I agree with Dirk that it should be off by default and respect the X > settings. However, I think there may be a little bit of a misunderstanding > here. It looks like it's on in kcontrol ONLY (since at least January), but > always off by default in kxkb itself. > > >From kdebase/kxkb/kcmlayout.cpp > bool use = config->readBoolEntry( "Use", true ); > > >From kdebase/kxkb/kxkb.cpp: > if (config->readBoolEntry("Use", false) == false) > > So it seems that as long as the user doesn't go peaking around in kcontrol | > Peripherals | Keyboard, it won't be turned on. Checkout > kdebase/kxkb/kxkb.cpp & kdebase/kxkb/kcmlayout.cpp if you're interested. > Lubos made it possible to shut it off in kcontrol back in April. > > I'll take the liberty of committing the following patch to line 177 of > kcmlayout.cpp in order to bring it in line with what's really happening in > kxkb. > > - bool use = config->readBoolEntry( "Use", true ); > + bool use = config->readBoolEntry( "Use", false ); Ooops > BTW, the Print key will now work as a global shortcut independent of kxkb > being turned on or off. Great! Thanks for your work on all this keyboard stuff! Bye, Simon