Custom keyboard shortcuts
Marc Tarin
mt at tcpartners.fr
Tue Sep 13 07:23:28 PDT 2011
Hi everyone !
I'm currently customizing a Linux From Scratch distribution, using plymouth as a bootsplash.
I wanted to change the keyboard shortcuts so as to cater to my whims, so I gave a (quick) look at the source code.
Correct me if I'm wrong :
- shortcuts are defined in src/libply-splash-core/ply-boot-splash.c and src/libply-splash-core/ply-keyboard.c
- verbosity, text mode, etc, respond to a "single" keyboard event, such as pressing CTRL and V being identified as the "CTRL-V" character
It's easy to change the value of a key to match the value of any single ASCII character, but what if I want to use a two or three character combo, such as "ctrl-alt-v" or "a-b"… can that be done without hacking to much into the code ?
Thanks in advance for your answer(s), and for this nice piece of software ;)
Marc
More information about the plymouth
mailing list