From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: Problems Using Hyper Key modifier Date: Sat, 24 Sep 2005 05:38:19 +0200 Organization: Informatimago Message-ID: <873bnvp238.fsf@thalassa.informatimago.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1127533256 25506 80.91.229.2 (24 Sep 2005 03:40:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2005 03:40:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 24 05:40:50 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EJ0tj-0005XU-AP for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Sep 2005 05:40:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EJ0ti-0008E8-HG for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Sep 2005 23:40:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!easynet-quince!easynet.net!easynet-post2!not-for-mail Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:JavLv0AkGULmVV6pIEjI4kGHnS4= Original-Lines: 55 Original-NNTP-Posting-Host: 62.93.174.79 Original-X-Trace: DXC=TYmneD_Nk2gYHHjTCnPm5nEY<>`XO4V7m>Uh List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29678 Archived-At: Tim Johnson writes: > Hello: > > I would like to map my TAB key to the hyper key modifier. > > After running the following command to map the TAB key to Hyper key: > xmodmap -e "keycode 23 = Hyper_L" > > xev tells me that keycode 23 is Hyper_L, but > I find that that c-h k > TAB-n only recognizes the "n". > The TAB=>Hyper_L key is not recognized as a modifier Did you press both keys simultaneously? TAB-down n-down n-up TAB-up Did you list Hyper_L as a modifier? > What else do I need to do? > > NOTE: There are many examples found by Google that show how to map > caps_lock to hyper, but I have already successfully mapped caps_lock to > control_L. > > Also, attempts to map control_r (keycode 109) to Hyper_R fail > as well. Put something like: clear Shift clear Lock clear Control clear Mod1 clear Mod2 clear Mod3 clear Mod4 clear Mod5 ! In order of bits: add Shift = Shift_L Shift_R add Lock = Caps_Lock add Control = Control_L Control_R add Mod1 = Alt_L Alt_R add Mod2 = Num_Lock add Mod3 = Super_L Super_R add Mod4 = Meta_L Meta_R add Mod5 = Hyper_L Hyper_R in your ~/.xmodmap -- __Pascal Bourguignon__ http://www.informatimago.com/ Cats meow out of angst "Thumbs! If only we had thumbs! We could break so much!"