LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 11:36 PM   #1
sleftar
Member
 
Registered: Sep 2015
Posts: 50

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, 09:50 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,333
Blog Entries: 12

Rep: Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729
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, 01:28 AM   #3
sleftar
Member
 
Registered: Sep 2015
Posts: 50

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, 04: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, 08:58 AM   #5
sleftar
Member
 
Registered: Sep 2015
Posts: 50

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 09:14 AM.
 
Old 10-29-2015, 12:35 PM   #6
sleftar
Member
 
Registered: Sep 2015
Posts: 50

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

ctrl+b alt+arrow key

weird...
 
Old 10-29-2015, 01:07 PM   #7
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 14.04 LTS
Posts: 230

Rep: Reputation: 65
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 02:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:59 AM
[SOLVED] Character set problem in tmux on Slack astanton Slackware 2 06-17-2012 06:02 AM
QgisMapCanvas Resize Problem bijay_panda Linux - Newbie 0 03-30-2009 05:37 AM
Another resize ext3 problem gemini91 Linux - Newbie 7 12-16-2003 04:59 AM
XP resize problem tincho Linux - Newbie 2 09-22-2003 08:50 AM


All times are GMT -5. The time now is 12:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration