fluxbox desktop windows
How do you set the location and size of application windows in fluxbox. When I open up an application like firefox or gxine I would for it to be centered on my destop and be able to have it a certain size. What controls this so I can see how to work with it.
Thanks eveyone in advance for your help. |
you'll need to edit the 'apps' file in your .fluxbox directory.
man fluxbox, around line 777 for an explanation on 'application settings' |
thanks charle97
That was the info I was hunting... All you have to do is right click on the title frame of the application when in use and use the "REMEMBER" option. What a easy option.. Thanks to everyone on the fluxbox team for makeing that just too eazy. |
hi guys :) i just spent some time editing the fluxbox 'apps' file, and made some notes that i can refer to in the future, so ill post them here as they may be of help.
the apps file can save a programs dimensions and screen position, aswell as do a few other things. To find out the name of the program to add to the apps file, use xprop, and with the crosshair click onto the desired window Code:
xprop | grep -i "?" 'WM_CLASS' first string is the 'instance' and is the default, this will be enough for programs with only 1 window, or programs that have more than 1 window that all have to be the same shape and size. In the 'app' file entry, instance string is the default and doesnt need to be stated before the program identifier. in the case of xpdf, the entry looks like this Code:
[app] (win) use this for multi-window programs like gimp, gaim etc, where the windows may need to be different sizes, this will help find the identifier of each individual window of the program. the gimp splashscreen entry looks like this Code:
[app] (role=gimp-startup) some program windows dont have a 'wm_window_role' identifier, so we need to match the individual window title (from the top of the screen), i.e this is for the gaim 'Account' window Code:
[app] (title=.*Account.*) ******************************************************** example 'apps' entry, matching all firefox windows, with some options Code:
[app] (firefox-bin) all this information can be found here http://fluxbox-wiki.org/index.php/Ho..._the_apps_file however i urge you to try the way my post suggests first, as i spent some time trying to understand the wiki. although this post may not be 100% correct, it works for me. |
All times are GMT -5. The time now is 09:01 AM. |