xmodmap file is not loaded by .xinitrc
Hi,
I have been loading xmodmap file with xmodmap .Xmodmap in my .xinitrc for some time now to fix brightness keys. Now I found out that it is no longer loaded (brightness keys don't work), unless executed manually. Has someone had it? I've surfed the web only to find out some relatively old bug reports from Ubuntu and Fedora solved by those weird GNOME settings. What's interesting, xmodmap -e "pointer = 3 2 1" - right mouse button becomes primary - works from the same .xinitrc. Setting those keys with xmodmap -e ... doesn't work too. My system is Alpine with dwm. |
Quote:
https://bbs.archlinux.org/viewtopic.php?id=204791 |
Quote:
|
show us the output from the failed attempts, with -verbose switch.
show us the exact line in ~/.xinitrc, or better the whole file. |
I found the problem. I recently played with keyboard layouts and added the line with setxkbmap -layout... after xmodmap .Xmodmap like this:
Code:
xmodmap .Xmodmap Code:
setxkbmap -layout... |
All times are GMT -5. The time now is 04:57 PM. |