help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sanest way to make emacs behave on a Solaris OS


From: Dan Espen
Subject: Re: Sanest way to make emacs behave on a Solaris OS
Date: Mon, 05 Aug 2013 09:55:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> So, take a look at the output of "xmodmap".  It probably
>> includes entries both for Meta and for Alt keys.  Either remap
>> your Alt keys to be Meta keys, or remap your Meta keys to
>> something else (so that Emacs will use the Alt keys for its Meta
>> modifier).
>
> Perhaps you should include an example how to do that? xmodmap can
> be a bit of a jungle.

xmodmap -pm

shows just the modifier keys:

> xmodmap -pm
xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock      
control     Control_L (0x25),  Control_L (0x42),  Control_R (0x69)
mod1        Alt_L (0x40),  Alt_R (0x6c),  Meta_L (0xcd)
mod2        Num_Lock (0x4d)
mod3      
mod4        Super_L (0x85),  Super_R (0x86),  Super_L (0xce),  Hyper_L (0xcf)
mod5        ISO_Level3_Shift (0x5c),  Mode_switch (0xcb)


This working example for fixing Caps Lock should give you an idea
how to mess with modifiers:

remove Lock = Caps_Lock
keysym Caps_Lock = Control_L
add Control = Control_L


-- 
Dan Espen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]