Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #228402
| From | The Wanderer <wanderer@fastmail.fm> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Special Key Assignment? |
| Date | 2020-10-31 21:30 +0100 |
| Message-ID | <B65FE-3OK-5@gated-at.bofh.it> (permalink) |
| References | <B652W-3mS-7@gated-at.bofh.it> |
| Organization | This space intentionally left blank. |
[Multipart message — attachments visible in raw view] - view raw
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
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Special Key Assignment? Thomas George <lists@tomgeorge.info> - 2020-10-31 20:50 +0100
Re: Special Key Assignment? The Wanderer <wanderer@fastmail.fm> - 2020-10-31 21:30 +0100
Re: Special Key Assignment? Linux-Fan <Ma_Sys.ma@web.de> - 2020-10-31 22:30 +0100
Re: Special Key Assignment? Success Thomas George <lists@tomgeorge.info> - 2020-10-31 22:40 +0100
Re: Special Key Assignment? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-11-02 14:30 +0100
Re: Special Key Assignment? Thomas George <lists@tomgeorge.info> - 2020-11-04 20:50 +0100
csiph-web