![]() |
Just leaving this here - Keyboard Shortcuts - FXTEC
UPDATE
New instructions and code here https://github.com/Logic-gate/Keymapper END UPDATE DO NOT FOLLOW INSTRUCTIONS HEREIN Just leaving this here because I forgot both my TJC and my TJC-linked email passwords. :mad: Keyboard Shortcuts...the wrong way. Download this (https://gist.github.com/Logic-gate/1...le-keymapper-c) this (https://gist.github.com/Logic-gate/1...le-keymapper-h) ...into your home dir. Something like /home/nemo/scripts/keymapper/ or whatever... Install make, gcc, and libconfig Code:
pkcon install gcc make libconfig Code:
make in the terminal do... Code:
./keymapper listen Code:
CODE --> 125 create a file called keymap.config Code:
touch keymap.config Code:
// Not recommended to run keymapper as root, Code:
./keymapper start the output should be Code:
this works This works kind of like the sym(I think it's called that) button on the n900, where you have an instigator and then a trigger. The holder is the instigator. Once you click it(press the physical button) it registers to a file called key.log, the next button you use is the command trigger, as in what actually runs whatever you give it. the config format is as follows: Code:
// Not recommended to run keymapper as root,
If you're going to run it as root...even though I do not recommend it, yet still do so personally. Don't run any command you dont fully know its outcome. To run applications, you'll need to export the runtime dir Code:
export XDG_RUNTIME_DIR=/run/user/100000 Code:
#under root Code:
#and under nemo This is not the best way of doing shortcuts...it's hacky, sloppy, and buggy. It is however a way nonetheless. So it is what it is until someone else makes a better and safer alternative... demo(https://twitter.com/m4d_d3v/status/1...227333120?s=20) here's the config from the demo--without screenshots. Also disregard the first entry orientationLock...iit's for something else. Code:
// Not recommended to run keymapper as root, |
All times are GMT. The time now is 21:54. |
vBulletin® Version 3.8.8