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)

2
votes
0answers
16 views

Keyboard shortcut for horizontal scrolling

Is there a utility I could use to scroll the active window horizontally using the keyboard?
0
votes
0answers
14 views

Additional keybinding combination to copy text to clipboard

I would like know, how to make copy to clipboard work not only with the default Ctrl+c key-combination but also using Ctrl+End for instance. How do I do that?
4
votes
2answers
34 views

confusing behavior of emacs-style keybindings in bash

Bash offers many useful emacs-style keybindings for simple commandline editing. For example, Ctrl+w deletes ("kills") word left from the cursor. Another keybinding, Alt+d is supposed to be a "mirror" ...
2
votes
1answer
14 views

Custom shortcut to i3lock screen

I'm having difficulties with creating a custom keyboard shortcut. I'm trying to lock my screen using i3lock with a picture. From the terminal, the command i3lock -i ~/Pictures/lock.png works like ...
1
vote
2answers
39 views

Ctrl-w closes my Chrome window

As I become more used to Emacs, I mix it with other applications quite a lot. For killing some text in Chrome browser windows, I repeatedly type Ctrlw, and close chrome windows and lost my unfinished ...
-1
votes
0answers
17 views

How to configure keyboard shortcuts for Gcolor 2 in Linux Mint?

Just installed Gcolor2 color picker for linux. I cant find how to set keyboard shortcuts for color picker. Does anyone know how to do it?
1
vote
1answer
16 views

Xterm Ctrl+Arrow shortcut keys

I'm using xterm version 293. While navigating in a command, I normally use the short-cut keys as Ctrl+LeftArrow or Ctrl+RightArrow to move back and forth. But while doing so, rather expected ...
0
votes
1answer
30 views

What does meta+n do in the terminal

When I click this it replaces whatever I have currently typed into the buffer with a :. Hitting backspace will go back to whatever I had in the buffer but I can't seem to find what the hell it's ...
3
votes
0answers
81 views

Ctrl+Alt+Backspace to kill X server can't be disabled

I would like to disable the Ctrl+Alt+Backspace shortcut to kill my X server. I have tried disabling it in the gnome-keyboard-properties "Layout Options..." dialog. When I start the dialog, the option ...
2
votes
0answers
22 views

Fluxbox: how to map a key for taking screenshot of selected area?

I want to map the Ctrl+Alt+4 to take a screenshot of a selected area. Right now I can do that from a terminal using gnome-screenshot -a. I have tried putting: Control Mod1 4 :ExecCommand ...
4
votes
1answer
48 views

Shortcut to google selected text

Is there a way to customize evince to search on Google a selected phrase? Like in Firefox where I select a text and right-click--> "Search Google for ..." If evince isn't customizable, is there any ...
0
votes
0answers
11 views

Scientific Linux 6 assigning keyboard shortcuts

Can I assign keyboard shortcuts for launching Konsole terminal emulator on Scientific Linux 6 without administrator privileges? If so can you guide me how, I appreciate your help.
3
votes
1answer
33 views

How to add a key binding to maximize/close all windows?

Lubuntu uses LXDE with Openbox. I can configure key bindings in ~/.config/openbox/lubuntu-rc.xml I want to add key bindings to maximize all windows and have the current active one on top. I also ...
1
vote
1answer
17 views

ALT + CTRL shortcuts in MATE problem

I've installed MATE under Arch Linux. I've a problem with the shortcuts. A lot of the shortcuts doesn't work so I tried to change them. When I'm trying to reassign the shortcut I go to Settings -> ...
0
votes
1answer
25 views

Changing keyboard layout on Scientific Linux 6.0 and creating new keyboard shortcuts?

I have two questions regarding keyboard input and shortcuts: Is it possible to change the keyboard layout on Scientific Linux 6.0 and how can it be done? Is it possible to define new keyboard ...
16
votes
8answers
2k 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
21 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
45 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
39 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
47 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
24 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
37 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
8 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
11 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
71 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 ...
5
votes
0answers
54 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
87 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
20 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
41 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
73 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
300 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
49 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
35 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
94 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
78 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
55 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
298 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
98 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
93 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
159 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
85 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
44 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
4k 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
136 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
74 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
34 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
20 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
208 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
206 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" ...