keyboard shortcuts is a small set of keys that activates a programs or action.

learn more… | top users | synonyms (1)

18
votes
1answer
3k views

Pasting X selection (not clipboard contents) with keyboard

I'd like to be able to paste the X selection using the keyboard. Currently I have to use the middle mouse button to do this. I gather that faking a middle mouse button press is fairly easy to do, ...
18
votes
4answers
2k 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 ...
2
votes
4answers
2k views

Ctrl+C does not work in gnome-terminal

On my Linux host, Ctrl+C does not seem to work and I do not know how to proceed to make it work. I am using Ubuntu 10.04 with bash 4.1.5(1), and working in Gnome-terminal. When I pressed Ctrl+C while ...
9
votes
1answer
2k views

How to change previous/next word shortcut in bash?

How do I configure Ctrl-Left and Ctrl-Right as previous/next word shortcuts for bash (currently alt-b and alt-f)?
9
votes
2answers
2k views

Shell: how to go to the beginning of line when you are inside a screen?

I am inside a screen (screen -Ra). I have a long command, and I am at the end. Instead of keeping the left arrow, how can you go to the beginning of the line? CTRL-A works when I am in a normal ...
7
votes
2answers
1k views

Mapping key combination with xmodmap

I'm trying to achieve the following mapping keycode 135 = <Ctrl-C> Is it possible to achieve this in some way?
1
vote
1answer
68 views

Associating a function in Emacs after looking up the code with M-x describe-key

I would like to associate the following function (which toggles on and off full-screen on the active buffer): (defun toggle-maximize-buffer () "Maximize buffer" (interactive) (if (= 1 (length ...
7
votes
2answers
605 views

Yanking URLs in w3m

I have been using w3m for a couple of weeks and am convinced that it is my preferred text browser - with one exception. Is there any way to yank URLs to the clipboard without using the mouse? I have ...
10
votes
4answers
249 views

Is there a vim shortcut for <name of current file>?

In vim, if I'm working on a Python script, I will commonly type: :! python this_script.py to execute the script. Is there a shortcut for the name of the current file? If not, can I easily make one? ...
3
votes
3answers
436 views

tmux after start

Can I configure tmux so it will after running tmux automatically opens two windows named src and cmd? I always type after starting it: prefix + c, prefix + ,srcENTER prefix + c, prefix + ,cmdENTER ...
4
votes
2answers
76 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.
4
votes
1answer
146 views

Emacs commands in xterm

I found that the commands I used to use in gnome-terminal/bash, those I learned in emacs, are only partially working in xterm/bash. In some cases, I get strange chars like ÿ, æ, and â instead. Do you ...
4
votes
2answers
408 views

How to switch X windows from the command-line?

How can I create a script that automatically switches windows? I'm trying to do the same thing Alt+Tab does.
3
votes
3answers
97 views

Replacement shortcuts for `screen` [closed]

Screen uses the shortcut CtrlA to activate. I find that this interferes with the Bash command for jumping to the start of the line, and the VIM command for incrementing an integer. Certainly I could ...
2
votes
1answer
749 views

How do I edit the terminal launch command in Linux Mint?

In Linux Mint (Debian-based) how can I edit what the shortcut Ctrl+Alt+t launches? For example, I would like to issue gnome-terminal with the --maximize option, and to have it launch tmux instantly.

1 2
15 30 50 per page