[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: Special Key Assignment?
From:       The Wanderer <wanderer () fastmail ! fm>
Date:       2020-10-31 20:23:44
Message-ID: 5F9DC7D0.9040604 () fastmail ! fm
[Download RAW message or body]


On 2020-10-31 at 15:42, Thomas George wrote:

> I want to assign a unicode character to an unused key on my keyboard. 
> For example F6 currently is assigned ~, name of my home directory. I 
> would like to change it to â™ .
> 
> I have  tried xmodmap -e keycode 71 = U2660 and several other variations 
> without success

Looking at the EXAMPLES section of the xmodmap man page, I see only a
few examples of command-line invocation using '-e', and all of them
have the expression in quotes. Based on that, the first thing I'd
suggest would be:

# xmodmap -e "keycode 71 = U2660"

Was that one of the variations you tried?


The second thing - have you verified that F6 is keycode 71? On my
computer (according to a test just now with xev), it's 72, and keycode
71 is F5.


(I haven't tried remapping this myself, as I don't know offhand how to
reverse it and I don't have a discardable test environment on hand, so I
can't testify as to whether these work for me.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic