You are not logged in.

#1 2007-05-15 14:06:53

akejo
Member
Registered: 2007-03-21
Posts: 98

[Solved] XFCE Desktop update...

Hello all agian.

I am using conky in XFCE and play my music collections with mpd now. In conky I added mpd status including song name and so on.

My problem is, when I play a song it shows the artist/title on the screen. If a song's title is shorter then the previous song conky update that text but on the desktop there's still text left from the old song.

For example:

Song 1:
MPD: [1.28/3.24] Artist - A very long song title for this song

Song 2
MPD: [0.08/2.12] Artist 2 - A short title ong title for this song


The part in italics is NOT removed as I switch song.

Can I make either conky or xfwm to update the desktop when I switch song?

(EDIT: I've read some about the FAM daemon that is used by several desktop env. Can it be the one I miss as desktop is not updating? Do XFCE make use of it?)

(EDIT 2: I searched and found http://bbs.archlinux.org/viewtopic.php?id=31737, tried it, but nono, not updating, fam is running and so on..)

(EDIT 3: Case closed. Installing FAM, get that daemon running, restart of xfce solved it it seems, Mental note #2345: Check ALL possible solutions before spamming a forum..)

Here's the conkyrc(I use 2, this one is on the bottom of screen):

START conkyrc ------------------------------------------------------
# conky configuration

# set to yes if you want Conky to be forked in the background
background yes

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont DejaVu Sans Mono:pixelsize=10

# Text alpha when using Xft
xftalpha 1

# Print everything to console?
# out_to_console no

# Update interval in seconds
update_interval 2.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
#own_window_type desktop
#own_window_hints below

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
#minimum_size 280 5

# maximum_width 215

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline yes

# Draw borders around text
draw_borders no 

# Stippled borders?
stippled_borders 0

# border margins
border_margin 1

# border width
border_width 1

# Default colors and also border colors
default_color A29F84
default_shade_color black
default_outline_color black

# Text alignment, other possible values are commented
# alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 1 
gap_y 1

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer yes

TEXT
${color #596380} MPD:${color } [${mpd_elapsed}/${mpd_length}] ${mpd_smart} 

END conkyrc -----------------------

Last edited by akejo (2007-05-15 14:53:42)

Offline

Board footer

Powered by FluxBB