X shift key workaround (Was: Re: X libraries mess in breezy...)

Karl Hegbloom hegbloom at pdx.edu
Fri Jul 22 22:10:59 UTC 2005

On Fri, 2005-07-22 at 11:24 +0200, Xavier Poinsard wrote:
> Karl Hegbloom a écrit :
> > I think it's a separate bug... It did not work for me either.  I fixed
> > it by copying an 'xmodmap' binary over from another box, and then
> > installing 'xkeycaps'.  I used 'xkeycaps' to create a working .xmodmap,
> > and am using that for now as a work-around. 
> Could you give more details on your workaround since this problem is 
> very annoying for french keyboard...

Find an 'xmodmap' binary (attached) and place it in ~/bin
or /usr/local/bin, and make sure that is on your PATH.  Use 'apt' to
install 'xkeycaps', and run it from a terminal-emulator after you log
into your X session.  Choose your keyboard type, and have it "restore
default settings".  Make whatever adjustments you like, and then have it
save the settings.  Have it save all of the keys.

Now when you log in, you must first run 'xmodmap .xmodmap[TabComplete]'
to get the keys working.

I don't know what will happen when normal xkb starts working again...
Gnome asked if I wanted to load that .xmodmap file, but then didn't seem
to do so, since the shift key still did not function.  I must type the
xmodmap command by hand.

Luckily, my password is all lower case.  If you have uppercase in your
password, you're out of luck, unless you add the xmodmap command to the
PreSession script in /etc/gdm/.

Karl Hegbloom <hegbloom at pdx.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmodmap
Type: application/x-executable
Size: 24604 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050722/8559d15f/attachment.bin>

More information about the ubuntu-users mailing list