Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a window called 'Codes' in window 1, and I want to move it to window 7, is it possible?

share|improve this question
What are you talking about - do you mean move a x-window to a different virtual desktop? What X windows manager are you using? – Adrian Cornish Dec 13 '11 at 4:27
nope, I mean the window in GNU Screen. Thanks for asking. – Rocky Dec 13 '11 at 7:46
up vote 4 down vote accepted

Yes, it is possible. Go to window 1, and then type: :number 7. If there is already a window at 7, then the two windows will be swapped (window 7 will become window 1). From the manpage:

   Change the current windows number. If the given  number  n  is  already
   used  by  another  window,  both  windows exchange their numbers. If no
   argument is specified, the current window number (and title) is shown.
share|improve this answer
Cool! thank you so much! – Rocky Dec 13 '11 at 7:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.