I going to test window managers on my test box.
And wondering if:
I use one (shared) startup (app) script for muli-WM's.
(the window managers that do not have any startup.sh)
Would this work--or cause problems for me later on?
topic title: startup.sh
8 posts
• Page 1 of 1
-
Posts: 138
- Joined: 14 Nov 2007
-
Posts: 1,520
- Joined: 07 Oct 2007
#2
Do you mean to start app when you boot up regardless of the WM? If so you could just use .xinitrc. At the top of the file place a #!/bin/sh and underneath a list of app you want started followed by a $. One on each line. This way the same apps will be started on each WM.
eriefisher
eriefisher
-
Posts: 138
- Joined: 14 Nov 2007
#3
__{{emoticon}}__ Your right
I don't know why i'm trying to making it harder than it needs to be?
Or would it have like--have two conky running when i switch?
I don't recall--so long ago
I might just have to try it
And i forgot to state that i'm using fluxbox as well-- and it has it's own startup file
I don't know why i'm trying to making it harder than it needs to be?
Or would it have like--have two conky running when i switch?
I don't recall--so long ago
I might just have to try it
And i forgot to state that i'm using fluxbox as well-- and it has it's own startup file
Last edited by harii on 14 May 2008, 02:32, edited 1 time in total.
-
Posts: 1,520
- Joined: 07 Oct 2007
#4
If you have"conky" in your ~/.fluxbox/startup file and in your ~/.xinitrc you will have some issues. Just make sure only one starts the app not both.
eriefisher
eriefisher
-
Posts: 138
- Joined: 14 Nov 2007
#5
__{{emoticon}}__ thanks i'm over thinking tonight--or under?
I just have to make sure only one in the ~/.xinitrc file and remove the conky in flux's startup file.
I just have to make sure only one in the ~/.xinitrc file and remove the conky in flux's startup file.
-
eriefishereriefisherPosts: 1,520
- Joined: 07 Oct 2007
#6
Just comment it out"#" and it will be ignored.
eriefisher
eriefisher
-
Posts: 1,520
- Joined: 07 Oct 2007
#7
Example ~/.xinitrc.
eriefisher
Code: Select all
#!/bin/sh
conky &
(sleep 5 wbar -above-desk) &
numlockx &
unclutter &
case $1 in
icewm)
exec icewm
;;
fluxbox)
exec startfluxbox
;;
*)
exec startfluxbox
;;
esac