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
1answer
138 views

Alt +Tab behaviour in Gnome

It may be a silly question but in Windows I used ShiftAltTab to switch back between my open windows, that is go back to previous windows. Unfortunately, it is not working in Gnome. I have even used ...
1
vote
0answers
386 views

How to scroll in a terminal by line in GNOME Terminal 2.31.3?

I use Shift+(PgUp/PgDown) while scrolling in the terminal. But it seems to scroll one screen (or a half may be) at a time. I feel comfortable scrolling the terminal by line with the mouse, but don't ...
3
votes
3answers
801 views

switching windows in twm with keyboard shortcuts

I am using a system that runs twm and I am wondering if it is possible to switch between windows using keyboard shortcuts, as I do in gnome with Alt+Tab.
1
vote
1answer
116 views

Why do some default bindkey keys do not work in tcsh?

I'm using tcsh and I'm seeing that some of my custom and some of the default bindkey bindings do not work. Why don't they work? For example: I load some default bindings: bindkey -e I check the ...
2
votes
1answer
194 views

Suspending the global KDE&X-Windows keyboard shortcuts while specific application is running

I'm running KDE on Arch-Linux 64b. I've been a Vim user for two years now, and I want to try learning Emacs - just so I can have a justification when I diss Emacs users. So far, my main problem with ...
2
votes
1answer
237 views

Playing around with shortcuts and window sizes with awesome WM

I've been trying awesome WM for a few months now and i am really enjoying it. I am now playing around with the rc.lua file, and I'm searching for a way to do two things. With the shortcut mod4+Enter ...
2
votes
1answer
1k views

Cut + Copy + Paste in Linux Puppy Wary

Trying to cut + copy + paste from the standard urxvt shell in Puppy Linux Wary 5.3. If I follow this post on http://crunchbang.org/forums/viewtopic.php?id=15085 and I press: in urxvt: ctrl + ...
2
votes
1answer
326 views

Keyboard shortcut for SIGTERM in GUI application?

Related to another question, is there a way to send SIGTERM to the currently focused local GUI window application with a keyboard shortcut? Like clicking the [X] button in most WMs or Ctrl-c for the ...
0
votes
2answers
4k views

Gnome3/cinnamon set keyboard shortcut

I cannot find where I can set keyboard shortcut for switching languages. Update: New problem: I cannot set Alt+Shift combination for that.
7
votes
3answers
3k views

Where do I find a list of terminal key codes to remap shortcuts in bash?

