LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Modified Xmodmap issues (https://www.linuxquestions.org/questions/linux-software-2/modified-xmodmap-issues-73165/)

vexer 07-16-2003 02:42 AM

Modified Xmodmap issues
 
I've recently been attracted to modifying Xmodmap
so I can add special characters that I use daily. I
copied an existing Xmodmap /usr/share/xmodmap/xmodmap.us-101 to be exact)
and added what I needed, removed keycode 113's
(right alt) usage and replaced it with Mode_switch
and removed Alt_R from mod1 to complete my editing.

So my keys work nicely, hey look יחא, but now
ctrl+alt+bs stopped working!

So I thought, check out the main config, see if it was
my changes.

vexer:~$ xmodmap /usr/share/xmodmap/xmodmap.us-101

same thing, no ctrl-alt-bs to exit X windows

So then I remove the .Xmodmap and restart X and
ctrl+alt+del work fine now. So I check my .xinitrc to
see which modmap it's using so I can just add my
changes there and be done with it. So I find

sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

Guess what, those files are non existant. So there is
my dilemna. How do I regain control of ctrl+alt+bs?

Note: I did not change the value of ctrl, alt_L and bs.


-vexer

vexer 07-16-2003 02:46 AM

Not 10 seconds after posting this lenghty message,
I remembered seeing the README.Xmodmap where
is talked about old xfree or systems with backspace
issues and using keycode 22 = backspace, then it
occured to me. "Hey, maybe that's the problem".
Sure enough, I edited out the keycode 22 = backspace
with a ! and all works fine now.


-vexer


All times are GMT -5. The time now is 07:19 PM.