From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: how to set keybinding in gnome? Date: Mon, 30 May 2011 00:52:48 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8d1e769a-7f74-43af-a32a-80a7eb889342@l2g2000prg.googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1332964035 11570 80.91.229.3 (28 Mar 2012 19:47:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2012 19:47:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 28 21:47:14 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SCypo-0006BD-QI for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2012 21:47:08 +0200 Original-Received: from localhost ([::1]:58975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCyg5-0005vu-HN for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2012 15:37:05 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!l2g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 53 Original-NNTP-Posting-Host: 76.126.112.84 Original-X-Trace: posting.google.com 1306741968 31299 127.0.0.1 (30 May 2011 07:52:48 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 30 May 2011 07:52:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l2g2000prg.googlegroups.com; posting-host=76.126.112.84; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20100101 Firefox/4.0,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:187149 comp.emacs:101624 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84129 Archived-At: 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: =E2=80=9Cgnome- keybinding-properties=E2=80=9D and =E2=80=9Cgnome-keyboard-properties=E2=80= =9D don't seem to be able to do what i want. here's my questions. =E2=80=A2 I want the Menu key (aka App key) to be Hyper. How to do that? =E2=80=A2 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? =E2=80=A2 According to the keyboard layout display, Gnome says my Win key i= s Super and Caps Lock is Hyper, but in emacs 23 -Q, emacs reports both to be Hyper. =E2=80=A2 How to change the Win key to Super or Hyper? =E2=80=A2 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 =E3=80=90Ctrl+PageUp=E3=80=91 (prev tab= ) and =E3=80=90Ctrl +PageDn=E3=80=91 (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.) =E2=80=A2 It seems gnome save key config files in =E3=80=94/home/ubuntu/.gc= onf/apps=E3=80=95 and =E3=80=94/home/ubuntu/.gnome2=E3=80=95, 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. =E3=80=8Cman gnome-keybinding- properties=E3=80=8D doesn't return anything. Web search is a bit hard becau= se 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