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

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


Stephen R Laniel 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.

If you're doing gnome-terminal -x vim, why not just do gvim?


More information about the Linux-disciples mailing list