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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
05-15-2003, 05:33 PM
|
#1
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Rep:
|
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 
|
|
|
05-15-2003, 07:20 PM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
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.
|
|
|
05-15-2003, 07:38 PM
|
#3
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
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 
|
|
|
05-15-2003, 07:43 PM
|
#4
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
You need an & after xterm as it isnt the last command. The last one should be exec command too iirc.
|
|
|
05-15-2003, 08:39 PM
|
#5
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Why should the last one be prefaced with exec?
|
|
|
05-16-2003, 01:32 PM
|
#6
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
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
|
|
|
|
05-16-2003, 04:31 PM
|
#7
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
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 
|
|
|
05-17-2003, 12:19 PM
|
#8
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
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?
|
|
|
05-17-2003, 02:22 PM
|
#9
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
What do you mean load in order? They are loaded in the order from which you specified in your .xinitrc file.
|
|
|
05-17-2003, 04:52 PM
|
#10
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
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

|
|
|
05-17-2003, 07:16 PM
|
#11
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Well the order in which they load and their position on the screen are two different things.
|
|
|
05-18-2003, 06:34 PM
|
#12
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
i know...i never said anything about the position on the screen lol
|
|
|
05-18-2003, 06:42 PM
|
#13
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
So what's the 'order' you're on about?
|
|
|
05-18-2003, 06:52 PM
|
#14
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
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?
|
|
|
05-18-2003, 06:58 PM
|
#15
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
/me is more confused then ever
When you say position do you mean the physical locaton of the application on your screen?
|
|
|
All times are GMT -5. The time now is 05:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|