Questions about how to run a program or other operating system function when a given combination of keys is pressed.

learn more… | top users | synonyms (1)

11
votes
7answers
946 views

How do I repeat the last command without using the arrow keys?

I know I can use Up to iterate through previous commands. Running the last command simply involves Up + Enter. However, I was thinking of buying the Happy Hacking Keyboard as I spend a lot of time in ...
0
votes
0answers
11 views

Chrome OS: Crosh Window and Hostname

I have a couple of questions regarding Chrome OS: By default Ctrl+Alt+T opens a crosh window within the Chrome browser. I have the Crosh Window extension, which I would like Ctrl+Alt+T bound to - ...
0
votes
2answers
40 views

What is the difference between “find” and “till” in vim?

I see I can use t c or Tc to move to the next / previous character c I can also use fc or Fc to move to the next / previous character c Is the only difference between them that tc places the ...
1
vote
1answer
35 views

LXDE: How to run a program/command when I press one or more keys?

I have a numpad on my keyboard and I want to make the keys do something when (the otherwise useless) ScrollLock is on under LXDE graphical environment. For example, I want to run my browser when I ...
3
votes
0answers
40 views

Typing punctuation adds an accent to the preceding letter after my laptop is docked for a few minutes

I am running Manjaro XFCE. Everything worked like a charm for months now, but 2 weeks ago the keyboard configuration from my external keyboard seems damaged. Writing on my laptop itself works ...
1
vote
0answers
12 views

Assigning a global hotkey to a functionality of an appilcation in KDE

How can I set global shortcut keys to Pause and Record buttons in audacity? Options of vlc allow assigning global hotkeys but there's not such options in audacity.
5
votes
1answer
30 views

How to disable Alt-Arrow switching of Virtual Consoles?

The following happens on different Linuces: When I'm in a virtual console, hold Alt and press ← or →, the virtual ttys cycle. This is really annoying as I'm using fish-shell which also uses this key ...
1
vote
0answers
7 views

How do I allocate a key shortcut to moving GNOME 3 workspaces up/down?

In GNOME 3, in the Keyboard Shortcuts area of the Keyboard settings page, it is possible to allocate shortcuts to move between workspaces and move windows between workspaces. Unfortunately, however, ...
1
vote
0answers
10 views

Remap “Show the Overview” to control in Gnome ( Fedora 20 )

I would like to remap "Show the Overview" to control, but the gui will not allow it. Is there a config file somewhere I can use to specify this? Screenshot
0
votes
2answers
50 views

Openning root terminal by keyboard shortcut

I am using Debian Linux and I am setting some shortcuts on it. So in keyboard window I went to shortcut, added gnome-terminal, and set Ctrl + t as the keys. But in Debian we also have "Root ...
4
votes
0answers
41 views

Disable keyboard shortcuts in Thunderbird

Is there a way to disable those evil keyboard shortcuts in Thunderbird ? When I accidentally hit a, suddenly the message gets archived and a new Archives folder is created. Similarly other keys bring ...
-3
votes
3answers
85 views

Why does hitting “Ctrl minus” in the command line shrink the font size?

I have hit a few CTRL- in command line and I see the text in the terminal getting smaller with every invocation. What is going on here and is there a way to redo ie magnify the text to bring it back ...
4
votes
1answer
17 views

How do I re-map the changing pane keys in tmux?

I want Prefix + Up,Down,Left,Right to be mapped to Prefix + Ctrlh, Ctrlj, Ctrlk,Ctrll. I tried: bind-key C-h Left bind-key C-j Down bind-key C-k Up bind-key C-l Right But it didn't really work: ...
1
vote
1answer
29 views

How to invoke Gnome 3 activity screen using command line?

What I'm trying to do I'm using a Logitech MX Revolution mouse, which has a button below the scroll wheel mapped to search, which I remapped to middle click. For doing so, I had to remap XF86Search ...
0
votes
0answers
53 views

Use CTRL-SPACE to open menu on Linux Mint

I'd like to use the keyboard shortcut CTRL + SPACE to open/close the Linux Mint menu (similar to how Command + SPACE is used on OS X to show/hide Spotlight). I tried going to Settings -> Keyboard -> ...
2
votes
1answer
190 views

Linux Mint (Cinnamon, Muffin) set a keyboard shortcut where one of the keys is a mouse

Linux Mint 17 Cinnamon Edition. I want to create a keyboard shortcut involving the mouse. Specifically, I want to make it so clicking Alt, right-click, and dragging my mouse allows me to resize the ...
0
votes
2answers
48 views

