LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 10-23-2004, 01:34 PM   #1
chrisk5527
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Slackware Linux 10.0
Posts: 289

Rep: Reputation: 30
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.
 
Old 10-23-2004, 02:14 PM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
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
 
Old 10-23-2004, 02:23 PM   #3
chrisk5527
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Slackware Linux 10.0
Posts: 289

Original Poster
Rep: Reputation: 30
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.
 
Old 10-23-2004, 03:10 PM   #4
chrisk5527
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Slackware Linux 10.0
Posts: 289

Original Poster
Rep: Reputation: 30
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&
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant log out of window manager and log back into kde randrake Linux - General 4 08-11-2005 11:01 AM
Running command when I log into WindowMaker chrisk5527 Linux - General 1 10-16-2004 02:52 PM
Lost Window decorations in windowmaker Phantomas Linux - Newbie 4 08-22-2003 10:10 PM
Any window managers similar to windowmaker? BajaNick Linux - General 7 08-16-2003 06:37 PM
Could anybody help me back to X window please? HoHah Linux - General 2 04-29-2002 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration