Tag Info

New answers tagged

0

xdotool click 2 This simulates the mouse button click directly, and does not require to use xsel / xdotool type ....


3

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> { ...


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 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


0

While Ubuntu's default AltF2 is pretty useful, I've noticed in the comments that it does not work for you. An alternative run dialog that you can use is bbrun. This run dialog is originally for black box desktop environment, but can still be used elsewhere. Install it using sudo apt-get install bbrun. Once you do, run it in terminal with nohup bbrun & ...


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.


0

This is possible. The following will disable the super key and rebind it to the left mouse button. If you wish to preserve the functionality of the super key while also binding to the left mouse button, check out this question. There seem to be some issues with xbindkeys when we use a modifier key to trigger mouse or keyboard events, so we will first rebind ...


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 "{"" ...


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


0

Install disper (in Arch-based systems it is in AUR). Various commands available with this utility HERE. The command to cycle between clone, extended, internal and external displays should be like this: disper --cycle-stages='-e : -c : -S : -s' --cycle In that case, it would extend to the right. To cycle between the same options but extend to the left: ...


0

You can't do it directly as modifier keys are different from the other keys. All KeyPress or KeyRelease events contain a field indicating the state of the modifier keys, so when you get a "A key pressed" event, you know if it is just A or Ctrl+A. But for other keys, you have to keep track yourself of whether they have been pressed before your second key. ...


0

I got this working under Ubuntu 14.10 onwards. This is the command that will create a custom key binding "slot" gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/']" You then ...



Top 50 recent answers are included