For example: "\e[1;5C" "\e[Z" "\e-1\C-i" I only know bits and pieces, like \e stands for escape and C- for Ctrl, but what are these numbers (1) and letters (Z)? What are the ;, [ and - signs for? ...
2
votes
1answer
204 views

How to make Ctrl+PgUp and Ctrl+PgDn change window tabs

I am running GNOME 3.4 (Debian 7.0) and my laptop (Gigabyte Q2532), unlike all those I've used before, doesn't change application tabs with CtrlPg Up and CtrlPg Dn. This forces me to use Alt0...9, ...
0
votes
1answer
45 views

Keyboard shortcut to switch files in one Emacs instance?

I've multiple files opened in an Emacs client. Right now, to toggle between files, I've to click on the file name at the bar below in the editor. Any keyboard shortcuts for switching between files?
0
votes
2answers
127 views

Emacs “jump to class definition” functionality?

I want to jump to a class file "A" from another file "B" which defines objects "A". In eclipse, it is done using F3. Is there a way to achieve this in emacs?
8
votes
2answers
202 views

Single key audio capture in Linux (save on key release)

I'd like to run a program that records audio only when the Right Control key is held down. On keyboard release the result would write to disk as, e.g. yy-mm-dd hh:mm.ogg. How might I do that? $ ...
2
votes
0answers
1k views

How to write dconf overrides for site-custom keybindings?

I want to add custom keybindings using dconf. Previously, I had do the same job using gconf and succeeded. However, there are some problems using dconf. (I'm working on a Debian package, so ...
2
votes
3answers
728 views

tcsh shortcut to move the cursor back to previous space

I'm looking for a keyboard shortcut in tcsh to move the cursor back to the previous blank: not ESC+B which takes me back one word (for instance, in a path argument, to the previous path component) - I ...
1
vote
0answers
428 views

Turning off gnome's Function key mapping

I recently upgraded to Fedora 18 with gnome. My function keys started to do things like open the cd player (F12) and turn the volume up (F11) and down (F10). I'd like to just pass those though to the ...
1
vote
1answer
163 views

xmodmap causes incorrect keyboard shortcuts

I used xmodmap to switch the Caps Lock and Ctrl keys on my Thinkpad X120e. The keys are swapped but this has caused keyboard shortcuts in several applications to stop working correctly. In Libre ...
6
votes
3answers
481 views

How to save current command on zsh? [duplicate]

I am typing a command, I remember I have to check something, if I press Ctrl+U the command disappears and I can type something else, but then the command I was typing is not in the history. Is there ...
5
votes
2answers
114 views

Keyboard combination to insert non keyboard characters

on windows one could with Alt+235 print ë into (any) textfield. I tried the same on linux and it seems to be not working. Depending on the application the result is different, but never the wanted ...
0
votes
1answer
363 views

How to map terminal shortcut from CTRL-M to another combination

I read in another post that you can type CtrlJ or CtrlM instead of the Return key in the terminal, which is great. But what I want to be able to do, is change that to another combination, for example: ...
1
vote
1answer
155 views

What program or feature is overriding my “Unity style” keyboard shortcuts in DockbarX?

I have DockbarX installed with the option "Use Unity style shortcuts (Super+number)" enabled. Recently I am unable to activate the 2nd application with Super+Shift+2 (I'm on azerty). When I use that ...
20
votes
3answers
10k views

Ctrl-s hang terminal emulator?

I came across a sentence in vimdoc: Note: CTRL-S does not work on all terminals and might block further input, use CTRL-Q to get going again. and this key indeed hangs my vim. I was ...
0
votes
1answer
55 views

Need to reset the Keyboard shortcuts defined

I bound some keys by mistake, and they don't work any more, such as HOME, END, UP, DOWN, LEFT, RIGHT. Is there a way to reset all the bound keys to their original state? I know this might be ...
1
vote
1answer
255 views

How to set up keyboard shortuts with custom modifiers (like Mod3) in Cinnamon?

I'm trying to migrate from Mate into Cinnamon. In Mate, it was possible to assign custom modifiers to Switch to workspace on the left of the current workspace. In Cinnamon keyboard configuration ...
2
votes
1answer
573 views

Multimedia keys (Fn+[F1..F12]) don't work anymore after upgrade

I'm experiencing a strange issue with the multimedia keys on Archlinux with XFCE 4. I used to change the sound level with FnF11/F12 keys but after a reboot, I'm not able to use it anymore. Moreover, ...
1
vote
2answers
379 views

Shortcuts in Xfce are not working anymore

After few weeks of using Xfce I suddenly ran into following problem - my keyboard shortcuts are not working when I am using two monitors (actually one monitor and notebook itself). When I unplug ...
1
vote
2answers
425 views

Mapping intr to del key

I am in the process of migrating a legacy 4GL application from SCO OpenServer 5.0.7 to CentOS (Red Hat) Linux 5.9. There are a number of screens that prompt the user to press "DEL to ABORT" but is ...
0
votes
1answer
76 views

Sawfish and fvwm bindings not working when logging in with a display manager

On one machine running Debian squeeze, when I log in with a display manager (I tried xdm, gdm or kdm), none of my Sawfish key or mouse bindings have any effect. If I log in in text mode then run ...
1
vote
2answers
700 views

XFCE4 Open PanelMenu via shortcut

I want open the XFCE4-Menu via a keyboard shortcut. I tried to map the command xfce4-popup-menu, but got the error: Failed to execute child process xfce4-popup-menu Then I tried ...
0
votes
1answer
176 views

Is it possible to bind a shell script to a key press [duplicate]

I used xev to find the key code for fn-f5 and came up with a little script to toggle the bluetooth on or off. My question is whether it's possible to bind fn-f5 (keycode 246) to my shell script ...
6
votes
3answers
6k views

Switch between tabs in gnome-terminal with keyboard?

Once I've created a new tab in gnome-terminal with Ctrl+Shift+t, how can I switch back and forth between the tabs using the keyboard? For example, in Google Chrome the keyboard shortcut is Ctrl+Tab ...
4
votes
2answers
98 views

Where does the yanked text on commadline get stored?

When you delete characters on the command line using readline commands (e.g. Ctrl-U, you can paste using Ctrl-y, but where does it get stored? It does not seem to use X11 clipboard at all.
3
votes
1answer
131 views

Bind to execute command with last argument of previous command

I want to create a bind that executes g++ !$ in the same way that the shell would interpret it if I just typed it. I tried: bind '"\ee": "g++ !$"', but it doesn't execute command (just "pastes" it) ...
4
votes
1answer
3k 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 ...
4
votes
1answer
353 views

Map Super+[Left|Right] to Home/End

How do I map key "Super" so, when combined with Left/Right, it produces keycode Home/End? My current setxkbmap: setxkbmap \ -model pc105 \ -layout 'us(dvorak-intl),us(alt-intl)' \ -option \ ...
1
vote
1answer
886 views

debian/XFCE Virtualbox Guest on a Mac: how to use home and end keys?

So I have a Mac, and rather than boot debian/XFCE directly and have to configure hardware drivers I'm using VirtualBox. This means that my multitouch trackpad works well, and I can jump in and out of ...
7
votes
1answer
6k views

How to close any window in Awesome WM?

The shortcut to close individual applications completely depends on the application developer. Some examples: Ctrl-q for Firefox Meta-F4 for Chromium Ctrl-Shift-q for GNOME Shell To close ...
7
votes
2answers
508 views

Program to show keystrokes (shortcuts) on display

I'm going to make a presentation about a software product and it has some key shortcuts, that I want to show. Is there a program, which displays the keyboard-shortcuts, that I have used?
5
votes
2answers
196 views

How to consistently start Vim's command line to make a mapping work in any mode?

I try to normalize access to Vim's command line mode from any other mode in order to simplify my actual mappings. For example to make the <f6> key work from anywhere I define the following ...
6
votes
1answer
295 views

How to change Vim's command type mode programmatically?

Is there a simple way to switch from one command type mode to another without loosing the current command line? In my ~/.vimrc file I remap the <space> and <c-space> character, coming ...
17
votes
5answers
10k 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?
3
votes
1answer
841 views

Control-q-? key binding in Awesome WM

I wish to configure my Awesome Window Manager so that the keyboard shortcuts begin with ctrlq. ctrlq-x, ctrlq-y, ctrlq-z, and so on... I've attempted to modify the /etc/xdg/awesome/rc.lua config ...
1
vote
1answer
820 views

CentOS: Avoid that ALT-F4 switches to console

At least every Linux system that I worked with used the convention to switch to the non-graphical consoles by Ctrl-Alt-F1, Ctrl-Alt-F2 and so on. Recently, I installed CentOS 6.3 on a machine. The ...
0
votes
0answers
3k views

I can't open the terminal in Cinnamon

I have Linux Mint 13 with Cinnamon installed, but I can't open a terminal using right click nor using CtlrAltt this is just an issue with Cinnamon, why is that happening? Update I tried to solve the ...
2
votes
0answers
3k views

Shortcut to minimize all windows?

In Windows systems, I use the keyboard shortcut Start-D (show desktop) a lot. I'm using Linux Mint, and I wonder: Can I create a keyboard shortcut that will do the same? edit after the comment from ...
1
vote
0answers
558 views

Remapping gnome-terminal shortcut keys [closed]

According to the Gnome-Termianl Usage, I found that ctrl+shift+up/down can scroll up/down a line in the terminal. Now, I want to re-map the shortcut key, just like: alt+j/k to scroll up/down a line, ...
3
votes
1answer
406 views

Have Sun keyboard moon key (116) not shut down my computer

On my Sun keyboard, the top-rightmost key (with a moon image, right above the keypad) shuts down my computer. I'd like it not to, as I hit it by mistake now and then. In /etc/default/keyboard, I only ...
2
votes
3answers
1k views

Ctrl + left/right arrow keys issue

After the last system update the ctrl + left/right arrow command on zsh terminal doesn't do anything. Also ctrl+ u has something wrong because usually that command erase from the cursor to the ...
1
vote
1answer
271 views

Reassigning Ctrl + Arrow keys in Vim [duplicate]

Possible Duplicate: How to fix Ctrl + arrows in Vim? Through the several tutorials and tips and tricks site about Vim, I think I happened to read that one can reassign a combination of keys ...