Raging Goblin

21 July 2011

Xfce fakes ghosting of conky characters

Filed under: Linux — Raging Goblin @ 20:09
Tags: , ,

Since the introduction of Gnome 3 I switched to Xfce. I just couldn’t adjust to the new ways to interact with the desktop Gnome forces upon the user. Call me old-fashioned, but at least I tried! After a while I noticed however some ghosting of the characters displayed by conky.

Characters ghosting a little

I have been playing for hours to correct this. To no avail I have been trying many variations of settings of the ‘own_window_hints’. Until I noticed that running applications at the time of shutdown where restarted when Xfce was restarted. In the ‘Session and Startup’ of the Xfce settings manager, I had the option to save the session on logout deliberately disabled. Besides this, conky did not show up in the list of running applications in the ‘Session’ tab. Strange, but a ‘ps’ revealed multiple instances of conky. So no ghosting at all! Just 2 instances of conky running on top of each other.

Starting conky using the following bash snippet released me of this.

#!/bin/bash
sleep 10
conky=`ps -e | grep conky`
if [ "$conky" == '' ]; then
        conky &
fi
Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: