Difference between revisions of "Talk:Tmux"

From ArchWiki
Jump to: navigation, search
(X clipboard integration: new section)
m (Add online ebook to tutorials section: remove closed discussion)
Line 36: Line 36:
--[[User:Ael|Ael]] ([[User talk:Ael|talk]]) 13:50, 25 October 2016 (UTC)
--[[User:Ael|Ael]] ([[User talk:Ael|talk]]) 13:50, 25 October 2016 (UTC)
==<s> Add online ebook to tutorials section </s>==
I have recently completed ''The Tao of tmux'', an ebook for learning tmux. I'd like to add a link to it through the wiki since its available to read for free on the web. Is that okay? --[[User:Git-pull|Git-pull]] ([[User talk:Git-pull|talk]]) 09:52, 10 February 2017 (UTC)
:Hi, sure it is, as long as you keep your ebook freely available, linking to it ([https://wiki.archlinux.org/index.php?title=Tmux&diff=prev&oldid=468038 already] done) is a very welcome contribution, thank you :) — [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 03:09, 11 February 2017 (UTC)
== X clipboard integration ==
== X clipboard integration ==

Revision as of 13:58, 12 April 2017

New Tmux terminfo

I suggest changing all references to screen or screen-256color to tmux and tmux-256color as the new terminfo has been added to ncurses 6 (now in stable in Arch). You can find the announcement at http://invisible-island.net/ncurses/NEWS.html#index-t20150502 (the 6th point), or confirm by yourself by going to /usr/share/terminfo/t/. This mainly fixes the italic issue referenced here: https://wiki.archlinux.org/index.php/Tmux#Fix_reverse-video.2Fitalic_mode_in_urxvt. ~ Nicop06

Agreed jasonwryan (talk) 23:57, 18 October 2015 (UTC)
Actually, it seems that the screen-256color terminfo is working since the upgrade to nurses 6. I suggest completly removing the section to avoid any confusion. Nicop06 (talk) 21:38, 5 January 2016 (UTC)
I've been using TERM=tmux-256color since the update. Overall things work, but there are some places and programs which have issues with it. The most common one is prezto (zsh config) doesn't use color for a lot of commands. I believe it fails to detect if term has color and falls back to color-less command arguments. I just filed a bug report for prezto. There were some other issues which I can't remember right now. Maybe some info notice should be added about this. MaikuMori (talk) 09:15, 6 January 2016 (UTC)
So it turned out it's not a bug in prezto, but coreutils. It's tracked here. The fix will be in coreutils-8.25. After that's fixed I see no reason to not use TERM=tmux-256color everywhere. My 2c. MaikuMori (talk) 21:45, 29 January 2016 (UTC)

Autostart with systemd

There are some notable advantages to starting a tmux server at startup.

There is also at least one disadvantage, isn't there? Namely that the systemd started tmux will exit when one logs out — unless one has set the “long-running sessions” (or something like that) option in systemd. Kseistrup (talk) 08:33, 19 July 2016 (UTC)

This applies to systemd/User services, but not to the one presented in Tmux#Autostart_with_systemd. -- Lahwaacz (talk) 08:37, 19 July 2016 (UTC)
Thanks for clarifying this. Kseistrup (talk) 09:25, 19 July 2016 (UTC)

Outdated keybinding tip

The Tip about mimic screen key bindings suggest to copy /usr/share/tmux/screen-keys.conf file. But according to the tmux package content this file is not installed along with tmux.

pacman -Ql
tmux /usr/
tmux /usr/bin/
tmux /usr/bin/tmux
tmux /usr/share/
tmux /usr/share/licenses/
tmux /usr/share/licenses/tmux/
tmux /usr/share/licenses/tmux/LICENSE
tmux /usr/share/man/
tmux /usr/share/man/man1/
tmux /usr/share/man/man1/tmux.1.gz

--Ael (talk) 13:50, 25 October 2016 (UTC)

X clipboard integration

I updated the config options to be pasted into `tmux.conf` according to the new mode-table names in tmux. The old ones didn't work for me in vi-mode while the new ones do.

Can somebody check the emacs ones? I'm not sure about those. --jakobh 16:10, 1 March 2017 (UTC)