You are not logged in.

#1 2016-06-20 22:39:52

telarium
Member
Registered: 2016-06-20
Posts: 1

Linux XKB keyboard remapping with function keys

I need to create a keyboard layout in Linux where I can map a key to a function key. However, I didn't see where there is a symbol to do this. So basically I need something like:

key {[2,at, f2, f2]};

Does anyone know if this is possible, and if so, what unicode value or symbol should I use to represent function keys?

Offline

#2 2016-06-24 19:34:51

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Linux XKB keyboard remapping with function keys

I'm not totally sure whay you mean. But if you want to map a command or whatever to a key or a keycombination you can use Xbindkeys and Xdotool.

Edit: Also, welcome! smile

Last edited by Hund (2016-06-24 19:35:19)

Offline

#3 2016-06-24 19:53:44

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Linux XKB keyboard remapping with function keys

The 'symbol' for function keys seems to be just 'F<num>'. See the files returned by

grep -rl 'function_keys' /usr/share/X11/xkb/symbols/*

.Bear in mind though that mucking about with xkb symbol tables is liable to take years off your life. wink


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB