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 (2)

1
vote
0answers
5 views

Shift +Menu as a hotkey in KDE

In KDE environment I have set Menu button as a hotkey for switching language layout. But it does not work when Shift is pressed. So I need to set Shift+Menu as another hotkey for changing language ...
2
votes
2answers
23 views

Inverting FN keys

My notebook is equipped with one of those fancy multimedia keyboards where you have to hold the FN key in order to use the classic function keys (F1-F12). Is it possible to invert this behaviour in ...
4
votes
1answer
42 views

How to revert from searching to original command

Following the instructions here, I edited by .bash_profile to enable the up and down arrows to autocomplete what I have typed in the shell based on previous commands. I added to my .bash_profile: # ...
61
votes
13answers
39k views

Getting tmux to copy a buffer to the clipboard

I am trying to figure out a decent way to copy what I have in a tmux buffer into my clipboard. I have tried a couple of different things like bind-key p select-pane -t 2 \; split-window 'xsel -i ...
0
votes
1answer
17 views

Failed to disable shorcut on ubuntu14.04 and debian8

I used: gsettings set org.gnome.desktop.wm.keybindings switch-applications "[]" gsettings set org.gnome.desktop.wm.keybindings close "[]" to disable Alt+Tab and to disable Alt+F4 respectively. In ...
2
votes
1answer
852 views

Cannot change global keyboard shortcuts in Linux Mint XFCE

I am using Linux Mint 14 XFCE. I am trying to remove the default XFCE window manager shortcuts for workspace switching (Ctrl-F1, Ctrl-F2, etc.), as described in this question. The answers there ...
0
votes
1answer
20 views

Is CTRL+4 equal to ^4 or ^$ in caret notation?

This is a problem I have been thinking about. This Wikipedia page suggests that Ctrl+{Symbol} uses the shifted variant of {Symbol} when written in Caret notation. This suggests that CTRL+\ becomes ...
1
vote
0answers
12 views

How to force the X server to produce a specific keysym and state?

I have a Macbook which I want to map the right "command" key (also known as Super_R, RWIN) to AltGr. The reasons I want this is due to how a normal Norwegian keyboard has its square bracket keys and ...
1
vote
2answers
52 views

How to interrupt uninterruptible program?

If I run mysqld from the command line, it displays some startup messages, and then stops responding. It doesn't produce output, and ignores any input, and there seems to be no way to get rid of it. ...
1
vote
1answer
18 views

Debian/Xfce: Keyboard shortcut for home and end keys

I'm running xfce4 on debian. I'd like to assign keyboard shortcuts for the home and end keys (specifically, to move the cursor to the beginning and end of a line). In the settings manager there is a ...
1
vote
1answer
15 views

I cannot use the keyboard shortcut <ctrl>+<alt>+<enter> in matlab running in emacs running in screen

In my usual setup, I use use matlab-emacs to run Matlab through the emacs gui. I run matlab and emacs on a linux server, and use ssh and X forwarding so this all shows up on my local ubuntu laptop. ...
3
votes
4answers
2k views

Home key not working in terminal

I am using GNOME Terminal 2.7.3 and zsh 4.3.9 (x86_64-unknown-linux-gnu) Home and End are not working. Nothing happens and nothing gets displayed when I press them. but they work when I press shift + ...
4
votes
1answer
106 views

How to debug what blocks a key sequence in urxvt?

