New answers tagged

1

The Magic SysRq key is meant for situations like this. [The Magic SysRq key] is a 'magical' key combo you can hit which the kernel will respond to regardless of whatever else it is doing, unless it is completely locked up. Note that support has to be compiled into the kernel for it to work. This is a slightly better solution because it works even if ...


1

The behavior on pressing Ctrl+Alt+Delete is configurable. When you press this key combination, the kernel sends a SIGINT signal to process 1 (init), so it's up to init to decide. With systemd, SIGINT starts the ctrl-alt-del.target unit. By default /lib/systemd/system/ctrl-alt-del.target is a symbolic link to reboot.target. Create a symbolic link /etc/...


0

In Mint Mate 17.3, this still needs to be configured from a fresh install. It's easily doable by going to Menu -> Preferences -> Keyboard Shortcuts and adding a new Custom Shortcut to the preferred file manager. Doing this binds the shortcut to Mod4 + E. Unfortunately, if no other changes are made, this will not work when using the left Super key, ...


1

I recently bumped against a similar problem and, for future reference, here is a workaround: map <c-o> focus_inputbar ":exec acroread $FILE" This will map ctrl+o (or whichever your key is) to open the input bar you would normally open with : and input there that text. You can then press Enter to launch the command. This is far from ideal and still ...


0

First Option: You can use overview to drag the windows between monitors. Second Option: You can set shortcuts for the keyboard to move it.


2

Most tutorials you can find are about bash. Ksh is very good at scripting but is bad at interactive use. Use zsh (best) or bash (second-best) as a command line if you can. There are two main implementations of ksh today: the actual Korn shell ksh93, and the clone mksh (derived from the long-unmaintained pdksh). They have different key binding facilities. ...


1

The code implements these two bindings like this: if (ctrl && meta && (keysym == XK_c || keysym == XK_v)) { if (keysym == XK_v) selection_request (ev.time, Sel_Clipboard); else if (selection.len > 0) { free (selection.clip_text); selection.clip_text = rxvt_wcsdup (selection.text, ...


0

It could be a conflicting prefix key, so you could try changing this. Tmux allows for this, and you can make it persist by creating a ~/.tmux.conf file. The line to add to the conf file would be something like this: set-option -g prefix M-a Which would change your prefix key to Alt + A If you don't want these changes to persist, you can just run that ...


1

There are unrelated differences between Red Hat 6 and Ubuntu 16 for the screen-256color entry: the latter adds dim and omits initc. Neither of those changes is related to cursor-keys. Presumably the value of TERM outside tmux is xterm. There are also unrelated changes between the two systems for the xterm entry (the cursor color extensions mentioned in ...


1

Uim First released in 2005, uim is a multilingual input method library with interfaces to GTK and QT, as well as anything that supports xim (and more). Looking at computers I have nearby, Arch Linux, NetBSD, and Ubuntu all offer uim packages through their default distribution channels, which (to me) indicates some measure of acceptance in the community at ...


1

With xte that comes with the xautomation package it is possible to send keypresses to X. The package name may differ between Linux distros. This command will type a ☭: xte 'keydown Shift_L' 'keydown Control_L' 'str u262d' 'keyup Control_L' 'keyup Shift_L' By setting up a keybinding in your windowmanager for a similar xte command for the lira symbol, you ...


0

This is similar to How can I copy text from xterm (Awesome, Debian, VirtualBox)?, including part of the suggested answer. However: by way of background, xterm receives X events (which you can see using xev), and handles those in different ways: for controlinsert, xterm sees the events for the control- and insert-keys, and constructs a sequence of ...


1

Not sure if it suppose to be comment or not, however: after reading and using @yotam's comment (thanks! you've got my upvote). I've decided to take it to the next level, by patching xkb-switch to allow both -n and -p flags, and by that making it possible to switch to the next layout and printing it. until merge can be cloned from here. Now it's possible to ...


2

In most terminals (a side-effect of the way ASCII is encoded), ^/ is the same as ^_ (control_). The help-screen for nano on my Debian 7 machine shows that as Go to line and column number. M-/ is harder, since there is no standard for this. However, nano uses the assumption that the meta keys simply have an escape character as prefix. Again, the help-...


5

The Alt-. runs readline function yank-last-arg: yank-last-arg (M-., M-_) Insert the last argument to the previous command (the last word of the previous history entry). With a numeric argument, behave exactly like yank-nth-arg. Successive calls to yank-last-arg move back through the history list, inserting the last ...


2

Turns out it is documented behaviour. From the ksh93 man page: Search Edit Commands These commands access your command history. [count]k Fetch previous command. Each time k is entered the previous command back in time is accessed. [count]- Equivalent to k. [count][A If cursor is at the end of the line it is equivalent to / ...


0

CentOS 6 has 2.31.3; CentOS 7 has 3.14.3 (where the feature works). It is not a new feature, having been introduced in 2007: Bug 118967 – single line scrolling with "Ctrl+Shift+ArrowUp/ArrowDown" while 2.31.3 dates from 2010 (a noticeable delay even for the enterprise releases). However, it does not work with CentOS 6 and incidentally, the git-commit logs ...



Top 50 recent answers are included