Tag Info

New answers tagged

0

Cannot comment but the problem is that tmux configure doesn't check for which version libevent library you have installed. Ubuntu 8.04 had libevent1 you need to install libevent2 (from source). Download from libevent.org, the last stable version. gzip -d < libevent-2.0.22-stable.tar.gz | tar xf - cd libevent-2.0.22-stable ./configure --prefix=/usr make ...


3

Ctrl and Shift are modifiers. These keys aren't transmitted to applications running in a terminal. Rather, when you press something like Ctrl+Shift+A, this sends a character or a character sequence at the time you press the A key. See How do keyboard input and text output work? for more details. There may be some terminal emulators that can be configured to ...


1

See the man page for the list of keys tmux recognises: KEY BINDINGS When specifying keys, most represent themselves (for example ‘A’ to ‘Z’). Ctrl keys may be prefixed with ‘C-’ or ‘^’, and Alt (meta) with ‘M-’. In addition, the following special key names are accepted: Up, Down, Left, Right, BSpace, BTab, DC (Delete), End, Enter, Escape, F1 to ...


2

Might be a better way, but tmux list-panes | wc -l works.


1

That's because, bind " split-window -c "#{pane_current_path}" should be bind '"' split-window -c "#{pane_current_path}"


0

from subprocess import call import random while True: param = random.randint(1,100) #add random first or from random import randint runmyscript ="tmux send-keys -t mysession %s 'python myscript.py param' "%str(parma) call(runmyscript,shell=True)#you should add if or something to break loop


0

in your .tmux.conf: set -g default-terminal "screen-256color"


0

If you do not want to use a display manger and just have X start after you log in, I believe this is what you're looking for. You can modify your .xinitrc to launch the terminal (here I assume xterm, but most others should be similar): xterm -e /bin/bash -c "sudo tmux" And then run startxfce4 from .bashrc when ever you are on specific tty. tty2 ...


2

At the same time as the zoom feature, the window_flag with the same name Z was added, so this flag should appear in the status line next to the window title (you mention in a comment that you use some plugin/customization of tmux). In any case, you can query tmux using the list-panes command and the formats feature: tmux list-panes -F '#F' prints out ...


1

Tmux adds a Z to the end of the window name in the status bar to indicate that the pane is zoomed. Or at least the 1.9 version I'm using does this by default.


0

Try use the command 'reset'. ie $ reset or in your case :) $ ⎼e⎽e├ The man page explain this in more detail


1

I'm afraid slm's answer (currently marked as correct) is incorrect on a number of fronts. First off, the OP was asking whether there was a way to tell externally whether a process had data pending on an AF_UNIX socket. slm's answer requires modification to the process itself. Generally, netstat is useful in externally examining a process over which you ...



Top 50 recent answers are included