How to catch keystrokes in Linux environment

I need a C code to be executed when some particular keys are pressed in Linux "Desktop" environment. What are the ways to register for such an event and How? Should I write ISR for that? I need an ...
1
vote
1answer
32 views

Deactivate key events from mouse side-buttons

I'm having a similar problem to this question - I run Linux with an Apple Mouse connected which has these horrible side buttons which I press accidentally all the time. Among other things, it has ...
2
votes
3answers
86 views

Remapping a keyboard key to print ⸮ (irony mark)

I find myself using the irony mark ⸮ unicode U+2E2E (or ؟ unicode U+061F) in both mcabber and vim a lot. The old copy-and-paste antipattern is tedious so I thought I would rename one of the many ...
1
vote
1answer
56 views

How to change the “power key” for ratpoison window manager

Using the ratpoison window manager, how could I remap the "power key" (which is by default Ctrl-T) to something like the Windows button? I have created a configuration file already (~/.ratpoisonrc) ...
0
votes
0answers
44 views

Script to gracefully kill X server and drop to tty?

I use the terminal to do the majority of my day-to-day computing, so I have the default runlevel set to 3 in /etc/inittab and I only start the X server when I need to. I currently have the following ...
2
votes
1answer
185 views

How to send commands to nested tmux sessions?

I have the following in my .tmux.conf set -g prefix M-j bind-key j send-prefix I need to press (Atl+J) + (J) + bound-key to send something to the nested tmux session. I feel it is rather slow. Is ...
0
votes
1answer
83 views

Cinnamon 2.2 How to add custom shortuct: move workspace up

I'm quite aware this must have been asked many times, but I cannot seem to find the right search terms to get an answer. I would like to have Ctrl+Shift+Up move my workspace up, and similarly ...
2
votes
0answers
72 views

Alt key not recognized - Dell Inspiron n4110/Mint 16 (Petra)

I'm running a fresh install of Mint 16 on an essentially-brand-new Dell Inspiron N4110. I booted to Kali Linux initially, and noticed AltTab, AltF4, and AltD (address bar focus) weren't working in ...
2
votes
2answers
144 views

Open URxvt tab with shift-down, not with ctrl-t

On Debian, Shift+Down in URxvt opens new tab. But recently I started using another machine with Fedora, and here it has no effect; here Ctrl+T does that. But neither one works on both, so I'm doomed ...
1
vote
1answer
82 views

Is it possible to change the key binding for completion in bash shell?

For bash, I would to modify the tab key for completion to the escape key. I know that key bindings are defined in /etc/inputrc. But I don't know if something like this could work: `"\e" : ...
2
votes
0answers
41 views

Registering new mouse buttons with events in KDE

Is there a file or something where I can register the mouse events to do something? I'm using KDE. For example, in Windows, pressing Win + ArrowKeys nicely aligns the windows, I am looking for the ...
2
votes
2answers
3k views

Global Keyboard shortcuts in Ubuntu 14.04

I've just upgraded my distribution from 13.10 to 14.04, which seems to have broken global keyboard shortcuts. They are still present in the "Keyboard settings" as before. Although media keys are ...
1
vote
1answer
117 views

Language bar in RHEL 6

I'm having a problem with the language bar specifically in RHEL 6.5. I need the following: Language bar on the panel with either 2-letter code or a flag Switch languages with Caps Lock, optionally ...
1
vote
1answer
59 views

keyboard shortcut over vnc not working

I'm not sure if my issue is with linux or vnc or both. I'm running on a system with centos which I'm VNCing into. I want to be able to toggle between windows inside the linux box, but I want alt-tab ...
0
votes
1answer
33 views

xbindkeys and messed up outputs

I am trying to set some key bindings for the use inside my wm. so I did xbindkeys -mk and start testing with keys. The result was somehow not what I expected. Left wind key ===> m:0x50 + c:115 ...
1
vote
0answers
16 views

How to stop tmux capturing key sequences?

My xterm is configured to produce this sequence: Ctrl ~Shift <Key>Tab: string(0x1b) string("[27;5;9~") \n\ Under tmux it almost always does not work (sometimes it passes through). What could ...
1
vote
1answer
71 views

What does ^Z mean?

I tried using ^Z to send and application to the background(to then use fg to restore) but I notice that it says "Stopped" and in another terminal while monitoring htop, everything just freezes. Is ...
3
votes
1answer
171 views

