FedoraForum.org - Fedora Support Forums and Community
Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2007
    Location
    Aubagne France
    Age
    71
    Posts
    675
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    F9, conky and kde4.1.

    Hello...
    You know (or not) that in F8, to have conky transparent you must use feh and dcop.
    But in F9 (kde4.1) dbus replace dcop and I don't know how replace dcop by dbus;
    But I have a solution with inotify;
    1) install feh and inotify-tools
    Code:
    yum install feh inotify-tools
    2) create a script in ~/.kde/Autostart
    Code:
    #!/bin/bash
    feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-appletsrc | tail --bytes=+11`"
    conky -c .conkyrc/.conkyrc1 &
    while inotifywait ~/.kde/share/config/plasma-appletsrc; do
    feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-appletsrc | tail --bytes=+11`"
    done
    Give it executable and it's all
    When you change your wallpaper , new one appear after ~30 seconde but it is the normal way of kde4.1
    Last edited by chepioq; 22nd August 2008 at 09:05 AM. Reason: error code

  2. #2
    Join Date
    Feb 2008
    Location
    Sydney Australia
    Age
    71
    Posts
    2,692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by chepioq
    Hello...
    You know (or not) that in F8, to have conky transparent you must use feh and dcop.
    I didn't know that and was wondering why it didn't work. Following your comment I did some more research and decided to add links here, if you don't mind, so anyone else still using F8 can find a solution.
    I followed http://wiki.archlinux.org/index.php/Conky Just remember it is for Arch so make adjustment eg. use yum to install anything not pacman. The least obvious change is that the autostart directory is in ~/.kde/Autostart not not ~/.kde/share/autostart. You need an image selected for the wallpaper too. If, like me, you had no wallpaper selected it doesn't work.

  3. #3
    Join Date
    Jun 2007
    Location
    Aubagne France
    Age
    71
    Posts
    675
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ozjd
    This little tuto is only for Kde 4.1
    On my F8 with Kde 3 "feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`" work well.
    Last edited by chepioq; 28th August 2008 at 01:57 PM. Reason: error

  4. #4
    Join Date
    Feb 2008
    Location
    Sydney Australia
    Age
    71
    Posts
    2,692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is anyone having a problem with this in KDE 4.2?

    Worked fine for me in 4.1 but on a newly installed system that was updated to 4.2 before Conky was installed it isn't working. I am getting the default Solar wallpaper as background of Conky even when I change to another.

  5. #5
    Join Date
    Jun 2007
    Location
    Aubagne France
    Age
    71
    Posts
    675
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello
    I have also this problem when I have installed Kde 4.2
    The solution is:
    remove (or rename in plasma-appletsrc.old) /home/your_user/.kde/share/config/plasma-appletsrc
    and re login;
    If don't work rename your home/your_user/.kde in home/your_user/.kde.old and re-login
    In this case you lose your configuration of Kde

  6. #6
    Join Date
    Feb 2008
    Location
    Sydney Australia
    Age
    71
    Posts
    2,692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by chepioq
    Hello
    I have also this problem when I have installed Kde 4.2
    The solution is:
    remove (or rename in plasma-appletsrc.old) /home/your_user/.kde/share/config/plasma-appletsrc
    and re login;
    If don't work rename your home/your_user/.kde in home/your_user/.kde.old and re-login
    In this case you lose your configuration of Kde
    OK this is weird. Tried first method, no change after a few minutes. So tried the second, yes lost the setup except for the wallpaper I had selected. No change so reinstated my original .kde folder. Restarted x and it all worked. I don't understand but I'm not complaining

    Thanks for the reply.

  7. #7
    Join Date
    Feb 2008
    Location
    Sydney Australia
    Age
    71
    Posts
    2,692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    An update for KDE 4.3 F11. Found the wallpaper wasn't visible behind conky had to change the script as follows.

    Code:
    #!/bin/bash
    feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | tail --bytes=+11`"
    conky -c .conkyrc/.conkyrc1 &
    while inotifywait ~/.kde/share/config/plasma-appletsrc; do
    feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | tail --bytes=+11`"
    done

  8. #8
    Join Date
    Jun 2007
    Location
    Aubagne France
    Age
    71
    Posts
    675
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry; I made a mistake.
    The good sript is
    Code:
    #!/bin/bash
    feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | tail --bytes=+11`"
    conky -c .conkyrc/.conkyrc1 &
    while inotifywait ~/.kde/share/config/plasma-desktop-appletsrc; do
    feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | tail --bytes=+11`"
    done

  9. #9
    Join Date
    Feb 2008
    Location
    Sydney Australia
    Age
    71
    Posts
    2,692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by chepioq
    Sorry; I made a mistake.
    I don't think it was a mistake originally as it worked until the update to 4.3.

  10. #10
    Join Date
    Feb 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Even with the above script change my conky was still not using the wallpaper for pseudo transparency.

    After some investigation it turned out that I had two "wallpaper=" entries in plasma-desktop-appletsrc. grep was returning both.

    Simple solution was to rename the first "wallpaper=" to something else and all was happy again ;-)

    Scott

Similar Threads

  1. How to install conky/setup conky in F10?
    By Von-Dyke in forum Using Fedora
    Replies: 14
    Last Post: 10th July 2009, 11:24 AM
  2. Conky help
    By kerbanoba in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 14th January 2009, 11:16 AM
  3. Conky crashes
    By MuadNu in forum Using Fedora
    Replies: 4
    Last Post: 10th June 2008, 07:25 PM
  4. Conky closing down
    By stijndeloose in forum Using Fedora
    Replies: 3
    Last Post: 17th March 2008, 12:51 PM
  5. Conky MPD problem
    By JPopMango in forum Using Fedora
    Replies: 1
    Last Post: 31st December 2006, 07:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •