-   Linux - General (
-   -   Autostarting a log window in the back of WindowMaker (

chrisk5527 10-23-2004 02:34 PM

Autostarting a log window in the back of WindowMaker
I'm running WindowMaker as my window manager and I would like to have a log running in the background. I'm using root-tail to do this. How can I execute a statement, lets say "root-tail /var/log/syslog" and have show in the background on login? I tried putting the command in the ~/GNUStep/Library/WindowMaker/autostart file, but nothing happened; so obviously this is the wrong file. Any ideas?


oneandoneis2 10-23-2004 03:14 PM

Yah - running the command doesn't help if you don't tell it where to display the output :)

Try xterm -e root-tail /var/log/syslog

This will open an xterm and run the root-tail command within the xterm

chrisk5527 10-23-2004 03:23 PM

If your in WindowMaker and issue "root-tail /var/log/syslog" it displays in the background, if you read my question carefully, you would understand that my probem is when I'm logging in.

chrisk5527 10-23-2004 04:10 PM

I figured it out. In ~/GNUStep/Library/WindowMaker/autostart file use this command with your own options.
sudo root-tail -g 800x200+1120+1000 -fn lucidasanstypewriter-12 /var/log/messages -i 1&

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