I've got my laptop set up to boot directly into SLiM as the X session manager.
However, the "M" key on my laptop is broken. I've gotten around this when logged in by using xmodmap to remap my extraneous menu key to it.
keycode 135 = m
I put a call to xmodmap in my .xinitrc file as so:
This works rather well once I'm logged in. However, my username contains an "m", so I can't type it in directly with the laptop keyboard. Adding a
default_user line to my
/etc/slim.conf works to allow me to login at least, but if I mistype my password, I have to plug in a USB keyboard or reboot the system entirely to get a second chance.
I found this question here on Stack Exchange, so I copied my .xmodmaprc file to the path it specified (`/etc/X11/Xmodmap). However, that did not work.
How can I get this to work system-wide? My distro is Arch, if that helps any.