tag:blogger.com,1999:blog-3368874495011792815.post5301316052391706784..comments2022-09-23T14:17:03.604-07:00Comments on My Little Desktop: How to make Conky play nicely with KDE 4.3Unknownnoreply@blogger.comBlogger12125tag:blogger.com,1999:blog-3368874495011792815.post-45246829194303363302011-04-15T13:40:19.987-07:002011-04-15T13:40:19.987-07:00Another way to make conky change when you change t...Another way to make conky change when you change the wallpaper is to install inotify-tools and add the following to your $HOME/.kde/Autostart/<br /><br />#!/bin/bash<br />while [ TRUE ]; do inotifywait .kde/share/config/plasma-desktop-appletsrc; feh --bg-scale `grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | tail --bytes=+11`; done<br /><br />The script is waiting for changes to the plasma-desktop-appletrc file; once it detects a change, the feh command is executed and updates conky background. This is not that bad (anymore) since the appletrc file is updated within a few seconds after the wallpaper changes.<br /><br />This can be achieved even more efficiently by checking whether the change in the appletrc file is the wallpaper, in which case it should execute the feh command.linuxfevernoreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-79142910337951567212011-02-02T22:26:17.771-08:002011-02-02T22:26:17.771-08:00Hi,
I've found that setting 'own_window_a...Hi,<br /><br />I've found that setting 'own_window_argb_visual' to enabled solves the problem and has none of the pitfalls you mention (got it from: http://conky.sourceforge.net/config_settings.html).<br />Don't know if this works with every system.<br /><br />Using Ubuntu 10.04 + KDE<br /><br />Cheers!Anonymoushttps://www.blogger.com/profile/04320386790525153312noreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-58623554250675562112010-02-15T03:08:01.257-08:002010-02-15T03:08:01.257-08:00hello.
This is how you change background and make...hello.<br /><br />This is how you change background and make conky change as well:<br /><br />1 - change background.<br />2 - change folder view to desktop view<br />3 - terminal:<br />feh --bg-scale `grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | tail --bytes=+11`<br />4 - change back to folder view<br /><br />all set :)khttps://www.blogger.com/profile/01535622128114224349noreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-21999586809868690122010-01-21T17:40:47.227-08:002010-01-21T17:40:47.227-08:00Well, after some intents I found that the only sol...Well, after some intents I found that the only solution to draw the background below the Conky is to run the Feh line command on terminal. I try to make an .sh file with this script and put this on the autostart folder but there are something wrong, because does not work.<br /><br />Suggestions?<br /><br />PD. When I run on terminal "sudo nautilus" the Conky crashed.tuabuelahttps://www.blogger.com/profile/09502062415973948151noreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-20920085055577009152010-01-21T00:11:54.915-08:002010-01-21T00:11:54.915-08:00Hi, I followed your tutorial but the black backgro...Hi, I followed your tutorial but the black background is below the conky all the times. You have any suggestion for solve this?<br /><br />(Sorry for my English)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-19701315187227046902009-10-03T15:26:38.468-07:002009-10-03T15:26:38.468-07:00thanks! for th info ;)thanks! for th info ;)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-53648880334636376762009-08-24T13:16:53.810-07:002009-08-24T13:16:53.810-07:00Hm...That's weird. I wonder why it doesn't...Hm...That's weird. I wonder why it doesn't update? It may just be that it's like a "session save" document that helps KDE boot up, but then only does a backup every several hours unless you logout...?londonali1010+dragon_1930https://www.blogger.com/profile/08388431829915389216noreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-8521151212535187452009-08-23T14:52:41.542-07:002009-08-23T14:52:41.542-07:00Aha! it finally updated!
whew... took long enough...Aha! it finally updated!<br /><br />whew... took long enough. (~4 hours!)<br />that's absurd.Crinos512http://ubuntuforums.org/showthread.php?t=281865&page=878noreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-40027502439706477982009-08-23T14:43:48.370-07:002009-08-23T14:43:48.370-07:00OK, it's been a long time and plasma-desktop-a...OK, it's been a long time and plasma-desktop-appletsrc still has not updated... I'm starting to thing you are correct on this one too.Crinos512http://ubuntuforums.org/showthread.php?p=7834561noreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-51020671033779261752009-08-23T10:24:12.663-07:002009-08-23T10:24:12.663-07:00Well heck...
The version of KDE I've got ins...Well heck... <br /><br />The version of KDE I've got installed doesn't store multiple "wallpaper=" lines either... wonder when that changed.<br /><br />Oh well, that's what I get for using beta... <br /><br />BTW: The plasma-desktop-appletsrc does update without a reboot, it just takes a VERY long time. (read as an hour or two) I'm not sure why the long delay, or where th info is stored temporarily. (It would have to be, wouldn't it?)Crinos512http://ubuntuforums.org/showthread.php?p=7832516#post7832516noreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-84477112133430503232009-08-20T13:55:00.391-07:002009-08-20T13:55:00.391-07:00Hey Crinos, great to see you here!
I purposely di...Hey Crinos, great to see you here!<br /><br />I purposely didn't add the feh line to my Conky because I didn't want to run except when Conky starts up. Especially because if I change the background, the plasma-desktop-appletsrc doesn't seem to change until I reboot anyway, so there's no point in running it more often.<br /><br />Also...Maybe we have a slightly different version of the file because I only have one instance of "wallpaper="...The one above it is "userswallpapers=" so wouldn't get found...londonali1010+dragon_1930https://www.blogger.com/profile/08388431829915389216noreply@blogger.comtag:blogger.com,1999:blog-3368874495011792815.post-73354040375993723422009-08-18T19:32:15.252-07:002009-08-18T19:32:15.252-07:00Heya Londonali1010,
Welcome to the wonderful worl...Heya Londonali1010,<br /><br />Welcome to the wonderful world of KDE4 + Conky!<br />I do have 2 notes for your blog...<br /><br />a. I like to use an ${execi 6000 feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | head -n1 | tail --bytes=+11`"} in the start of my .conkyrc (just under TEXT) so that every so often the background changes to match what the plasma settigs have.<br /><br />b. notice I have an extra 'head' shatement in there... that's because if you look at the file (~/.kde/share/config/plasma-desktop-appletsrc) you will find a history of sorts of wallpapers you have used... the head command only grabs the 1st one, which is the one currently in use.Crinos512http://ubuntuforums.org/showthread.php?t=281865noreply@blogger.com