unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: tyler <tyler.smith@mail.mcgill.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Meta key recognition
Date: Tue, 11 Nov 2008 10:17:16 -0400	[thread overview]
Message-ID: <87d4h2uz2r.fsf@blackbart.sedgenet> (raw)
In-Reply-To: 0faaddaa-a195-4f2d-8853-75d572741b3e@o4g2000pra.googlegroups.com

Fab <wax.resources@gmail.com> writes:

>
> I use ubuntu and have several keyboard shortcuts defined. Now when I
> use emacs I would like to have these ubuntu shortcuts (using the Meta-
> Key) disabled. How can I approach this?
>

I don't think you can do this, at least not from within emacs. Anything
that the desktop environment recognizes as a keyboard shortcut will
never be passed on to any applications. I don't know if Gnome allows for
shortcuts that are conditional on which application has focus, but I
doubt it.

What I do (using Fluxbox) is reserve the 'windows' key for
window-manager shortcuts, so that the Alt and Ctrl keys are free for use
within Emacs. Except that I use Alt-tab to switch windows, so I can't
use Alt-tab for anything in Emacs. So far that hasn't been a problem.

Cheers,

Tyler

-- 
``I have no "intellectual property," and I think that all claimants to 
such property are thieves.''           --Wendell Berry

http://home.btconnect.com/tipiglen/resist.html





      reply	other threads:[~2008-11-11 14:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 13:28 Meta key recognition Fab
2008-11-11 14:17 ` tyler [this message]

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=87d4h2uz2r.fsf@blackbart.sedgenet \
    --to=tyler.smith@mail.mcgill.ca \
    --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).