You see, I am running a shoutcast server currently, how do I, when the computer boots up.
Automaticly tell it to load up two consoles (rxvt)
With..
./root/sc_trans_040/sc_trans_linux
(and then another console)
/usr/local/shoutcast/sc_serv
(And also, if it wouldn't be too much trouble, would there be a way to automaticly put them in my tray?)
Automaticly run a console comand on boot-up.
You could try the litte start-items Rox-App that I wrote.
http://www.murga.org/~puppy/viewtopic.php?t=18&start=209
http://www.murga.org/~puppy/viewtopic.php?t=18&start=209
i haven't tried start-items yet ... it sounds like a very useful app
you could write a script (i think with Puppy 1.0.4, you can right click on a rox window and click New Script) ... something like:
#!/bin/sh
rxvt -e /root/sc_trans_040/sc_trans_linux &
rxvt -e /usr/local/shoutcast/sc_serv &
and run the script from /etc/profile, probably put the line just before exec xwin, like this:
/root/shoutcast/run-shoutcast
exec xwin
if you called the script run-shoutcast and put it in /root/shoutcast
if you run Icewm, you can have a tray icon for rxvt if you put this line in /root/.icewm/winoptions:
rxvt.tray: 1
but there will be a tray icon for ALL rxvt windows
you could make a symlink or 2 to rxvt, so rxvt runs with a different name
for example, you could drag rxvt from /usr/local/bin/ with the middle mouse button to /root/shoutcast/ and click Link ... rename the link to shoutcast1 ... if you like, you can make another link, and rename it shoutcast2
then your run-shoutcast script could be:
and you could put this in .icewm/winoptions:
shoutcast1.icon: eyes24
shoutcast1.tray: Minimized
shoutcast1.workspace: 3
shoutcast2.icon: fishy24
shoutcast2.tray: Minimized
shoutcast2.workspace: 3
(as an example ... you can pick better icons)
set up this way, the 2 shoutcast rxvt windows should start running automatically on boot, minimized, in workspace 4, with tray icons (one a fish and the other icon eyes), and there will be no button on the task bar when it's minimized
(-iconic starts rxvt minimized, -sl 32000 saves 32000 lines in the rxvt window that you can scroll through)
like this picture:
you could write a script (i think with Puppy 1.0.4, you can right click on a rox window and click New Script) ... something like:
#!/bin/sh
rxvt -e /root/sc_trans_040/sc_trans_linux &
rxvt -e /usr/local/shoutcast/sc_serv &
and run the script from /etc/profile, probably put the line just before exec xwin, like this:
/root/shoutcast/run-shoutcast
exec xwin
if you called the script run-shoutcast and put it in /root/shoutcast
if you run Icewm, you can have a tray icon for rxvt if you put this line in /root/.icewm/winoptions:
rxvt.tray: 1
but there will be a tray icon for ALL rxvt windows
you could make a symlink or 2 to rxvt, so rxvt runs with a different name
for example, you could drag rxvt from /usr/local/bin/ with the middle mouse button to /root/shoutcast/ and click Link ... rename the link to shoutcast1 ... if you like, you can make another link, and rename it shoutcast2
then your run-shoutcast script could be:
Code: Select all
#!/bin/sh
/root/shoutcast/shoutcast1 -iconic -sl 32000 \
-e /root/sc_trans_040/sc_trans_linux &
/root/shoutcast/shoutcast2 -iconic -sl 32000 \
-e /usr/local/shoutcast/sc_serv &
shoutcast1.icon: eyes24
shoutcast1.tray: Minimized
shoutcast1.workspace: 3
shoutcast2.icon: fishy24
shoutcast2.tray: Minimized
shoutcast2.workspace: 3
(as an example ... you can pick better icons)
set up this way, the 2 shoutcast rxvt windows should start running automatically on boot, minimized, in workspace 4, with tray icons (one a fish and the other icon eyes), and there will be no button on the task bar when it's minimized
(-iconic starts rxvt minimized, -sl 32000 saves 32000 lines in the rxvt window that you can scroll through)
like this picture:
icewm manual:
http://www.icewm.org/manual/icewm-14.html
http://www.icewm.org/manual/icewm-14.html
Do you mean, put this post in the Wiki somewhere, and add an entry in the Wiki index pointing to it?Lobster wrote:Can someone who feels they would like to have a go at adding data to the wiki please add G2's data to the wiki?
Let us know where you put it and how you get on