LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2015, 10:36 PM   #1
sleftar
Member
 
Registered: Sep 2015
Posts: 51

Rep: Reputation: Disabled
tmux resize problem


Hello guys,

I am trying to learn tmux because I am told in this forums that it is a better alternative to screen.

One of the website says that CTRL+b+arrow key will resize the window. I am running ubuntu 14 server ed on PuTTY and I could not make the resize work. Can you tell me if there is a way to make it work?

Thank you very much.
 
Old 10-26-2015, 08:50 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
Please provide more information. In Linux, screen is a Linux program for connecting to remote terminals.

What precise program are you trying to learn and what operating system are you using?

Quote:
One of the website
On what website?

You might want to read this on how to ask a Linux Question.
 
Old 10-27-2015, 12:28 AM   #3
sleftar
Member
 
Registered: Sep 2015
Posts: 51

Original Poster
Rep: Reputation: Disabled
I am trying to learn tmux. when you crate panes, there is a way to resize them. that is the ctrl+b+arrow key. But this did not work for me.
 
Old 10-27-2015, 03:06 AM   #4
serverpoint.com
Member
 
Registered: Oct 2015
Posts: 52

Rep: Reputation: 6
There is a prefix named "resize-pane" with tmux. have you tried to use?
 
Old 10-27-2015, 07:58 AM   #5
sleftar
Member
 
Registered: Sep 2015
Posts: 51

Original Poster
Rep: Reputation: Disabled
http://tmuxcheatsheet.com/

tried the cheatsheet here in this website but it failed..

its under "resize current pane"

ctrl+b+arrow

pressing all of them at the same time i believe imean first ctrl and without removing ur finger, b then arrow.. It failed.

it behaves like

ctrl+b arrow
which is to change pane that you are working in.

Last edited by sleftar; 10-27-2015 at 08:14 AM.
 
Old 10-29-2015, 11:35 AM   #6
sleftar
Member
 
Registered: Sep 2015
Posts: 51

Original Poster
Rep: Reputation: Disabled
For some reason it runs in my server with

ctrl+b alt+arrow key

weird...
 
Old 10-29-2015, 12:07 PM   #7
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by sleftar View Post
For some reason it runs in my server with

ctrl+b alt+arrow key

weird...
Did you know that you can resize the panes with your mouse? Just click on a line separating two panes and drag them.

Edit: For this to work you need the following in your .tmux.conf

Code:
#mouse - allows selct pane and resize with mouse
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on

Last edited by hortageno; 10-29-2015 at 01:01 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tmux vs [kde]su[do], HOME directory problem. NoStressHQ Slackware 2 12-29-2013 09:59 AM
[SOLVED] Character set problem in tmux on Slack astanton Slackware 2 06-17-2012 05:02 AM
QgisMapCanvas Resize Problem bijay_panda Linux - Newbie 0 03-30-2009 04:37 AM
Another resize ext3 problem gemini91 Linux - Newbie 7 12-16-2003 03:59 AM
XP resize problem tincho Linux - Newbie 2 09-22-2003 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration