Tag Info

Hot answers tagged

4

In the linux kernel source code in sysrq.c at line 415, there is a struct defined, what should happen when a certain key is pressed. So you see, no command in a terminal is excuted, instead of this, hard coded functions in the kernel are called. So, as long as the kernel is not crashed, you can press those keys, doesn't matter which application is running in ...


2

As Gilles pointed out in a comment, you can do it with xkb if you change the type of BKSP key to control-modifiable. Example: if I edit /usr/share/X11/xkb/symbols/pc and under: include "pc(editing)" include "keypad(x11)" change this line: key <BKSP> { [ BackSpace, BackSpace ] }; to: key <BKSP> { ...


2

After some research I learned how to use xbindkeys. I only had to add the following commands to the xbindkeysrc file placed in my personal folder: # LeftBracket "xvkbd -xsendevent -text "["" Control+Alt + dead_grave | m:0xc + c:34 # RightBracket "xvkbd -xsendevent -text "]"" Control+Alt + plus | m:0xc + c:35 # LeftKey "xvkbd -xsendevent -text "{"" ...


2

as linked in the wikipedia article in external links ... you can see that documentation here: Linux Magic System Request Key Hacks edit: this is also found in Linux kernel source under the Documentation subdirectory


2

Try pressing Alt+F2. I'm not totally sure about this though, as when I search Alt+F2 in LXDE on Google there seem to be a fair number of results about a bug. Not sure if those still apply. However, this is the shortcut that worked for me last time I used LXDE.


1

You can inject input events with xdotool. You can invoke commands on a key press with xbindkeys. Put something like this in your ~/.xbindkeysrc: "xdotool click 4" control+shift+prior "xdotool click 5" control+shift+next



Only top voted, non community-wiki answers of a minimum length are eligible