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?
Thanks. |
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 |
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.
|
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 05:34 AM. |