[SOLVED] Keyboard only works in Kde and Xfce, not other wm
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sorry, I had thought that I had responded earlier. (Obviously, I didn't.)
The keyboard is provided by X, so the other window managers should just work. Have you tried running X with no xorg.conf file at all? If you try that, you can examine your /var/log/Xorg.0.conf file to see what type of keyboard your system thinks that it has. Mine, for example, looks like...
Code:
(II) config/hal: Adding input device USB Multimedia Keyboard
(**) USB Multimedia Keyboard: always reports core events
(**) USB Multimedia Keyboard: Device: "/dev/input/event7"
(II) USB Multimedia Keyboard: Found 1 mouse buttons
(II) USB Multimedia Keyboard: Found scroll wheel(s)
(II) USB Multimedia Keyboard: Found relative axes
(II) USB Multimedia Keyboard: Found absolute axes
(II) USB Multimedia Keyboard: Found keys
(II) USB Multimedia Keyboard: Configuring as mouse
(II) USB Multimedia Keyboard: Configuring as keyboard
(**) USB Multimedia Keyboard: YAxisMapping: buttons 4 and 5
(**) USB Multimedia Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "USB Multimedia Keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(EE) USB Multimedia Keyboard: failed to initialize for relative axes.
(**) USB Multimedia Keyboard: (accel) keeping acceleration scheme 1
(**) USB Multimedia Keyboard: (accel) acceleration profile 0
(II) USB Multimedia Keyboard: initialized for absolute axes.
(II) config/hal: Adding input device USB Multimedia Keyboard
(**) USB Multimedia Keyboard: always reports core events
(**) USB Multimedia Keyboard: Device: "/dev/input/event6"
(II) USB Multimedia Keyboard: Found keys
(II) USB Multimedia Keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "USB Multimedia Keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
...so maybe we can see what X is reporting when it comes up.
Sorry, I had thought that I had responded earlier. (Obviously, I didn't.)
The keyboard is provided by X, so the other window managers should just work. Have you tried running X with no xorg.conf file at all? If you try that, you can examine your /var/log/Xorg.0.conf file to see what type of keyboard your system thinks that it has. Mine, for example, looks like...
Code:
(II) config/hal: Adding input device USB Multimedia Keyboard
(**) USB Multimedia Keyboard: always reports core events
(**) USB Multimedia Keyboard: Device: "/dev/input/event7"
(II) USB Multimedia Keyboard: Found 1 mouse buttons
(II) USB Multimedia Keyboard: Found scroll wheel(s)
(II) USB Multimedia Keyboard: Found relative axes
(II) USB Multimedia Keyboard: Found absolute axes
(II) USB Multimedia Keyboard: Found keys
(II) USB Multimedia Keyboard: Configuring as mouse
(II) USB Multimedia Keyboard: Configuring as keyboard
(**) USB Multimedia Keyboard: YAxisMapping: buttons 4 and 5
(**) USB Multimedia Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "USB Multimedia Keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(EE) USB Multimedia Keyboard: failed to initialize for relative axes.
(**) USB Multimedia Keyboard: (accel) keeping acceleration scheme 1
(**) USB Multimedia Keyboard: (accel) acceleration profile 0
(II) USB Multimedia Keyboard: initialized for absolute axes.
(II) config/hal: Adding input device USB Multimedia Keyboard
(**) USB Multimedia Keyboard: always reports core events
(**) USB Multimedia Keyboard: Device: "/dev/input/event6"
(II) USB Multimedia Keyboard: Found keys
(II) USB Multimedia Keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "USB Multimedia Keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
...so maybe we can see what X is reporting when it comes up.
The only error was regarding fbdev.
Although that option was not present in xorg.conf, X tried to load it.
I've read that 13.0 deprecated the use of fbdev.
The only error was regarding fbdev.
Although that option was not present in xorg.conf, X tried to load it.
I've read that 13.0 deprecated the use of fbdev.
Luis
Well, I did not suggest that there was an error. I merely wanted to see what your system auto-discovered when you started X, after which we could find the minimum amount of stuff to add to your xorg.conf file.
For someone that has the same problem as I did, here is the solution.
Well, as the scrolling controls of the mouse where not working, I tried to solve the problem in another way.
I removed xorg.conf from /etc/X11/ as suggested.
Afterwards, I started a X session with kde and opened the keyboard manager. There was a command performed by kde:
setxkbmap -model pc105 layout pt -variant
Then I included this line in my ~/.xinitrc file. (I just excluded the '-variant' option because there was no value for it.)
And now both the keyboard and mouse are working fine!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.