From owner-freebsd-questions Thu Apr 5 9:31: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from oracle.clara.net (oracle.clara.net [195.8.69.94]) by hub.freebsd.org (Postfix) with ESMTP id 4FAD337B422 for ; Thu, 5 Apr 2001 09:31:01 -0700 (PDT) (envelope-from alex@clara.co.uk) Received: from [213.253.39.113] (helo=myname.my.domain) by oracle.clara.net with esmtp (Exim 3.11 #5) id 14lCej-000A0i-00; Thu, 05 Apr 2001 17:30:45 +0100 Received: (from alex@localhost) by myname.my.domain (8.11.3/8.11.3) id f35GVOE14616; Thu, 5 Apr 2001 17:31:24 +0100 (BST) (envelope-from alex) Date: Thu, 5 Apr 2001 17:31:24 +0100 From: "Aleksandar Simic'" To: questions@freebsd.org Cc: Alexey Koptsevich Subject: Re: X key bindings Message-ID: <20010405173124.B14298@frustum.clara.co.uk> Mail-Followup-To: Aleksandar Simic' , questions@freebsd.org, Alexey Koptsevich References: <20010405171920.A14298@frustum.clara.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from kopts@astro.ioffe.rssi.ru on Thu, Apr 05, 2001 at 08:22:54PM +0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 05, 2001 at 08:22:54PM +0400, Alexey Koptsevich wrote: > > > > 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. Good luck, --Alex -- M-x spook -- Paula Corbin Jones Khaddafi North Korea explosion domestic disruption militia kill Americans Kosovo New World Order Janet Reno To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message