Key-ShortCut for jumping to workspace
Joost Kremers
joostkremers at fastmail.fm
Mon Nov 10 11:36:48 CET 2003
On Mon, Nov 10, 2003 at 09:35:03AM +0000, John Pettigrew wrote:
> In a previous message, Sven Pfeifer <sven at yagonna.de> wrote:
> > that?s fine, but is there a way to use a shortcut e.g. [Windows]+1,
> > [Windows]+2, ...
>
> Not AFAIK. But is the Windows key really *that* much more convenient than
> Ctrl or Alt?
well, you can use Xmodmap to turn the Windows key into a modifier, which
you can then use in the same way as Ctrl or Alt. the easiest way to do this
would be to assign the Windows key to Meta, something like this in
~/.Xmodmap:
keycode 115 = Meta_L
keycode 116 = Meta_R
add Mod4 = Meta_L, Meta_R
then in custom.keys/keythemerc the lines:
workspace_1_key=Meta+1
etc.
note: doing this will render the Alt key unusable in Emacs. instead, the
windows key has to be used. (this is because Emacs uses Meta if it can, and
only uses Alt if no Meta is present. perhaps Emacs can be configured around
this, i don't know.) it may be possible to create a totally new modifier
key out of F13, for example, but i have never been able to figure out how
to do that with xmodmap.
note also: i haven't tested this, so i'm not at all sure if it will
work. something like this should work, however.
--
Joost Kremers
Life has its moments
More information about the Xfce
mailing list