I am starting emacs remotely over an ssh connection.

But on the emacs window I cannot find a way to resize or move it. There is no fluxbox title bar visible, and I guess the title bar is above the visible viewport, because emacs starts vertically with more height than the screen has. The lower border of the emacs window is also below the viewport border, so I cannot resize the window.

I am starting emacs like this:


This is the emacs version:

This is GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-03-29 on yellow, modified by Debian

The remote system that runs emacs is 10.04 Lucid Lynx amd64. The local system is running 9.10 Karmic Koala 32 bit and Fluxbox 1.1.1-2

  • so what is your question? how to start emacs so that you can see the decorations? – akira Oct 25 '10 at 0:06

I found a workaround which I post as an answer, but I would prefer if someone comes up with a real solution:

When I start emacs like this

emacs23 -g 98x36

I get a viewport that exactly fits my screen and all of the fluxbox window decoration is accessible.

I found out the values 98 and 36 by trying different numbers.

| improve this answer | |

One workaround I can imagine is to press Alt, left-click on the window and drag it so that you can see the upper/lower border.

| improve this answer | |
  • I tried, but alt left-click is not recognized. The mouse ist still active inside the window. – mit Aug 20 '10 at 12:39

You can start emacs in a terminal to start without a GUI.

How do you do this?

Open a terminal (Ctrl+Alt+T) and enter the following command:

emacs -nw

Might be convenient if you are using SSH.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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