From owner-freebsd-questions Fri Apr 6 7: 1: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ioffe.rssi.ru (relay.ioffe.rssi.ru [194.85.224.33]) by hub.freebsd.org (Postfix) with ESMTP id CFD2937B42C for ; Fri, 6 Apr 2001 07:00:46 -0700 (PDT) (envelope-from kopts@astro.ioffe.rssi.ru) Received: from astro.ioffe.rssi.ru (astro.ioffe.rssi.ru [194.85.229.130]) by relay.ioffe.rssi.ru (8.9.1/8.9.1) with ESMTP id SAA18793; Fri, 6 Apr 2001 18:00:26 +0400 (MSD) Received: by astro.ioffe.rssi.ru (8.9.3/Clnt-2.14-AS-eef) id SAA57311; Fri, 6 Apr 2001 18:00:16 +0400 (MSD) Date: Fri, 6 Apr 2001 18:00:16 +0400 (MSD) From: Alexey Koptsevich To: "Aleksandar Simic'" Cc: questions@freebsd.org Subject: Re: X key bindings In-Reply-To: <20010405173124.B14298@frustum.clara.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > 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