According to this port, i made these configuration in my .Xresources for urxvt: URxvt*keysym.Control-1: \033[27;5;49~ URxvt*keysym.Control-2: \033[27;5;50~ ...
2
votes
1answer
1k views

How to bind “Ctrl-Alt-b” as the prefix of tmux?

Tmux uses Ctrlb as its prefix, but Ctrlb conflict with Emacs. I want to bind CtrlAltb to tmux's prefix. I guess it may be C-M-b but didn't work...
0
votes
0answers
45 views

make shortcut for changing keyboard language in kali

I'm new in kali and I set two keyboard language (English and Persian) I can switch to Persian by pressing the little logo rigth top of desktop but I want to have a shortcut. what shoud I do ?
2
votes
1answer
32 views

Access the GNOME shell aggregate menu per keyboard

Is it possible to access the aggregate menu, or system menu, located in the top right corner on the activities bar of the GNOME shell interface, with a keyboard shortcut? If not, can such a shortcut ...
4
votes
2answers
1k views

How to move windows across displays in Gnome 3?

In Gnome 3, moving windows with the keyboard shortcuts Meta+← and Meta+→ can be convenient. Now, I have two displays installed and would like to move windows across the displays without ...
0
votes
1answer
38 views

Is there a way to log key presses under linux?

I am a heavy Vim user and I also use a ton of tmux and a load of bash in my everyday computer activities. In order to optimize my work flow, even more, I would like a way to get a log of all key ...
1
vote
1answer
15 views

What are the keyboard-shortcuts for Matchbox window manager?

There doesn't seem to be anything related in the man pages for the matchbox executables. Googling & SO'ing has not led to me to anything, either.
4
votes
2answers
2k views

How to get brightness keys working inside openbox session?

I'm using Openbox window manager without DE. I'd like to get fn + [brightness up/down icon] working like it is in GNOME/KDE, but i'm looking for lightweight solution without gnome-power-manager and ...
1
vote
1answer
20 views

Remapping both Caps Lock and Windows keys to be separate modifiers

I want to use both my Caps Lock key and Windows key in my i3wm config. In particular, I want Caps Lock to take the place of $mod in the config and I also want to be able to reference the Windows key ...
1
vote
2answers
874 views

Linux guest VM on mac host - Keyboard

I use a Mac as a development box, but am slowly transitioning to Linux. So I am spending the majority of my time in the Linux guest VM while working. But I still spend a fair amount of time in Mac ...
1
vote
0answers
23 views

XFCE menus override shortcut keys

I have recently installed debian 8 with xfce 4.10, and I am annoyed by the following: Menus (like e.g. the one that pops up if I press ctrl-esc) overrides the access to short cuts. Normally I have ...
6
votes
1answer
6k views

Delete key doesn't work on command line

*Note: I asked this same question on SuperUser, but didn't get any response. I now realize this is a more appropriate forum for this particular question. In a ksh shell, the Delete key doesn't work ...
2
votes
1answer
25 views

Adjust volume using mouse multimedia buttons

I know that there are many questions on the internet about setting keyboard/mouse multimedia keys/buttons in Linux, nevertheless my question is more specific. My wireless input devices: Logitech ...
2
votes
1answer
789 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" ...
23
votes
5answers
22k views

How to scroll in a terminal using keyboard?

How can I scroll in bash using only the keyboard? If it's not possible in bash, are there any other shells that support this?
1
vote
1answer
2k views

Free all function keys ( F1-F12 ) for gnome-terminal

I'm using gnome-terminal and I need to free all the F keys because I need to remap them to something else inside vim, how I can do that? I'm running Ubuntu 13.04.
2
votes
1answer
65 views

Re-map or un-map F10 from triggering window file menu in Xfce

By default F10 on Xfce activates the menu File menu and so cannot be used as a shortcut in any program. I already looked in the Window Manager and Keyboard settings pages and no F10 key binding is ...
3
votes
1answer
45 views

Can't enter capital letters using shift key

In some applications entering capital letters works like hitting ESC key. Reproducing: Open LibreOffice document Select "Save as" (Unity dialog) Hit "Create folder" Enter a capital letter using ...
1
vote
1answer
25 views

LXDE hotkey to start app or switch to it if already running

I got used to Win+(1..9) hotkeys in windows 7+, and would like to implement something like this in LXDE. So, I need to define a hotkey that will: launch defined application if it is not launched ...
0
votes
1answer
19 views

Jump to a Byobu window by number

Let's say I have a dozen windows open in Byobu, I am currently on window 2 and I want to go see what's going on in window 9. How to quickly jump to another window, without having to press F4 seven ...
0
votes
0answers
7 views

To get Stable Keyboard Configs for 90 WPM and Dvorak in Debian?

I am trying to set stable keyboard configurations for the user with 90 WPM of correct words per minute and the keyboard layout Dvorak. The cursor location is behaving unstably for instance in editors ...
0
votes
0answers
22 views

Xubuntu brightness keys incrementation randomly resets

Xubuntu 14.04 has a common bug for brightness controls. For most people editing /etc/default/grub/ to add acpi_backlight=vendor, then sudo update-grub, and rebooting works. However, it did not work on ...
2
votes
3answers
44 views

How do I remap newline and carriage return regardless of the terminal used to connect?

All my configuration is stored in my github account (https://github.com/mnebuerquo/dotfiles) so I can just clone my repo and run my install script and my home is configured to use all my tools. I ...
24
votes
6answers
9k views

How to enable killing Xorg with Ctrl+Alt+Backspace

I don't remember why they did this, but at one point X.org decided that disabling CtrlAltBackspace to kill it was a good idea. I know there's a way to re-enable it but I don't remember how. Can ...
0
votes
2answers
42 views

Tmux bindings using Ctrl+comma

In OSX, on iTerm2, I can map Ctrl/Cmd/Opt+, or Ctrl/Cmd/Opt+. to hex codes that go to next or previous tmux windows. How can I use Super/Meta/Ctrl and comma/dot key presses on Linux to produce the ...
6
votes
3answers
1k views

Can you switch between windows within an application in Openbox?

Is it possible to set up a keybinding in Openbox for switching between open windows within an application? Just like you can in gnome 3 with alt + [key above Tab] .
5
votes
2answers
2k views

Return to X session after Ctrl+Alt+F1

What is the command to return to the graphical desktop after entering the terminal mode with Ctrl+Alt+F1? I need it for operating my Raspbian.
1
vote
0answers
8 views

Increasing volume causes left/right channels to be unbalanced

In Gnome 3, I mapped my volume up to amixer set Master 1000+, and down to amixer set Master 1000-. This works just fine, as long as I spin the volume roller slowly. If I am to spin it really ...
1
vote
3answers
140 views

Home and End keys in a gnuplot interactive terminal do not move cursor

When working interactively with gnuplot, the home and end keys do not move the cursor to the beginning and end of a line, but instead produce the characters "OH" and "OF", respectively. What's the ...
2
votes
1answer
41 views

Is there a way to restart XFCE with new settings from a bash script?

My laptop is running Linux Mint 17 XFCE Edition, and I'm trying to set it up so that I can use Emacs with my usual keybindings. These include certain autocompletion/fill commands involving Alt-Tab, ...
54
votes
8answers
14k views

Exit vim more quickly

I use Vim mainly for quick edits rather than long work sessions. In that sense, I find the keyboard sequence for quitting especially laborious: Esc, Shift + ;, w, q, Enter. How to quit Vim (possibly ...
0
votes
2answers
771 views

Keyboard shortcut to launch Nemo

In Windows you can type Super+e to launch the file explorer. I find this really useful, particularly because almost every action I take starts with search for a file or folder. Is there an equivalent ...
4
votes
1answer
692 views

F4-key mysteriously reassigned

In the middle of today, my F4 key started producing the letter p, without my conscious acting and I can't seem to revert this change. Whenever I press F4, p appears instead. How can I change this ...
0
votes
0answers
37 views

CTRL + ALT + L doesn't work anymore

I am running on Linux Mint and I use CTR + ALT + L to lock my keyboard. But now since 2 days it stopped working.Nothing happens when I use this key combination. When I go to: Menu > Keyboard > ...
0
votes
0answers
10 views

Hint driven Mouseless gui navigation

Is there any software that can display a hint on buttons so I can click around with just the keyboard? Like in those firefox plugins https://github.com/mooz/keysnail/wiki ...
9
votes
2answers
1k 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 ...
1
vote
2answers
40 views

How to change specific keys in the keyboard?

My Down and Right arrow keys were no longer functioning. Therefore, it is very difficult to use my laptop.So I want to change the key map like this: Pg up to function as Up arrow key Pg down to ...
11
votes
0answers
325 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...