.xinitrc, fluxbox, startup programs
I am wondering if anyone could help me out with arguments to put after commands, but before the & in my .xinitrc file to control how programs are launched at start up.
Specifically I would like to know how to dictate which workspace a given app will open to. Also, is there a way to dictate the size of the window that it opens to. Any help would be appreciated. Jim |
If you're using Fluxbox stable, those questions are answered only by the individual applications...some will be able to and some won't, depending on what command options they have.
If you're using Fluxbox development, these issues can be addressed by putting the applications into ~/.fluxbox/apps instead of ~/.xinitrc example: [startup] {aterm} [startup] {gkrellm -w} [app] {aterm} [Workspace] {2} [Dimensions] (WINCENTER) {90 200} [end] You could also leave out "(WINCENTER)" and have a separate "[Position]" line. if you want to go to that workspace automatically, add "[Jump] {yes}" |
If you're still on 0.1.14 you could grab the
remember patch, works very well ... it has been Incorporated in the beta later on. Cheers, Tink |
Quote:
Could I bother you to expand/expain a bit? You have [startup] {aterm} AND [app] {aterm} Why both, and what is the difference? Is there a call out to make something sticky (on all workspaces?) Where might I find documentation on this file and how to learn to use it? Thanks a million for the help so far. |
[startup] {aterm} <---- launches aterm automatically when fluxbox loads.
[app] {aterm} <---- all the settings for aterm's appearance. You can have any number of startup apps without specifying their look. Also you can specify the setting for any number of apps without having them startup automatically. I guess this is why the two are separate. Sticky is the same format as the other settings: [sticky] {yes} Most of these settings can be applied without editing the file manually. Right-click on the titlebar or application name in the toolbar, and go to "remember". Docs: http://fluxbox.sourceforge.net/docbook.php http://fluxbox.sourceforge.net/docs/en/faq-dev.php http://fluxbox.sourceforge.net/docbo...uxbox-man.html The third link is the man page updated for development. It gives a good description of the apps file. |
All times are GMT -5. The time now is 09:23 AM. |