Tag Info

New answers tagged

3

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


1

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


0

I use xrandr –-output LVDS1 –-set BACKLIGHT 5 Or values other than "5". See http://linux-software-news-tutorials.blogspot.co.uk/2011/07/how-to-change-screen-brightness-of.html


0

I'm not familiar with autokey, but this looks doable. Use Keyboard.press_key to send a key press event and Keyboard.release_key to send a key release event. To remember which one to send, you can use Store.set_value and Store.get_value. Alternatively, you can use xdotool to inject input events into a window and xprop to attach data to a window. Run the ...


0

This was posted a while ago and I am sure you have gotten your answer already, but for those who haven't. Run these commands sudo apt-get install xdotool sudo apt-get install wmctrl Then download the bash script from the following link (credit to jc00ke) https://github.com/jc00ke/bin/blob/master/move-to-next-monitor Personally, I have a directory in my ...


1

To search backward in your ksh command history, Ctrl-R in emacs mode ought to work, even if you're running an old version such as ksh88. It is not an incremental character-by-character search like in bash. You have to type Ctrl-R, then the string you want to search for, then Enter.


1

In recent GNOME use: gsettings set org.gnome.mutter overlay-key '' and to restore the default keybinding use: gsettings set org.gnome.mutter overlay-key 'Super_L' borrowed from here.


0

I am using Ubuntu 12 and was having a problem pasting text from xterm in gedit (and any other app). Also, I use a laptop with no middle mouse button like many people (there really is no clipboard mercy for linux users without middle buttons, and no: right-click+left_click is not working as a substitute). While I think the "xsel | xvkbd -xsendevent -file -" ...


1

It seems elementary-tweaks has no longer key bindings in elementary Freya. But luckily there is mode to bind keys in Freya also. You can use program named xbindkeys. Details about how to configure and use it you can find here. excerpt We only need xbindkeys, a simple yet powerful command line tool to bind commands to a certain key or keys ...



Top 50 recent answers are included