Stuck with tmux

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
Snap
Sperminator
Posts: 189
Joined: Sun Oct 05, 2014 8:11 pm

Stuck with tmux

Unread post by Snap » Wed Nov 04, 2015 8:01 am

I'm trying to learn tmux, but cannot even start it properly. I launch it from my menu like this:

Code: Select all

x-terminal-emulator -t tmux -e tmuxattach
and get this output:

Code: Select all

/home/paco/.tmux.conf:15: unknown option: mouse-select-pane
/home/paco/.tmux.conf:16: unknown option: mouse-resize-pane
/home/paco/.tmux.conf:34: unknown option: mode-mouse
And nothing happens. If i hit some keys the cursor moves around and that's it. If i hit enter i get out from tmux like this:

Code: Select all

-bash: Start: command not found
paco@grill:~$ 
What am I doing wrong? I read some guides (arch wiki, etc...) but haven't found anything about this. I'm on Bork with the default ~/.tmux.conf, though the same happens in Smoothie in a virtual machine.

Thanks in advance.

User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Re: Stuck with tmux

Unread post by kexolino » Wed Nov 04, 2015 8:54 am

Have you tried commenting those lines in the config? Will it start then?

Edit: seems like those mouse options won't work anymore with tmux 2.1.
tmux 2.1 doesn't support the individual mouse settings. It replaced them with a single setting, mouse, which can be set with set -g mouse on in your ~/.tmux.conf.

User avatar
Snap
Sperminator
Posts: 189
Joined: Sun Oct 05, 2014 8:11 pm

Re: Stuck with tmux

Unread post by Snap » Wed Nov 04, 2015 11:21 am

Oh, good to know. Anyway, I've commented the lines but this persists:

Code: Select all

-bash: Start: command not found
paco@grill:~$

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: Stuck with tmux

Unread post by pidsley » Wed Nov 04, 2015 5:03 pm

Try just starting a terminal, and then type "tmux" (no arguments.) If that does not work, change to root, make sure it has no local .tmux.conf and try tmux there:

Code: Select all

su -
mv .tmux.conf .tmux.bak
tmux
If root works with no errors there is something wrong in your user's config files.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Stuck with tmux

Unread post by machinebacon » Wed Nov 04, 2015 10:37 pm

what pidsley says, or simply copy one of the examples from /usr/share/doc/tmux/examples/ to ~/.tmux.conf
..gnutella..

User avatar
Snap
Sperminator
Posts: 189
Joined: Sun Oct 05, 2014 8:11 pm

Re: Stuck with tmux

Unread post by Snap » Thu Nov 05, 2015 10:56 am

Thanks guys. It works for root. Going to replace that config file.

BTW, this happens both in Bork and Smoothie. It seems the default ~/.tmux.conf files in these spins are not good anymore for the current tmux version.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Stuck with tmux

Unread post by machinebacon » Thu Nov 05, 2015 4:32 pm

Yup, that's true.
..gnutella..

Post Reply