Broken history search after upgrade of oh-my-zsh

I did the auto-upgrade of oh-my-zsh a few days ago. Now my filtered history (type a few letters and up arrow) no longer works. I did not realize how dependent I became on it. EDIT: For example, I ...
2
votes
1answer
179 views

xorg.conf XkbOption ignored for terminate:ctrl_alt_bksp to restart X

I want Ctrl+Alt+Bksp to restart X, so I created an xorg.conf rule: /usr/share/X11/xorg.conf.d/53-zap.conf: Section "ServerFlags" Option "DontZap" "false" EndSection Section "InputClass" ...
2
votes
1answer
44 views

How to bind a key sequence to a widget in vi cmd mode zsh?

Let's say I want to bind R to redo in vicmd mode. This works. bindkey -a r redo If I change it to this, it does not work. bindkey -a rr redo I have tried different things with no success. Is ...
2
votes
0answers
105 views

How can I prevent my bluetooth keyboard from sleeping?

I like to type using a bluetooth keyboard. After about 5 or 10 minutes of being idle, the keyboard seems to go to sleep. Once the keyboard is asleep, there is a 5 to 10 between the next key press ...
1
vote
1answer
84 views

Forcing keys to run bash scripts

Is it possible to define bash scripts for all keys on keyboard so that by pressing any key the bash script for that key will be run? The scripts may do anything, for instance they may save the key ...
3
votes
1answer
135 views

Unset Fn key in emacs (console)

When I run emacs24 on the console the Fn key on both my Lenovo laptops sets the selection mark (in the same way as C-SPC). That's pretty crazy behavior as I need the Fn key to change screen ...
6
votes
1answer
129 views

Save custom keyboard shortcuts in Gnome

On my Debian system I've customized my Gnome (Shell) keyboard shortcuts, via System Settings > Keyboard > Shortcuts. Where do I find the file with these settings so that I can copy the file onto a ...
3
votes
1answer
51 views

Dual keyboard shortcuts in Gnome

I would like to set multiple keyboard shortcuts doing the same thing. My particular example is Volume Up/Down, I would like to retain the standard settings I have (Sound/VolumeUp - ...
1
vote
0answers
54 views

htop: Using Ctrl + n & Ctrl + p to move between processes

I'm running the latest version of htop through Homebrew on the latest OSX. htop seems to work well on my terminal (either Terminal or iTerm), but: I'm unable to use Ctrl+n and Ctrl+p to move up and ...
1
vote
0answers
332 views

ElementaryOS / Specific layout

For switching layouts between three different languages I use Ctrl+Shift but this approach very slowly. I want to use specific combination for the specific layout. Like: English -> Ctrl+Shift+1 ...
2
votes
1answer
201 views

Change volume with terminal

Using mate and linux mint, I would like to create another keyboard shortcut to increase and decrease the volume. Currently, I'm using custom keyboard bindings with mate-keybinding-properties. I ...
2
votes
1answer
54 views

Keypad plus and minus names in ~/.XCompose

I use XIM under Debian Linux with Gnome 2. Many compose sequences are already defined in the system, including the one for ± sign: palec@Palec:~$ grep PLUS-MINUS ...
2
votes
1answer
52 views

How to customize or reprogram function of specific keys on my keyboard and the LED on my laptop

When I disable bluetooth on my laptop, the light does not go off and the blinking of the Wi-Fi LED is starting to bother me. Since I sometimes use my laptop in a poor lighting condition an illuminated ...
1
vote
1answer
73 views

Mapping C-1 does not work in VIM

I'm trying to bind 1gt to CTRL + 1, so in vimrc I added nmap <c-1> 1gt But pressing these keys in normal mode does not work. Either VIM (konsole) or gVIM Anything wrong with my command?
2
votes
1answer
1k views

Whisker menu remove keyboard shortcut

Using Linux mint 16, with XFCE as desktop environment. I have a problem removing the default keyboard shortcut (Super_L), for opening the Whisker menu. The shortcut shows up in Application shortcuts, ...
2
votes
1answer
45 views

How can I install tactile audio keys on my latitude?

I have a Dell latitude 6430u which has three tactile keys for mute/audio decrease/audio increase. On debian (sid), either with xfce or gnome, these keys don't work well. The mute key has never work. ...
0
votes
2answers
100 views

Switch between tabs (panels) in Mint

How to switch between tabs (panels) in any window (i.e. setting windows for keyboard) in Linux Mint? I use Ctrl+Tab in Windows.