LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-09-2005, 07:24 AM   #1
f0rk
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware, FreeBSD
Posts: 23

Rep: Reputation: 15
Question Torsmo, root-tail and fluxbox


I haven't found anything even remotely close to this particular problem ...

For the past few months I have been using fluxbox as my window manager, with Torsmo as my system monitor. Recently, I installed root-tail, so I can view logfiles easily. Here's the situation.

Both Torsmo and root-tail use the root-window to write text on. Now, when Torsmo is running on the root window instead of its own window (not with the -o argument) , and I start up root-tail, root-tail's output of my various log files appears momentarily and then vanishes, until I either:

- move a window over top of where it "was" then move it away, causing the output to appear briefly and then vanish again

or

- kill Torsmo completely, causing the output of root-tail to appear again.

This means basically that Torsmo is using all the screen area in the root window, not just the area it needs to display its text, and as such, this transparent "space" it's taking up is covering up root-tail's output making it "invisible" until after I kill Torsmo.

... I think. I mean I don't know I could be way-wrong.

Does anybody know how to get both these applications to play nice together and output thier text on the same root window, without running Torsmo in its own window, by any chance? And advice is greatly appreciated.

Last edited by f0rk; 03-09-2005 at 07:34 AM.
 
Old 03-09-2005, 12:34 PM   #2
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
I've never had any problems running both root-tail and torsmo..

What resolution are you running? Could you post your .torsmorc file? And the full command line you run root-tail with?
 
Old 03-09-2005, 12:57 PM   #3
f0rk
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware, FreeBSD
Posts: 23

Original Poster
Rep: Reputation: 15
Thank you for the response

My resolution is 1024x768, unfortunately I cannot post the config file for Torsmo right now (I'm @ work) but I did think of something interesting ... I edited the config file, so that it would make use of double-buffering. I just read (seriously, like 5 minutes ago) that if I disable that option in Torsmo's config file that it would resolve the issue. Everything else in the config file as far as the configuration is stock. I'll give that fix a try, and see what happens.

I run root-tail with the following:

# ./root-tail -f -g 800x250+750+50 /var/log/messages,white


...thank you again, I'll let you know how it goes.
 
Old 03-09-2005, 02:03 PM   #4
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
Yeah, that should probably fix it. If it doesn't let us know.
 
Old 03-09-2005, 06:23 PM   #5
f0rk
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware, FreeBSD
Posts: 23

Original Poster
Rep: Reputation: 15
Social --

...yeah, that did the trick, I edited the config file, and turned set the double-buffer option to "no", and launched root-tail and it did its thing, and the logs didn't vanish this time.

Then I uninstalled the previous root-tail app I had and installed a Slackware 10.1 root-tail package (I was going to do that anyway) and tried it again, root-tail and Torsmo worked fine.

So I'm happy, thank you for your input (I always get hung up on the smallest, most mundane problems) ... Thing I'd like to know is what would cause double-buffering to prevent root-tail's output from showing up to begin with? ... I'm looking into that because it will drive me nuts from now until then.

I have a lot of reading to do ...

Now all I have to do is get XMMS to play CD's ... for whatever reason I get no sound when playign one, even though I added myself to the cdrom group. You would happen to know why that is, would you?

Thank you again in any case. As always I appreciate the support. Take care.
 
Old 03-09-2005, 06:41 PM   #6
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
First thing I always do, assuming I actually have sound configured, is loading alsamixer and checking volume levels. Check to make sure your CD ROM isn't muted or something. Is it showing it as playing (meaning, is time progressing)? If so, a common problem for a number of users is that they are trying to grab an analog signal when their CD drive is only prepared for digital (meaning you would either need to run a little cable from your CD drive to your soundcard, or set whatever audio player you are using to extract the audio digitally).

Analog extraction is always prefered IMHO, since it's less strain on your CPU. Go to XMMS's options, click on the CD Player plugin, click configure, and check the extraction method.

Last edited by SocialEngineer; 03-09-2005 at 06:42 PM.
 
Old 03-10-2005, 05:38 AM   #7
f0rk
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware, FreeBSD
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
If so, a common problem for a number of users is that they are trying to grab an analog signal when their CD drive is only prepared for digital (meaning you would either need to run a little cable from your CD drive to your soundcard, or set whatever audio player you are using to extract the audio digitally).
Right on ... XMMS is definately playing the disc.

The first ting I do after a Slack install is un-mute and configure Alsa via the Alsamixer. XMMS plays my mp3's with no problem, and Alsa handles my surround-sound setup nicely.

I'll do as you suggested first thing after work. Thank you very much.
 
  


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 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
apm, torsmo & fluxbox jasone Linux - Software 6 04-21-2005 12:07 AM
torsmo - problems drawing to root ingerul Linux - Software 1 02-16-2005 07:33 PM
root-tail help! perry Linux - Software 3 07-25-2004 04:35 PM
root-tail -help Streams Linux - Software 2 04-26-2003 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:37 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