LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-24-2005, 06:55 PM   #1
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Rep: Reputation: 30
root-tail help


I have just got root-tail running in fluxbox but have a couple of problems.

When I first open fluxbox I see the output of root-tail displayed for a split second before the background image set by fbsetbg in my theme is displayed. Then I cannot see root-tail, that is until I open another app overtop of where it is, or even just open the fluxbox menu. Wherever an app opens overtop of root-tail that area will then display root-tail's output. So, if I open up firefox for example and maximize it I can then see all of root-tail. Can anyone help me to make root-tail's output visible from the start?

Here is what I have in ~/.fluxbox/startup

root-tail -f -fn 'glisp' -g 300x650+15+55 -wordwrap /var/log/messages,gray &



My second problem is that I thought that root-tail would update the display as the log file changes but it seems to always be the same.

Anyone help me with these two things?

Thanks and Merry Christmas!
 
Old 12-24-2005, 08:23 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Um, did you read the "manual" at http://goof.com/pcg/marc/root-tail.html? It looks like you want the -reload option to get the display refreshed every so often, which should cause it to overwrite the background image which has, of course, overwritten the root-tail window.
 
Old 12-27-2005, 10:11 AM   #3
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Original Poster
Rep: Reputation: 30
I have read the manual and I have tried reload but it didn't help.
 
Old 12-27-2005, 10:19 AM   #4
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
That stuff happens to me too when I use root-tail... same thing when I use my borderless transparent terminal over my background image (so it looks like its superimposed on there), after fluxbox is all finished loading, the stuff in the aterm screen wont show up until i move a window overtop of it, or type clear in the terminal. I couldn't ever figure out how to get it to quit doing that, so I just learned to deal with it. I suppose maybe you could have like the fbsetbg command in the startup script, and then say, have a sleep command, and then have it load root-tail, so that the background would already be set by the time root-tail comes up. Not sure if that will work though, havn't tried it yet... although I may now that i think about it sence I have the same problem.
 
Old 12-27-2005, 10:40 AM   #5
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
Oh yay, it does work... well, kinda. I had to make it redundant, which really is a waste of resources. I mean, it has to set the background twice the way I did it because it was so messy. I have my ~/.xsession look like this:
--- code ---
xgamma -bgamma 0.90
xgamma -screen 1 -ggamma 0.62 -rgamma 0.65 -bgamma 1.06
xmms &
gkrellm &
xscreensaver -no-splash &
fbsetbg ~/stuff/bluexmas2k2-3.jpg; sleep 3
aterm-noborder -tr -trsb -g 63x70+90+30 +sb -fg white -bg black &
fluxbox
--- end code ---

and then in my ~/.fluxbox/init it has the root command I have:
--- code ---
session.screen0.rootCommand: fbsetbg -l
--- end code ---

And that semes to work... although it is quite slow. When it first starts up, it sets the background first, and then brings up the terminal ontop of the background, then the theme goes and sets the background to solid grey, then it runs the root command and sets the background back to my wallpaper. I suppose I could clean it up a bit by tweaking the theme's code to not set that solid grey color, and then that would eliminate the need for the redundancy of the fbsetbg's though... it would save a second or so off the overall startup time. My backgrounds big though, I have a dual headed display, so its like a 1280x2048 image and takes a while to load.
 
Old 12-28-2005, 12:36 AM   #6
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Original Poster
Rep: Reputation: 30
thanks, i may try that, or i may just live with it! cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
root tail scylla Linux - Software 9 08-03-2005 04:44 PM
root-tail help! perry Linux - Software 3 07-25-2004 04:35 PM
root-tail for gnome epoo Linux - Software 3 01-20-2004 01:20 PM
Install root-tail SnowSurfAir Linux - Software 5 07-29-2003 04:58 PM
root-tail -help Streams Linux - Software 2 04-26-2003 04:16 PM


All times are GMT -5. The time now is 08:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration