xmodmap not working

xmodmap not working

Post by Sense » Fri, 09 May 2003 05:16:03



Hi everybody.

I have a very weird problem under X with my keyboard (slack 9). Xmodmap
does not work properly. My .Xmodmap is:

keycode  17 = 8 parenleft braceleft
keycode  18 = 9 parenright braceright
keycode  19 = 0 equal asciitilde
keycode  94 = less greater

naturally in XF86Config it's all set:

     Option     "XkbModel"      "pc104"
     Option     "XkbLayout"     "it"

But using alt+8 or *any* other alt-modified key, I have no output at
all. It seems like xmodmap just turned the alt-modified keys off. Let me
explain better.

It does not work if I have ~/.Xmodmap set.

It does not work if I do not have ~/.Xmodmap and on a console:

$ xmodmap -e "keycode 17 = 8 parenleft braceleft"

In every case the key by itself works properly, the shift-modified key
works.

The alt+key does not.

If anyone have noticed something like this, please tell me. Or, if
anyone knows, redirect me to some docs I can read. I haven't found
anything on google, faqs, man pages...

Here's the xmodmap output:

sensei:~$ xmodmap -verbose -e "keycode  34 = egrave eacute braceleft"
! 0:  keycode  34 = egrave eacute braceleft
         keycode 0x22 = egrave eacute braceleft
!
! executing work queue
!
         keycode 0x22 = egrave eacute braceleft

But alt+ does not show anything.

Any hints? In 5 years it never happened something like this...

 
 
 

1. Xmodmap: it doesn't work

Hi! I'm getting a trouble in setting my keymap under X (under every
application under X, from Konsole to Emacs-X11, from KDevelop to
Sylpheed...). I want it to sample the keymap I have under console:

altgr-8 -> {
altgr-9 -> }
altgr-0 -> ~

and so I modified /etc/X11/Xmodmap in order to get the work: nothing
happened. So I added in /etc/X11/xinit/xinitrc

xmodmap -e "keycode 17=8 parenleft braceleft"

and so on. It didn't work. What should I do?

--

MS Outlook : (noun) A newsreader with support for RAID 0.
MS Works   : (noun) An oxymoron.

2. EVMS core 2/4: evms.h

3. Xmodmap does work differenty with XF1.3

4. pty permissions

5. xmodmap problems: How get Multy_key to work?

6. LINUX JOBS/LA

7. Emacs under Linux not understanding keystrokes after executing xmodmap

8. Conversion from ELF to XCOFF.

9. carriage return not seen by Netscape after xmodmap

10. Remapping Keyboard Scancodes (NOT xmodmap!)

11. Kernel-nfs working, plain nfs not working.

12. USB not working with 2.5.69, worked with .68

13. PPP working, /etc/ppp/ip-up not working, HELP Please