[Linux-disciples] Maximizing GNOME apps from the command line

Adam Rosi-Kessel adam at rosi-kessel.org
Mon Nov 27 16:50:33 EST 2006


Adam Rosi-Kessel wrote:
>> Is there any way to, say, invoke vim inside of a
>> gnome-terminal window, and make sure the window is
>> maximized, all from the command line? Except for the last
>> clause, I've got it:
>> gnome-terminal -x vim filename
>> Is there a --maximize argument or somesuch? I can't find
>> documentation explaining the general GNOME command-line
>> args.
> Wrong level of abstraction. Your window manager handles min/max. Each window
> manager is different, but openbox for example has easy scripting functions
> such that you could signal the window manager to maximize a window. There
> are also a bunch of openbox helper apps that could do this for you -- I
> think you could even configure it to remember that you want particular
> windows to be maximized.

Now that I think of it, I believe wmctrl is more-or-less window manager
agnostic, so long as your window manager is EWMH-compliant (should include
the default WM for GNOME).


More information about the Linux-disciples mailing list