You are not logged in.

#1 2013-03-13 02:26:18

archnet
Member
Registered: 2011-05-09
Posts: 42

[SOLVED] Mapping a compose key in console

I am trying to successfully (re)map the keys for the console to turn the right control key into a compose key. Please note, this is for the CONSOLE. I already have it working in X using Xmodmap.

Although this is specifically about a compose key, it should apply to any arbitrary key (re)mapping.

I have followed the directions here (https://wiki.archlinux.org/index.php/KEYMAP), and it works. However, I don't like the idea of having to copy a file to /usr/share/kbd/keymaps/... and modify yet another etc file that comprises of a single line (I do miss rc.conf!).  It would be nice to just run loadkeys - I could put it in my .shrc file - but that utility doesn't seem to want to allow a non-superuser to run it.

What I'd like to do is have the map file in my home directory and just point there, either through a simple command such a loadkeys that allows me as non-root to run it or if vconsole.conf can point to an arbitrary location.

Or, is there a compose key already mapped on the us keymap that I'm not aware of?

Last edited by archnet (2013-03-13 23:46:45)

Offline

#2 2013-03-13 23:46:17

archnet
Member
Registered: 2011-05-09
Posts: 42

Re: [SOLVED] Mapping a compose key in console

I found a working solution for this. As root, I can just...

# chmod 4755 loadkeys

...and I can run that command as a normal user. Now, if only I could signal a command when I hit a key like I do in X to make my three audio keys turn the volume up, down, or mute...

Last edited by archnet (2013-03-13 23:55:55)

Offline

Board footer

Powered by FluxBB