LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2003, 03:42 AM   #1
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
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

Last edited by vexer; 07-16-2003 at 03:48 AM.
 
Old 07-16-2003, 03:46 AM   #2
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
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

Last edited by vexer; 07-16-2003 at 03:47 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xmodmap chrismiceli Linux - Software 2 06-29-2006 04:18 AM
xmodmap help pitt30 Slackware 11 01-14-2005 05:54 AM
xmodmap snt Linux - Software 0 11-15-2004 09:59 AM
xmodmap ntilde Mandriva 0 07-27-2004 02:28 PM
strings with xmodmap? Gantrep Linux - Software 1 07-28-2003 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration