You are not logged in.

#1 2015-06-19 01:05:23

Herodotus
Member
Registered: 2015-06-16
Posts: 24

need to run "udevadm trigger" again after startx

I rearranged some keyboard modifiers according to instructions found here:

https://wiki.archlinux.org/index.php/Ma … etkeycodes

Everything works except that when I start X11 (with startx), then I have to run "udevadm trigger" again to get the new modifiers working. This is the case for both my laptop and USB keyboards.

Any ideas?

$ cat /etc/udev/hwdb.d/10-my-sane-modifiers.hwdb

keyboard:usb:* # match all keyboards for now
keyboard:usb:v05AFp8277* # but especially my Kensington Slim Type
 KEYBOARD_KEY_70039=leftalt    # bind capslock to leftalt
 KEYBOARD_KEY_700e2=leftctrl   # bind leftalt to leftctrl

keyboard:dmi:* # laptop keyboard
 KEYBOARD_KEY_3a=leftalt    # bind capslock to leftalt
 KEYBOARD_KEY_38=leftctrl   # bind leftalt to leftctrl

Offline

#2 2020-08-15 14:43:39

TravisTuRing
Member
Registered: 2020-01-17
Posts: 2

Re: need to run "udevadm trigger" again after startx

Hello did you solve this problem? I have the same question now.

Offline

#3 2020-08-15 15:03:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: need to run "udevadm trigger" again after startx

Hello, TravisTuRing:   If you were wondering where your post went, I think you had meant to use the 'reply' link rather than the 'report' link.  In any event, welcome to the forums.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2020-08-16 00:18:02

TravisTuRing
Member
Registered: 2020-01-17
Posts: 2

Re: need to run "udevadm trigger" again after startx

TravisTuRing wrote:

Hello did you solve this problem? I have the same question now.

It is weird in some hwdb config it work fine.

Last edited by TravisTuRing (2020-08-17 00:51:54)

Offline

Board footer

Powered by FluxBB