Re: xorg and a Sun USB Type 6 keyboard with german layout

Helge Mühlmeier <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
> Xev for me says:
> 
> KeyPress event, serial 29, synthetic NO, window 0xe00001,
>     root 0x101, subw 0x0, time 702468, (48,77), root:(1094,529),
>     state 0x0, keycode 51 (keysym 0x23, numbersign), same_screen YES,
>     XLookupString gives 1 bytes: (23) "#"
>     XmbLookupString gives 1 bytes: (23) "#"
>     XFilterEvent returns: False
> 
> Can you try creating a ~/.Xmodmap file which has just one line:

I created that file with following line:

keycode 123 = BSlash

I restarted X but same result: nothing happens if I press "#". I
think ./Xmodmap wasn't loaded...

If I try to load the file with xmodmap ~/.Xmodmap I get the following
error:
================
no-panic-hihihi$ xmodmap /home/helgoman/.Xmodmap  
xmodmap:  /home/helgoman/.Xmodmap:1:  bad keysym name 'BSlash' in keysym
list
xmodmap:  1 error encountered, aborting.
================

What is the meaning of "BSlash"? Isn't it "backslash"? 

I switched ~/.Xmodmap to:

keycode  123 = numbersign apostrophe numbersign apostrophe grave grave
grave

I loaded it manually as above and now I get the numbersign (#) :-)

Do you know what to do to load that automaticly if I "startx"?

Greetings,
Helge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.