This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Key become stickless

Tags: None
(comma "," separated)
User avatar
pavel
Registered Member
Posts
134
Karma
1
OS

Key become stickless

Tue Apr 07, 2009 4:10 am
I have enabled autologon feature in my KDE 4.2 (I use kdm4).

So, when the KDE is logged on automatically, my keys (on keyboard) become stickless. I mean than when I press and hold one key, only one symbol is produced. After this, I relogin manually (through logout). In my second KDE session, keyboard works well and produce numerous symbols while holding a key on keyboard.

That is why I have to relogin every mourning. It's very annoying.


pavel, proud to be a member of KDE forums since 2008-Dec.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Key become stickless

Tue Apr 07, 2009 4:34 am
You can also toggle the setting in System Settings > Keyboard & Mouse > Keyboard which will also correct it.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
pavel
Registered Member
Posts
134
Karma
1
OS

RE: Key become stickless

Tue Apr 07, 2009 4:49 am
bcooksley wrote:... in System Settings > Keyboard & Mouse > Keyboard ...


I do not have such a menu - Keyboard. In Keyboard & Mouse I have only one menu for mouse, one for joystick and two for keyboard shortcuts.

I remember, that I saw such a settings earlier, in KDE3. But I cannot find it now in KDE4


pavel, proud to be a member of KDE forums since 2008-Dec.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Key become stickless

Tue Apr 07, 2009 5:18 am
Does this command open the Keyboard control module?
Code: Select all
kcmshell4 keyboard


If that doesn't work, try rebuilding the Sycoca, then try again:
Code: Select all
kbuildsycoca4 --noincremental


If it still doesn't work, please ensure that the following package is installed, and updated:
Code: Select all
kdebase4-workspace


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
pavel
Registered Member
Posts
134
Karma
1
OS

RE: Key become stickless

Tue Apr 07, 2009 5:32 am
bcooksley wrote:Does this command open the Keyboard control module?
Code: Select all
kcmshell4 keyboard


No, it does not execute something

Code: Select all
> kcmshell4 --list | grep key
keys                  - Настройка комбинаций клавиш
keyboard_layout       - Раскладка клавиатуры

Sorry for cyrillic letters - I have russian localization.
bcooksley wrote:If it still doesn't work, please ensure that the following package is installed, and updated:kdebase4-workspace

I have installed it and keep the latest version with everyday-update from KDE4:/Factory
Code: Select all
> rpm -qa | grep kdebase4
kdebase4-openSUSE-11.1.1-69.3
kdebase4-workspace-branding-openSUSE-11.1-66.4
kdebase4-libkonq-4.2.2-79.8
kdebase4-openSUSE-lang-11.1.1-69.3
kdebase4-workspace-devel-4.2.2-217.2
kdebase4-session-4.1.3-2.1
kdebase4-runtime-4.2.2-94.2
kdebase4-workspace-4.2.2-217.2
kdebase4-nsplugin-4.2.2-79.8
kdebase4-workspace-ksysguardd-4.2.2-217.2
kdebase4-4.2.2-79.8


pavel, proud to be a member of KDE forums since 2008-Dec.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Key become stickless

Tue Apr 07, 2009 8:30 am
What is the output of this command please?
Code: Select all
find /usr/lib/kde4 | grep keyboard


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
pavel
Registered Member
Posts
134
Karma
1
OS

RE: Key become stickless

Tue Apr 07, 2009 9:20 am
bcooksley wrote:What is the output of this command please?


The outpyt is very interesting :)
Code: Select all
> find /usr/lib/kde4 | grep keyboard
/usr/lib/kde4/kcm_keyboard.so
/usr/lib/kde4/kcm_keyboard_layout.so
>


Nevertheless, there is no module named keyboard in the output of
Code: Select all
kcmshell4 --list


pavel, proud to be a member of KDE forums since 2008-Dec.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Key become stickless

Tue Apr 07, 2009 12:04 pm
Very interesting. Now what is the output of this command:
Code: Select all
find /usr/share/kde4/ | grep keyboard


If my suspicions are correct you will recieve a /usr/share/kde4/services/keyboard.desktop entry.

In that case, please run this command:
Code: Select all
kbuildsycoca4 --noincremental


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
pavel
Registered Member
Posts
134
Karma
1
OS

RE: Key become stickless

Wed Apr 08, 2009 4:05 am
bcooksley wrote:Very interesting. Now what is the output of this command:
find /usr/share/kde4/ | grep keyboard

If my suspicions are correct you will recieve a /usr/share/kde4/services/keyboard.desktop entry.



Yes, your suspicions are correct
Code: Select all
> find /usr/share/kde4/ | grep keyboard
/usr/share/kde4/services/keyboard.desktop
/usr/share/kde4/services/settings-keyboard-and-mouse.desktop
/usr/share/kde4/services/keyboard_layout.desktop
>



bcooksley wrote:In that case, please run this command:
kbuildsycoca4 --noincremental

I tried it. It takes no effect, but there is a lot of output with errors like this:
Code: Select all
...
kbuildsycoca4(5282)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/misc.desktop"
kbuildsycoca4(5282)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_devices.desktop"  has Type= "Application"  but no Exec line
...

Nothing about keyboard in the output


pavel, proud to be a member of KDE forums since 2008-Dec.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Key become stickless

Wed Apr 08, 2009 6:46 am
The control module should have appeared after running that command. Note that you will likely need to restart System Settings for it to be seen.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
pavel
Registered Member
Posts
134
Karma
1
OS

RE: Key become stickless

Wed Apr 08, 2009 1:01 pm
bcooksley wrote:The control module should have appeared after running that command. Note that you will likely need to restart System Settings for it to be seen.


The keyboard works good after todays update of KDE. But I steel lack the keyboard module in kcmshell4 (also after full PC reboot).


pavel, proud to be a member of KDE forums since 2008-Dec.
User avatar
Ahmad Samir
Registered Member
Posts
127
Karma
0
OS

RE: Key become stickless

Wed Apr 08, 2009 9:14 pm
Do you have Gnome installed along side KDE? if so then it's a bug: http://bugs.kde.org/show_bug.cgi?id=169710

The workaround is to rename /usr/share/application/keyboard.desktop to anything-keyboard.desktop then log out > log in.
User avatar
pavel
Registered Member
Posts
134
Karma
1
OS

RE: Key become stickless

Thu Apr 09, 2009 4:15 am
Thanks, I made the keyboard module to appear. But the keyboard became stikless on my todays startup again.

In kcmshell4 keyboard I just unset and set "Enable keyboard repeat" and pressed "Apply" to enable keyboard repeat. Note, that the checkbox was set (checked).

Now I do not need to relogin :). But the unconvenience remains.


pavel, proud to be a member of KDE forums since 2008-Dec.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Key become stickless

Thu Apr 09, 2009 4:42 am
Unfortunately I do not know how Keyboard Key repeating works, but there is probably some Xorg command which can be run which will correct it, and which can be run on login.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

RE: Key become stickless

Thu Apr 09, 2009 4:53 am
Code: Select all
xset r


My keyboard repeat also gets unset from time to time (while I use the computer). I don't know if it's KDE's fault, but there's a bug for it here.

It's very annoying to have to go to KControl to enable it all the time, so I've set a keyboard shortcut to runs command above. Ah yes. This is in KDE 3.5.x.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft