Skip to main content

Questions tagged [tmux]

tmux is a 'terminal multiplexer'. It allows for having multiple 'windows' in a single terminal window.

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

Unable to create more than 127 windows/terminals in tmux

I am using tmux on macOS. As the number of repos that I am working with increases, the number of tmux windows increases as well. Just yesterday, I run into the issue that I am not able to open more ...
user2156115's user avatar
1 vote
0 answers
21 views

Changing tmux "normal" mouse from fn key to ctrl key

When running tmux in a terminal window, I can get the usual terminal mouse behavior by holding down the fn key. When using an external keyboard, I do not have a fn key. How can I map this behavior to ...
Mark Harrison's user avatar
1 vote
0 answers
176 views

tmux prefix+tab not working

Moving from Ubuntu to Mac Using latest Tmux In ubuntu, prefix+tab will show a popup with commands w/ fzf to select In Mac nothing happens No keys attached to Tab
ravid's user avatar
  • 11
0 votes
1 answer
179 views

How do I re-enable iTerm permissions to use AppleScript app control

I have some AppleScript, to bulk export URLs and titles of tabs from my browser. It used to work, from iTerm (and Terminal, and Script Editor). I keep my terminal as long-running sessions in tmux that ...
mcint's user avatar
  • 269
1 vote
0 answers
545 views

Control-Option-<arrow> hotkey not working in tmux

I'm using tmux over iTerm2 in Mac OS 12.5. I have such directives in tmux config file: # resizing panes using Ctrl-Alt-arrows without prefix bind -n C-M-Up resize-pane -U 2 bind -n C-M-Down resize-...
mega.venik's user avatar
4 votes
1 answer
3k views

Operation not permitted when accessing Downloads folder

When I try to ls the ~/Downloads folder on my mac I get a ls: Downloads: Operation not permitted error. My user does have rwx permissions on the folder. I can look at the folder just fine in finder. I ...
Philippe's user avatar
  • 749
2 votes
0 answers
190 views

open command partially not working in tmux in MacOS

When inside a tmux session on the local computer, a command: open "https://www.google.com" opens a url in the default browser. However, when trying to open a file using an app: open -a ...
noquestiontoosilly's user avatar
1 vote
0 answers
468 views

No colors in zsh for first tmux session

When I start a new tmux session (macOS 11.5.1, iTerm2 3.4.10, zsh 5.8, tmux 3.2a) with tmux new, my terminal has no colors, it just displays everything in grey tones. But when creating a new window or ...
23tux's user avatar
  • 181
1 vote
0 answers
157 views

tmux's extraneous visual bells in iTerm2

I recently started using tmux, I rely on visual bells (see Preferences -> Appearance -> Tabs -> Show new-output indicator) in iTerm2 to let me know when processes start/finish. When I start ...
irritable_phd_syndrome's user avatar
0 votes
1 answer
560 views

how to bind double tapping the shift key in tmux

i spent some time yesterday trying to figure out how i can bind a double tap -esque key binding for tmux, and made some progress, but still incomplete. i am hoping to maximize/minimize a pane within a ...
ipatch's user avatar
  • 332
1 vote
1 answer
100 views

What is the difference between these two cursors, with tmux?

When running iTerm2 / Tmux, I have this cursor: but when I hold the alt/option key, I have this cursor: what is the difference?
Thomas's user avatar
  • 359
0 votes
0 answers
131 views

Giving camera access to tmux or ssh

I have a couple of executables that I need to call, and within them some OpenCV functions are called, requiring camera access. If I run the executable locally on Terminal from my machine, everything ...
Kolja's user avatar
  • 696
1 vote
0 answers
41 views

Using "New Terminal at Folder" with tmux?

I like to use tmux with Terminal so that I can easily split panes, switch off of long-running tasks, or just close the Terminal window and re-open it to find myself exactly where I left off. Although ...
stevendesu's user avatar
3 votes
1 answer
1k views

Passing alt/opt key sequence over ssh to remote host with iTerm

Just learning the ropes of my new MacBook Pro. I have a linux workstation at the office that I use to host a number of tmux sessions, which represent whatever Im working on at a given time. If out ...
GeoSword's user avatar
  • 131
4 votes
3 answers
2k views

How can I limit iTerm2 text selection to a single tmux pane?

I have a late 2013 MacBook Pro running iTerm2. I don't have tmux installed on it, but I use tmux on the remote Linux host I frequently connect to via ssh. When tmux is displaying a vertical split and ...
Rob Kennedy's user avatar
0 votes
0 answers
632 views

tmux + iTerm2 - no permission to edit crontab

I am running macOS 10.14.5, iTerm2 build 3.2.8, tmux 2.9a (tmux -V). I've granted both iTerm2.app and Terminal.app (file permission: .r-xr-xr-x) Full Disk Access (FDP) in Sys prefs > Security and ...
Teddy C's user avatar
  • 1,792
0 votes
1 answer
189 views

How to render a specific character as transparent in terminal

I'm looking for a way of rendering a single character / escape sequence as transparent in iTerm2 or, if there is one, any other terminal emulator. With transparent I mean that it should show the ...
sudoremo's user avatar
  • 195
3 votes
0 answers
454 views

tmux: Control + Shift + Tab & iTerm2

How do enable Control + Shift + Tab and Control + Tab for tmux in iTerm2 for macOS? This question may be better suited for Unix & Linux Stack Exchange or Super User, except the configuration is ...
William's user avatar
  • 1,668
2 votes
1 answer
867 views

status line in iterm integrated with tmux

I was trying to set the iTerm and tmux integration and found that panes could be displayed as iTerm2 window splits, if I run tmux -CC. But there is a problem, this 'simulation' of tmux does not have ...
gasabr's user avatar
  • 21
2 votes
4 answers
6k views

Why does F4 not work in MacOS X (Touchbar macBook, or macBook Air)?

I'm using iterm2 together with tmux and I need the function keys. Ever since I got the TouchBar Macbook Pro and upgraded to HighSierra, the F4 key became disfunctional in iTerm2 and emacs. The F4 key ...
Thomas's user avatar
  • 1,282
0 votes
1 answer
419 views

Hotkeys don't work in zsh when $TERM is set to screen-256color

As per various other discussions I bound opt+<- to 0x1b 0x62and opt+-> to 0x1b 0x66. This works great in zsh, but not in tmux. In tmux opt+<- does jump backwords per word, but also seems to do ...
Strayer's user avatar
  • 171
1 vote
1 answer
588 views

Entering Unicode Characters with `ssh ... tmux -CC a -t mySession` on iTerm2

When I ssh into the server and then open tmux, I'm able to enter in Unicode characters. It seems that the problem is specifically with sshing directly with tmux -CC a -t mySession. Edit: I'm trying ...
John's user avatar
  • 111
4 votes
1 answer
4k views

tmux jump words as with zsh

I moved from just using zsh to using zsh inside tmux. As my terminal is iTerm2 for both combinations. I have the following lines in my .zshrc to enable jumping words on a bare zsh command line using ...
lony's user avatar
  • 161
1 vote
1 answer
306 views

Macvim can not load custom Powerline fonts when started from tmux session

I have a really strange issue with MacVim + Tmux + Powerline Fonts. I can run MacVim from the dock or terminal and it correctly starts with Powerline fonts. When I start a tmux session, and launch ...
cmcginty's user avatar
  • 686
4 votes
1 answer
4k views

How to switch off sharing of history between iTerm2 tabs when setopt command not found

I am experiencing the same problem as in this question: The history is shared between my iTerm2 terminal tabs: how can I switch that off?. As the user describes, my history is shared between different ...
TabeaKischka's user avatar
  • 1,032
0 votes
1 answer
612 views

Under tmux, change window in Irssi with meta key Alt + Num?

I think this is specific to OS X Terminal.app Viewing many windows in irssi via tmux. I can use alt+right arrow to move windows as the metakey. but alt+5 only produces [KH^
jakethedog's user avatar
4 votes
1 answer
1k views

ssh under tmux always asks for password

Normally I give my passphrase for the private key on the first ssh invocation and then I am not asked for the passphrase (in this and all other bash sessions). However, under tmux, I am asked for the ...
sds's user avatar
  • 1,156
1 vote
1 answer
767 views

Mapping ⌘→ to ^Q→ in iTerm2 doesn't work

I'm trying to make iTerm2 and tmux play nicer with eachother (without using the builtin tmux functions; I'd like my windows and panes managed by myself). Therefore, I want to map ⌘+→ to a key ...
L3viathan's user avatar
  • 141
5 votes
2 answers
2k views

tic doesn't read from STDIN and segfaults when adding terminfo to support italics in tmux

I'm trying to follow these instructions to add italics support to tmux. 1) I tried running copying-pasting and running this command cat <<EOF|tic -x - tmux|tmux terminal multiplexer, ...
Prashanth Chandra's user avatar
4 votes
1 answer
2k views

tmux always modify my zsh PATH

I'd like to use tmux inside my iTerm2. and I have the following in my ~/.tmux.conf file. set-option -g default-shell /bin/zsh set-option -g default-command "/bin/zsh -c 'which reattach-to-user-...
Alex's user avatar
  • 191
6 votes
1 answer
3k views

Terminal.app and tmux session, can't use "open" command (without tmux it works)

I use Terminal.app and a tmux session. > open -a VLC file.mp4 The window server could not be contacted. open must be run with a user logged in at the console, either as that user or as root. ...
Sybil's user avatar
  • 4,007
0 votes
2 answers
2k views

Copying and pasting between tmux panes containing vim instances over SSH in Terminal.app

I use vim to develop Perl code on a remote Linux box running Debian Jesse. The machine is a virtual machine running in VirtualBox. I use ssh and then issue a vim <file> command to start editing ...
StevieD's user avatar
  • 1,548
1 vote
1 answer
614 views

Cannot copy/paste anymore in tmux 2.1

