Tag Info

New answers tagged

3

Executing a background job Appending an ampersand ( & ) to the command runs the job in the background. For example, when you execute a find command that might take a lot time to execute, you can put it in the background as shown below. Following example finds all the files under root file system that changed within the last 24 hours. find / -ctime -1 ...


0

Apparently Shift+Insert may not work properly on some installations of GTK 3, at least on FreeBSD. The issue is described as: Shift-Insert is not pasting primary selection. Instead, it is bound to paste the clipboard (for which Control-V is already used). Hence, there is no keyboard-only way to insert primary selection. One must drag the mouse to ...


0

tcsh set ignoreeof or set ignoreeof=<any value not 1> works


0

There are two de facto standard escape sequences for cursor keys; different terminals, or even the same terminal in different modes, can send one or the other. For example, xterm sends \eOA for Up in “application cursor mode” and \e[A otherwise. For Down you can encounter both \e[B and \eOB, etc. One solution is to duplicate your bindings: whenever you bind ...


0

Launch dconf-editor and go to org.gnome.desktop.input-sources.xkb-options. It should be like this: If you don't see 'terminate:ctrl_alt_bksp' you should add it there.


0

For example, my keyboard from Elan, find it with lsusb: lsusb|grep Elan Bus 002 Device 004: ID 04f3:00a4 Elan Microelectronics Corp. turn it off find /sys|grep -i 04F3:00A4|grep power/control|while read line; do echo "off" > $line done find /sys|grep -i 04F3:00A4|grep power/autosuspend_delay_ms|while read line; do echo '-1' > $line done ...


1

In the standard vicmd mode R is already bound to vi-replace-chars. So when you define R+R to redo with bindkey -a rr redo you have two possible actions Zsh could follow when R is pressed interpret it as the command vi-replace-chars or wait for a second character and then interpret the command redo The algorithm for matching keyboard commands in Zsh ...


1

Mapping keys to run commands You can create shortcut key combinations that will launch commands, I've successfully been using XBindKeys on GNOME 3.8.4 for this very purpose. My use has been modest but I like to create keyboard shortcuts for Nautilus to launch with certain directories opened. Example You'll need to first make sure the packages xbindkeys ...


1

This solution using dumpkeys, loadkeys and showkey is likely to work in other instances of function keys getting interpreted in unexpected ways by programs running in the Linux Virtual Console. Find the keycode of the key or key combo causing trouble by running: $ sudo showkey ... and hitting the key. In my instance hitting Fn gave the output 143. To ...


1

There is also "^b !" according to http://www.dayid.org/os/notes/tm.html (I also tried it and it worked for me)



Top 50 recent answers are included