Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-07-2015, 09:00 AM   #1
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 250

Rep: Reputation: 31
misbehaving colors in rclock

For many years I experience a puzzling problem with rclock. I use rclock on many different slackware boxes which all feature the same slack version. rclock helps to keep ssh connections open. As my X and fvwm have a dark screen background i prefer rclock (or xlcock) to run with :

rclock -update 1 -bg black -fg blue

Now it happens that either at rclock start time or 'automagically' any time later the background and foreground color settings switch apparently for no reason so that rclock subsequently turns into a bright blue patch - which then annoyingly mimics my xbiff's mail arrival announcement. The only somewhat silly solution i have for now is to manually switch -fg and -bg each time when restarting a misbehaving rclock.

Any idea what causes this ?
Old 09-07-2015, 09:05 PM   #2
Registered: Jul 2006
Location: Montréal, Canada
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 31
ok, i found the culprit that works havoc with my rclock colors : it's the shell variable $MAIL which by default points on my machines to /var/mail/$WHOAMI. if for whatever reason this files gets modified to a non-zero size it makes rclock reverse its colors. emptying this file corrects my colourful problem...


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
Misbehaving gzip jan.vipin Linux - Software 9 07-15-2011 05:12 AM
sed misbehaving? linmix Programming 9 12-04-2005 11:43 AM
A misbehaving ad - Firefox 1.0.7 Orkie LQ Suggestions & Feedback 3 10-27-2005 05:10 PM
flashdrive misbehaving linmix Linux - Hardware 9 02-06-2005 05:32 AM
Why is my samba misbehaving? sapphos Linux - Networking 4 10-11-2003 03:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:27 AM.

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