Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2001 18:00:16 +0400 (MSD)
From:      Alexey Koptsevich <kopts@astro.ioffe.rssi.ru>
To:        "Aleksandar Simic'" <alex@frustum.clara.co.uk>
Cc:        questions@freebsd.org
Subject:   Re: X key bindings
Message-ID:  <Pine.BSF.4.21.0104061754530.48456-100000@astro.ioffe.rssi.ru>
In-Reply-To: <20010405173124.B14298@frustum.clara.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

> > > > I would like to use Alt_R as a modifier with olvwm (on x86 keyboard). But
> > > > 'man olvwmrc' says that it uses only the following keys as "modifiers:  
> > > > Shift, Control, Alt, Meta, Hyper, Super, Shift Lock, or Caps Lock".
> > > > 
> > > > May I map Hyper or Super to Alt_R somehow?
> > > 
> > > Yes, you certainly can. Try using xmodmap(1), or if you don't find the
> > > command line appealing you can try xkeycaps from ports:
> > > /usr/ports/x11/xkeycaps/
> > 
> > I have already tried it, but the problem is that Hyper/Super keysyms are
> > absent in the map:
> > 
> > >xmodmap -e "keysym Alt_R = Hyper"
> > xmodmap:  commandline:0:  bad keysym target keysym 'Alt_R', no
> > corresponding keycodes
> > xmodmap:  1 error encountered, aborting.
> > 
> > How can I introduce these keysyms?
> 
> Try this:
> 
> 	$ cd
> 	$ xmodmap -pke > .xmodmap
> 	$ emacs .xmodmap &
> 
> and then edit the values that you want.

Well, and then run 'xmodmap .xmodmap', right?
It would be the same (for my 104-key AT keyboard) as to issue the command

xmodmap -e "keycode 113 = Hyper"

and I again have

xmodmap:  commandline:0:  bad keysym name 'Hyper' in keysym list
xmodmap:  1 error encountered, aborting.

As I understand I cannot assign arbitrary keysym to the given key, right?

Thanks,
Alex


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104061754530.48456-100000>