Testing whether Keycode and Modifier are associated with Hyper key

Issue

This Content is from SuperUser. Question asked by Veak

I would like to change my keyboard layout configuration so that I can use the Hyper key for executing commands in Emacs.

Would like to check whether the Hyper key is associated with Keycode 66 and whether I can use it as a Modifier key for Emacs.

To check whether Keycode 66 is associated with the Hyper key. I use

keymap_test=$(xmodmap -pke | grep "Hyper" | grep "66")

Then I need to check whether there exists a Modifier map associated with the Hyper key. I use

modmap_test=$(xmodmap -pm | grep "Hyper" | grep "mod")

Is this all I have to do to ensure that the Hyper key is set up properly for use as a Modifier key for Emacs?



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from SuperUser , is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?