I just update to tmux 2.1(OS X10.11.3 Terminal.app), and my .tmux.conf(accroding to http://joehanchoi.com/quick-fixes-for-tmux-2-1-on-osx/) set-option -g mouse on bind -n WheelUpPane if-shell -F -t =...
Sato's user avatar
  • 841
7 votes
4 answers
6k views

I can't delete characters in tmux on macOS

I have searched around and the closes thing I could find to my issue is this: https://stackoverflow.com/questions/23848061/cannot-get-delete-key-to-work-with-tmux-and-osx I am running multiple ...
Nick Rucci's user avatar
1 vote
0 answers
53 views

El Capitan Terminal.app keeps showing overlay

New terminal in El Capitan keeps showing this annoying overlay with tmux commands describing my current tmux session. How do I turn it off?
Christine's user avatar
32 votes
2 answers
21k views

unknown option: mode-mouse with iterm, tmux

I've reset my computer and now tmux is complaining about my .tmux.conf having these directives: setw -g mode-mouse on set -g mouse-select-pane on set -g mouse-resize-pane on set -g mouse-select-...
Michael Durrant's user avatar
2 votes
1 answer
1k views

iTerm2 output broken since upgrade to El Capitan

Since I upgraded my OS X to El Capitan (10.11) the output of iTerm2 is completely messed up. See this example screenshot (iTerm2 on the left, Terminal.app on the right): Update I'm using iTerm 2.1.4 ...
ohcibi's user avatar
  • 363
24 votes
9 answers
25k views

Copy to clipboard from Tmux in El Capitan

I am quite happy with the Terminal changes in El Capitan (see e.g. this question). However, i can't figure out how to enable copying to system clipboard from within Tmux. For instance, now that I am ...
vitvly's user avatar
  • 733
16 votes
2 answers
5k views

Changes to Terminal in El Capitan

Can someone please describe the changes made to Terminal.app in El Capitan? I've just noticed that mouse events started working in Tmux, which is awesome! I had the following set in my tmux.conf: ...
vitvly's user avatar
  • 733
1 vote
0 answers
558 views

Mac Terminal (+bash +tmux +set-o vi) missing characters at end of line

Often when editing a historical bash command in vi mode (after pressing ↑), and then moving backwards in the text using b. When I begin editing the text after pressing i or a, the extra text I insert ...
Sam Salisbury's user avatar
0 votes
2 answers
1k views

Why can't I use `launchctl setenv` from `tmux`?

If I'm running within tmux and I try to update an environment variable with launchctl, I see an error like this: $ launchctl setenv GIT_SSH /opt/local/bin/ssh Not privileged to set domain environment....
pioto's user avatar
  • 103
2 votes
2 answers
6k views

Getting an unsuitable terminal error when opening tmux after switching to homebrew

Longtime macports user (tmux / 256color etc worked fine). Recently decided to switch over to homebrew. Have most things working again. tmux throws the following error when launching (have not ...
skarface's user avatar
  • 349
4 votes
2 answers
6k views

Can I make tmux scroll from my trackpad?

I want to set up iTerm2 to pass scroll events to tmux, so I can trivially enter (and exit) scrollback mode for whatever pane is active. Is this possible to do with iTerm2, or automation of some sort, ...
Kaolin Fire's user avatar
5 votes
2 answers
2k views

Unable to run 'display notification' using osascript in a tmux session

If I run the following command in Apple Script Editor directly, display notification "Hello, world" I can see a notification as expected However if I tried to invoke it via command line: ...
Anthony Kong's user avatar
  • 2,090
2 votes
1 answer
907 views

tmux hangs when re-attaching session after logout

Since Yosemite, my tmux, which I installed via MacPorts, "hangs" when I re-attach it after my user has logged out and logged in again. I.e. it cannot start new processes, like a new command line. The ...
Arne's user avatar
  • 2,382
2 votes
1 answer
2k views

LSOpenURLsWithRole() failed with error 10810 in iTerm2 running tmux on Yosemite

[~%]open ~/Pictures/upload.png LSOpenURLsWithRole() failed with error -10810 for the file /Users/bryanhunt/Pictures/upload.png. Before this update I used to be able to open images, PDFs, etc. from ...
bryan hunt's user avatar
1 vote
1 answer
1k views

fish shell suggests commands in tmux

I use fish shell, it's has option "suggests commands", so it is works like in the next screenshot. Examle: You type command git status. In the next time when you type just g or git fish give you ...
denys281's user avatar
  • 119
1 vote
1 answer
149 views

open in tmux fails for all files

I'm having some trouble nailing down a problem I've had with Yosemite for a few weeks now - when I issue the open command inside tmux, all files (PDFs, text files, applications, everything) fail to ...
mango45's user avatar
  • 33
3 votes
1 answer
164 views

Tmux hampers osascripts display notification

I like to show notifications from scripts using osascript -e 'display notification "Some text"'. This works fine from the plain shell but it stop working when in tmux. It just doesn't show the ...
romeovs's user avatar
  • 4,393
24 votes
3 answers
20k views

In iTerm2 Command Click on URLS does not work when inside a tmux session

When not inside a tmux session, Command-Click on URLs works flawlessly. How can I make links clickable in iTerm2 when inside a tmux session? When hitting Command the mouse pointer changes to the ...
jottr's user avatar
  • 663