You are not logged in.

#1 2009-08-26 01:46:35

cpc
Member
Registered: 2009-04-30
Posts: 42

can not set Conky background to be transparent in KDE

It is really weird, the same .conkyrc works normally in Gnome, but it does not in KDE, there is always a black background, any fix available? thanks for reply.

Offline

#2 2009-08-26 08:14:14

drtoki
Member
From: {x ∈ A | p(x) = 1}
Registered: 2009-07-22
Posts: 95

Re: can not set Conky background to be transparent in KDE

KDE does not set the background to the true root window and instead places it on its own separate layer.  To get it working you need to set the background with something like feh.

feh –bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`

Alternatively, you can put the following in your ~/.xinitrc file as suggested by Conky's FAQ page.

sleep 1 && feh --bg-center ~/background.png &

Last edited by drtoki (2009-08-26 08:18:40)

Offline

#3 2009-08-26 09:28:11

cpc
Member
Registered: 2009-04-30
Posts: 42

Re: can not set Conky background to be transparent in KDE

drtoki wrote:

...Alternatively, you can put the following in your ~/.xinitrc file as suggested by Conky's FAQ page.

sleep 1 && feh --bg-center ~/background.png &

Thanks for reply, but they do not work.

For the second method, there is no background.png in the home folder, I think it should point to the exact path of the current wallpaper, but what is the path?

Offline

#4 2009-08-26 18:00:29

AdrenalineJunky
Member
Registered: 2009-05-03
Posts: 149

Re: can not set Conky background to be transparent in KDE

/home/~username~/.kde4/share/wallpapers/~wallpapername~

Offline

#5 2009-08-26 18:04:47

descendent87
Member
Registered: 2009-07-23
Posts: 105

Re: can not set Conky background to be transparent in KDE

I'm having the same problem, tried adding what it says on the conky wiki page but still not working. Adding that line to my .xinitrc wont work either as I have the wallpaper set to a slideshow in KDE

Offline

#6 2009-08-26 18:39:50

drtoki
Member
From: {x ∈ A | p(x) = 1}
Registered: 2009-07-22
Posts: 95

Re: can not set Conky background to be transparent in KDE

Here's a small script for a slideshow type functionality with feh (requires a .wallpaper directory in your home folder. You can change it to where ever you store your wallpaper images)

while true;
do
   feh --bg-scale "$(find ~/.wallpaper -name *.jpg | shuf -n 1)"
   sleep 15m
done &

If it doesn't work in .xinitrc, try putting it in the KDE autostart file. That may work better.
Additionally check this thread.
http://bbs.archlinux.org/viewtopic.php?id=63986

Last edited by drtoki (2009-08-26 18:41:19)

Offline

Board footer

Powered by FluxBB