From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: xmodmap ( was:: Disabling nxml-mode)
Date: Wed, 11 May 2011 15:38:16 -0500 [thread overview]
Message-ID: <taadnWsegqg6blfQnZ2dnUVZ_j6dnZ2d@sysmatrix.net> (raw)
In-Reply-To: <b0c1b087-cc82-4fea-984c-3ba235c5679a@h12g2000pro.googlegroups.com>
rusi wrote:
> No idea if this works... Still
> https://help.ubuntu.com/community/LaptopSpecialKeys
>
> [Id be interested to know if it does]
Thanks for the link. It's a little over my head but I'll give it a try.
For reference here is my question to Ubuntu forum:
https://answers.launchpad.net/ubuntu/+question/156589
My current much simpler problem is shown in this commented .xmodmaprc
file (same as user home directory version of .Xmodmap in other distros):
clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
! clear Mod4
! clear Mod5
add Shift = Shift_L Shift_R
add Control = Control_L Control_R
add Mod1 = Mode_switch
add Mod2 = Meta_L Meta_R
! add Mod4 = Hyper_L Hyper_R give up on super and hyper
! add Mod5 = Super_L Super_R Fn key and windows last and !
! next keys produce x event on key release and can't be combined with
! alpha keys, only f1 thru f20 or so
! keycode 66 = Hyper_L ;; Caps lock. keycode 151 Fn key was an attempt
! to assign Super_L to Fn key
keycode 66 = backslash bar
! keycode 37 = Super_L
keycode 115 = Meta_L
keycode 64 = Control_L
keycode 113 = Control_R
keycode 116 = Meta_R
! keycode 117 = Super_R ;; windows back
! keycode 109 = Hyper_R ;; windows ahead (these two keys straddle the
! up arrow on lower right
keycode 51 = Caps_Lock ;; on backslash bar key (under backspace on
! dvorak layout
With this .xmodmaprc the Ctl and Alt (Meta) keys are where I want them
and caps lock works as backslash bar, but backslash bar doesn't work as
Caps_Lock. Not a big deal but why waste the key, and, more important,
why not understand what's going on?
Ed
next prev parent reply other threads:[~2011-05-11 20:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-07 22:45 Disabling nxml-mode Peter Flynn
2011-05-08 19:24 ` Luuk
2011-05-08 21:45 ` Joe Kesselman
2011-05-08 21:46 ` Joe Kesselman
2011-05-08 21:46 ` Joe Kesselman
2011-05-09 18:26 ` Luuk
2011-05-09 20:12 ` William F Hammond
2011-05-10 11:23 ` Xah Lee
2011-05-10 17:15 ` B. T. Raven
2011-05-10 19:16 ` Xah Lee
2011-05-11 2:03 ` B. T. Raven
2011-05-11 4:05 ` rusi
2011-05-11 20:38 ` B. T. Raven [this message]
2011-05-11 22:35 ` xmodmap ( Tim X
2011-05-12 2:20 ` B. T. Raven
2011-05-11 4:17 ` Disabling nxml-mode Xah Lee
2011-05-10 23:02 ` Joe Kesselman
2011-05-10 23:11 ` John Bokma
2011-05-11 20:24 ` Peter Flynn
2011-05-10 20:42 ` Peter Flynn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=taadnWsegqg6blfQnZ2dnUVZ_j6dnZ2d@sysmatrix.net \
--to=nihil@nihilo.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).