Help - Search - Members - Calendar
Full Version: Specifying Window Dimensions When Starting Apps
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > X/Qt
ShiroiKuma
Is there a way to specify window geometry when starting an app in X/Qt?

I don't want to maximize the apps, just start them so that when the fluxbox bar is on top they start under the bar and have the bottom end up just above the Qt bar, so you don't have to switch X to fullscreen mode.

Can this be done, so that then the app would be called via a script to always start with the specific dimensions?
ShiroiKuma
OK, so the answer to this is easy.

In FluxBox right click on the window's titlebar and select Remember, and then click on Dimensions, Position, and Save on Exit.

Works nicely. smile.gif
sidmoraes
QUOTE(ShiroiKuma @ Apr 27 2006, 02:38 PM)
Is there a way to specify window geometry when starting an app in X/Qt?

I don't want to maximize the apps, just start them so that when the fluxbox bar is on top they start under the bar and have the bottom end up just above the Qt bar, so you don't have to switch X to fullscreen mode.

Can this be done, so that then the app would be called via a script to always start with the specific dimensions?
*


BTW, for solve qtopia taskbar trouble, change "/home/zaurus/.xserverrc" to:
#!/bin/sh
/opt/QtPalmtop/bin/Xqt -disable-fullscreen bc
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.