LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-15-2003, 05:33 PM   #1
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Rep: Reputation: 30
slits/dockapps on startup?


I am new to slits/dockapps, i got some cool ones and the way i ran them was by typing the command in the terminal. Is there a way to make it so when i startx they automatically start? I have searched google but without any luck
 
Old 05-15-2003, 07:20 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Here is my .xintrc file:


# window manager
/usr/local/bin/fluxbox & wmpid=$!

aterm -geometry 129x18+83+462 -tr -trsb -fg white -tint blue &
bbpager -w &
gkrellm -w &

# HANG POINT - wait for windowmanager to exit
wait $wmpid

Notice that bbpager and gkrellm have the -w switch. This causes them to open up in the slit or is it dock...I forget but its one of the two.
 
Old 05-15-2003, 07:38 PM   #3
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
hmm, this is my .xinitrc:

Quote:
#!/bin/sh

# Start the window manager:
#exec /usr/local/bin/blackbox
exec /usr/local/bin/fluxbox & wmpid=$!
#exec enlightenment
#startkde
#startxfce
#exec gnome-session
#exec sawfish
#exec blackbox
#exec fluxbox
#exec /usr/bin/wmaker $NOCPP
#exec fvwm95startkde

xterm
wmblob -w &
wmcpuload -w &
It auto starts xterm when i startx but wmblob and wmcpuload dont start...yet if i type wmblob -w in a terminal it starts
 
Old 05-15-2003, 07:43 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
You need an & after xterm as it isnt the last command. The last one should be exec command too iirc.
 
Old 05-15-2003, 08:39 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Why should the last one be prefaced with exec?
 
Old 05-16-2003, 01:32 PM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Sorry maybe I'm confusing the syntax of .xinitrc with .fluxbox/startup
Quote:
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ``&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
gkrellm &
#kicker &

# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ``exec'' before it.

exec fluxbox
 
Old 05-16-2003, 04:31 PM   #7
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
thanks got it to work, actually it was editing .xinitrc i needed to just add an & and then the HALT part at the end. Thanks
 
Old 05-17-2003, 12:19 PM   #8
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
well i got them to startup on startx, but they dont go in order, they dont load how i have them in .zinitrc, is there a way to make it so they each load in order?
 
Old 05-17-2003, 02:22 PM   #9
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
What do you mean load in order? They are loaded in the order from which you specified in your .xinitrc file.
 
Old 05-17-2003, 04:52 PM   #10
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
npe theyre not, i have it like this:

Quote:
wmblob -w &
wmCalClock -tc grey &
wmcpuload &
wmmemload &
wmappl &
yet they load in this order:

wmblob
wmcpuload
wmCalClock
wmappl
wmmemload

 
Old 05-17-2003, 07:16 PM   #11
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well the order in which they load and their position on the screen are two different things.
 
Old 05-18-2003, 06:34 PM   #12
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
i know...i never said anything about the position on the screen lol
 
Old 05-18-2003, 06:42 PM   #13
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
So what's the 'order' you're on about?
 
Old 05-18-2003, 06:52 PM   #14
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
oh woops, i just realized what you mean by position, when Crashed_Again said position i was thing horizontal / vertical. Yes i am talking about position, how can that change?
 
Old 05-18-2003, 06:58 PM   #15
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
/me is more confused then ever

When you say position do you mean the physical locaton of the application on your screen?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are There Any Windowlist Dockapps hobbestec Linux - Software 2 12-15-2003 08:21 PM
compiling libxpm for fluxbox slits sk8guitar Linux - General 3 08-15-2003 10:08 PM
Is it possible to have multiple slits in Blackbox? tercero playa Linux - Software 1 08-09-2003 04:35 AM
dockapps vs. GKrellM drfrankie Linux - General 1 06-07-2003 09:56 PM
Dockapps in WM 2kool Linux - Newbie 0 02-21-2002 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:27 AM.

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
Open Source Consulting | Domain Registration