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

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

Re: Would like to have alt key mapped to Windows key


From: Mario Castelán Castro
Subject: Re: Would like to have alt key mapped to Windows key
Date: Sat, 4 Nov 2017 15:27:48 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 04/11/17 14:23, sellputcall@gmail.com wrote:
> My keyboard's alt key seems to have conked out. Both of them.
> So alt keys in emacs are missing which is a real pain. I dont want to rely on 
> the Esc key all the time.
> 
> Is there a way to map the windows key, which emacs seems to call "s-" to the 
> alt key. This would be very convenient to have until i replace my laptop 
> keyboard.

I do not know of how to do this in Emacs, but you can do it system-wide
with xmodmap and maybe setxkbmap (check the man pages). You can place a
command for this in “~/.xsessionrc” or equivalent.

-- 
Do not eat animals; respect them as you respect people.
https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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