From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: how to set keybinding in gnome?
Date: Mon, 30 May 2011 00:52:48 -0700 (PDT) [thread overview]
Message-ID: <8d1e769a-7f74-43af-a32a-80a7eb889342@l2g2000prg.googlegroups.com> (raw)
installed ubuntu gnu/linux recently... have some questions about how
to set keybindings in it. This is pretty much my first time in Gnome.
Last time i ran linux is about 10 years ago.
The 2 GUI apps i explored from the system pref panel: “gnome-
keybinding-properties” and “gnome-keyboard-properties” don't seem to
be able to do what i want.
here's my questions.
• I want the Menu key (aka App key) to be Hyper. How to do that?
• In emacs 23 with -Q, the Menu key is execute-extended-command. I'm
not sure how it became that. Any idea? I want caps lock to be execute-
extended-command. Is that possible in X11+Gnome+emacs? or do i need
some other util?
• According to the keyboard layout display, Gnome says my Win key is
Super and Caps Lock is Hyper, but in emacs 23 -Q, emacs reports both
to be Hyper.
• How to change the Win key to Super or Hyper?
• Is it possible to define app-specific key macros? For example, i
want the substract (-) key on keypad to type Ctrl+w (close tap) in
Firefox, and the / and * keys to be 【Ctrl+PageUp】 (prev tab) and 【Ctrl
+PageDn】 (next tap). (i know this is possible by modding Firefox
config files, but i want general X11 mechanism because i need to do
this for other apps.)
• It seems gnome save key config files in 〔/home/ubuntu/.gconf/apps〕
and 〔/home/ubuntu/.gnome2〕, but there's bewildering number of files
there. Is there a documentation somewhere? (am interested at least for
the key config part generated by the gnome keybinding apps. The Help
documentation stops at grandma level. 「man gnome-keybinding-
properties」 doesn't return anything. Web search is a bit hard because
there's too much linux stuff and a lot are laymen questions and i'm
not familiar where to look.)
Also, are these gnome apps (gnome-keybinding-properties, gnome-
keyboard-properties) working on top of x11's xmodmap or something
independent? I don't see any X11 config file in my home dir at all.
Any tip appreciated. Thanks.
Xah
next reply other threads:[~2011-05-30 7:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-30 7:52 Xah Lee [this message]
[not found] ` <d3f28448-e788-4563-bd42-c349daeb1394@h36g2000pro.googlegroups.com>
[not found] ` <jwvtycc2vv7.fsf-monnier+gnu.emacs.help@gnu.org>
[not found] ` <15555d3a-273b-4c7e-8661-a23caa5d7c19@d19g2000prh.googlegroups.com>
[not found] ` <jwv7h982seo.fsf-monnier+gnu.emacs.help@gnu.org>
2011-05-30 14:57 ` how to set keybinding in gnome? Xah Lee
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=8d1e769a-7f74-43af-a32a-80a7eb889342@l2g2000prg.googlegroups.com \
--to=xahlee@gmail.com \
--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).