Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'd like to set up the winkeys to be of some use. Evidently, you can make one the "compose" key, whatever that means: see this page which is as incomprehensible as the best Linux documentation. I tried "xev" but could not make head or tail of the output.
So, I tried to find out which key number (keycode?) is assigned to each winkey. "showkey -k" got this:
Quote:
$ showkey -k
kb mode was RAW
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]
KDSKBMODE: Operation not permitted
Don't try showkey -m. It can't be stopped with Ctrl+C and if you close the console in desperation, numerous other windows open instead.
/etc/X11/Xmodmap:
Quote:
!
! This is the "Xmodmap" file for Standard Keyboards with Windows keys.
!
! If you want to have other keymappings for special X-Terminals, just
! create a "Xmodmap.${DISPLAY}" file with the according changes.
!
Since I don't have "special X-Terminals" (at least, I hope I don't), I suppose I could add to this file. (Or is that too easy?) But I still have to know what number to use and how to describe the keys and to assign insertion of various symbols to various keybindings.
How do I find out the codes of keys, assign a meaning to a keycode and subsequently assign symbols to various key combinations? I looked at the files mentioned in this old post but found nothing illuminating. All other previous posts I could find were too cryptic or not on point. Onk and major head scratch.
Thanks. Some other key was recorded at the same time but I've confirmed the number with repeated presses. Now what? I just add a line to Xmodmap:
Code:
keycode 115 = Multi_key
? That can't be right; it's never that simple.
EDIT: No. It's not that simple. You are limited to /usr/X11R6/lib/X11/locale/iso8859-1/Compose - so you need to alter that to include characters you want.
Is there any way to make the windows key bring up the menu with AND make win+e open a file manager? I use Gnome and it seems it's either a composable button (<Mod4>) or a single button (Super_L).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.