Author Topic: Conky is not transparent  (Read 1321 times)

Offline kolosus

  • Hero Member
  • *****
  • Posts: 774
  • I don't have blue eyes
Conky is not transparent
« on: October 15, 2009, 05:55:45 PM »
I've been using kde4 for a few days now and conky doesn't blend into the background. There is an ugly black background on it. Anyone know how I can get transparency back? On kde3 I used to turn off the desktop icons and transparency would work. Cant seem to find something similar in kde4.

Thanks.
Linux User # 435130

For what is evil but good tortured by its own hunger and thirst?
Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters.
The PROPHET, by Kahlil Gibran

musonio

  • Guest
Re: Conky is not transparent
« Reply #1 on: October 15, 2009, 06:49:00 PM »
I had the same problem when I switched to kde4 and googled around for an answer. There are several posts on the topic, and most of them include using feh to draw the background (if I remember correctly). I gave up when I tried YASP, a plasmoid that gives you much of the information I wanted conky to give me. Of course, it is not customizable and it doesn't give that wonderful conkish feeling, but it's something.
Still, someone around here will surely provide a real answer.

Offline Roc4fun

  • Hero Member
  • *****
  • Posts: 619
  • The life so short, the craft so long to learn
Re: Conky is not transparent
« Reply #2 on: October 16, 2009, 11:58:01 AM »
Hi All,  I'm using kde4 and Conky.  I had to resort to using feh to draw the background, but it seems to work seamlessly.

I installed feh, it's in the repo.

Here how I start it...

#!/bin/bash
feh --bg-scale /usr/share/wallpapers/reMix_Clean_1920x1200.jpg
conky -c ~/Conky/conkymain/conkyrc-weather &
while inotifywait ~/.kde4/share/config/plasma-appletsrc; do
feh --bg-scale /usr/share/wallpapers/reMix_Clean_1920x1200.jpg
done

I got this script searching for kde4 and conky.  The /usr/share location is the wallpaper I'm using.  The conky line is how I've always started conky.

This script is in my ~.kde4/autostart folder and is executable.

HTH,

Dave

Offline kolosus

  • Hero Member
  • *****
  • Posts: 774
  • I don't have blue eyes
Re: Conky is not transparent
« Reply #3 on: October 16, 2009, 05:14:53 PM »
Thanks Dave. That worked like a charm. Now my beloved conky is back in action looking like it was always intended to be... transparent.

If we can only figuer out how to keep the background picture dynamic... Obviously feh only checks what's in the script but if there was a way to get it to change according to how the desktop was set... I guess no more revolving backgrounds for me.

Thanks again Dave.
Linux User # 435130

For what is evil but good tortured by its own hunger and thirst?
Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters.
The PROPHET, by Kahlil Gibran

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1904
  • MLU and BLU (Bacon lovin' user)
Re: Conky is not transparent
« Reply #4 on: October 17, 2009, 01:42:20 AM »
If we can only figuer out how to keep the background picture dynamic...

kolosus, I've been using the following in my script. Of course the background of conky doesn't change immediately (you have to restart conky), but it works when logging in the next time:

Code: [Select]
currentwallp=`grep "wallpaper=" ~/.kde4/share/config/plasma-desktop-appletsrc | cut -c11-99`
sleep 1 && feh --bg-scale $currentwallp
conky &

Torsten
What country can preserve its liberties if its rulers are not warned from time to time that their people preserve the spirit of resistance?
Thomas Jefferson