Tag Info

New answers tagged

1

To search backward in your ksh command history, Ctrl-R in emacs mode ought to work, even if you're running an old version such as ksh88. It is not an incremental character-by-character search like in bash. You have to type Ctrl-R, then the string you want to search for, then Enter.


1

In recent GNOME use: gsettings set org.gnome.mutter overlay-key '' and to restore the default keybinding use: gsettings set org.gnome.mutter overlay-key 'Super_L' borrowed from here.


0

I am using Ubuntu 12 and was having a problem pasting text from xterm in gedit (and any other app). Also, I use a laptop with no middle mouse button like many people (there really is no clipboard mercy for linux users without middle buttons, and no: right-click+left_click is not working as a substitute). While I think the "xsel | xvkbd -xsendevent -file -" ...


1

It seems elementary-tweaks has no longer key bindings in elementary Freya. But luckily there is mode to bind keys in Freya also. You can use program named xbindkeys. Details about how to configure and use it you can find here. excerpt We only need xbindkeys, a simple yet powerful command line tool to bind commands to a certain key or keys ...


17

zsh like most modern shells have a choice between two different keyboard mappings for command-line editing: a vi one and an emacs one. In some shells (like tcsh or readline-based ones like bash), the emacs one is the default and probably the one you expect. With zsh, you get emacs mode by default unless $EDITOR or $VISUAL contains vi (if you're a ...


0

Remap the keys to something else then use them. http://askubuntu.com/questions/24916/how-do-i-remap-certain-keys-or-devices has some good instructions. But basically you use xmodmap to remap the home and end keys to someting like F13 and F14 then map them to shortcut keys normally.


0

clear lock clear control add control = Caps_Lock Control_L Control_R keycode 66 = Control_L Caps_Lock NoSymbol NoSymbol This will remap Caps_Lock to control and allow you to use Shift+Caps_Lock to trigger the normal behaviour of Caps_Lock


0

Another way to solve this is in your i3 config (probably at ~/.i3/config) do something like : bindsym Control+mod1+l exec i3lock -i ~/Pictures/lock.png or bindsym Control+mod1+l exec ~/.i3/scripts/locker And remove any gnome shortcut that mirrors what you want to use. Obviously, the shortcut can be specified as wanted.


0

You can enable the 'Utility:Inotify' Plugin and edit ~/.config/compiz/Default.ini As you can see, the <Primary> is not written to the ini-file. You can now write <Control>. The shortcut is active when the file is saved. example: [core] as_toggle_window_maximized_key = <Alt><Super>m as_toggle_window_maximized_horizontally_key = ...


1

In the old days, men were real men, women were real women, small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri, and Anglo-Saxon programmers thought that 95 printable characters and 33 control characters was enough for everybody. Bytes were pretty much 8-bit large all around, but 7 bits were enough for all the ...


0

This has turned out to be remarkably simple. I'll provide my configuration file as an example: section: screens optiplex-380: laptop: hp7: end section: links optiplex-380: left = laptop right = hp7 laptop: right = optiplex-380 hp7: left = optiplex-380 end section: options keystroke(alt+right) ...


0

I've added the following to my clientbuttons table: awful.button({ }, 2, function (c) c:kill() end) Now my scroll wheel click closes the window.


1

Urxvt has the excellent urxvt-perls collection of scripts that allow you to operate on text in the terminal without resorting to the rodent. In addition to copy and paste, you can select URLs and open them in your browser or yank them to the clipboard, search the scrollback, and generally treat the text as if you were in your $EDITOR.


1

If you're dealing with files discovered via ls, I usually find it easiest to tab-complete or glob them: if I want to act on report.tex, for example, it's faster to do vim re<TAB> than to copy-paste. But copy-paste does have its uses, certainly. I do most of my work in tmux with vi bindings. If you have emacs bindings (the default) the approach is ...


0

First, i tried strace parent processes like systemd and Xorg.bin, but i'm new to strace so i can't figure out. Then i thought it might related to permission issue (su -, sudo, ...etc). So i plan to press the shortcut key as root. So i quickly realized i can use sudo xdotool key Super+s to test it. Then what's surprising me it just works! So i try xdotool ...



Top 50 recent answers are included