LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-23-2004, 12:01 PM   #1
jdier
Member
 
Registered: May 2004
Location: US
Distribution: Ubuntu - 12.04 LTS
Posts: 54

Rep: Reputation: 15
Question .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
 
Old 08-23-2004, 03:57 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
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}"
 
Old 08-23-2004, 04:14 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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
 
Old 08-26-2004, 10:02 AM   #4
jdier
Member
 
Registered: May 2004
Location: US
Distribution: Ubuntu - 12.04 LTS
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mikshaw
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}"
This is perfect!

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.
 
Old 08-26-2004, 03:41 PM   #5
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
[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.

Last edited by mikshaw; 08-26-2004 at 03:43 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fluxbox programs as startup jojack Linux - Software 6 01-03-2005 10:28 PM
fluxbox and .xinitrc littlemidget Linux - Software 18 01-02-2005 05:40 PM
How to change the startup programs in fluxbox? g-string 3 Linux - General 5 12-10-2004 09:05 AM
.xinitrc programs start twice on startup fasmaie Linux - Newbie 0 09-09-2003 04:59 PM
fluxbox: starting programs in different workspaces at startup kirneh Linux - Software 1 08-06-2003 02:58 AM


All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration