Conky Issue[Solved]

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Locrian
Level 2
Level 2
Posts: 77
Joined: Mon Oct 15, 2007 4:42 pm

Conky Issue[Solved]

Post by Locrian »

Im using the same .conkyrc as ive always used and for some reason now if i open a window or anything that covers conky after i remove it conky is no longer visible but its still running.......... anybody have a clue i can fix this? its very annoying
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
lagagnon

Re: Conky Issue

Post by lagagnon »

You must have changed something in your video/desktop/conky setups to get the change you are describing. It would not have happened "by itself". Conky draws to the root window and therefore, depending on the window manager settings, can often cause problems. I can only suggest you read the Conky FAQ and try the changes it suggests to your ~/.conkyrc file.
User avatar
Locrian
Level 2
Level 2
Posts: 77
Joined: Mon Oct 15, 2007 4:42 pm

Re: Conky Issue

Post by Locrian »

ok after much tinkering i still haven't found what's causing it but at least now I know what's happening........ There's something wrong with that specific .conkyrc that causes conky to stop running and in fluxbox it vanishes in mint main edition it stays there but doesn't update and the transparency goes to hell. so i guess im going to have to build a new one from scratch........
optimize me

Re: Conky Issue

Post by optimize me »

Locrian wrote:ok after much tinkering i still haven't found what's causing it but at least now I know what's happening........ There's something wrong with that specific .conkyrc that causes conky to stop running and in fluxbox it vanishes in mint main edition it stays there but doesn't update and the transparency goes to hell. so i guess im going to have to build a new one from scratch........
I wouldn't go that far. There's probably just something in the enabled options above the TEXT header. First, try changing the own_window and own_window_type options.

These are the options I use and my .conkyrc has worked well for me across several distros and different types of DE
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type override
User avatar
Locrian
Level 2
Level 2
Posts: 77
Joined: Mon Oct 15, 2007 4:42 pm

Re: Conky Issue [Fixed]

Post by Locrian »

ok i found the problem i was running a script to show my external ip and that was what was causing conky to fail not sure why, how or why all of a sudden sense it used to work fine. But once i removed it now it works fine.....
optimize me

Re: Conky Issue [Fixed]

Post by optimize me »

Locrian wrote:ok i found the problem i was running s script to show my external ip and that was what was causing conky to fail not sure why, how or why all of a sudden sense it used to work fine. But once i removed it now it works fine.....
Ah, yes.. now that you mention it, I've had that happen to me before, too.

Was the script using curl or wget? wget is part of a default install, but I'm pretty sure curl has to be installed separately.
User avatar
Locrian
Level 2
Level 2
Posts: 77
Joined: Mon Oct 15, 2007 4:42 pm

Re: Conky Issue

Post by Locrian »

im actually not sure sense i didn't make the script and i didn't look at it either >.>
optimize me

Re: Conky Issue

Post by optimize me »

Locrian wrote:im actually not sure sense i didn't make the script and i didn't look at it either >.>
Didn't even look at it, eh? :shock:

Generally speaking, installing and running a script you haven't even looked at is never a good idea. Just FYI...
User avatar
Locrian
Level 2
Level 2
Posts: 77
Joined: Mon Oct 15, 2007 4:42 pm

Re: Conky Issue

Post by Locrian »

yeah i know i i guess i kinda slipped up a bit there hehe, but either way i took a peek and it uses wget
optimize me

Re: Conky Issue

Post by optimize me »

Instead of a separate script, just incorporate this line to get your public address:

Code: Select all

${execi 300 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
Of course, you can change the execi interval to anything you like. I figure 300s (every 5 mins) is enough.

I've seen variations that use whatsmyip.com instead of checkip.dyndns.org. It's a matter of personal preference, I suppose. On the other hand, I used the whatsmyip.com site for a while, and I notice they stop answering you if you hit them too many times in an hour, which will return a different page (404? 405?) and mess your conky display right up.
User avatar
Locrian
Level 2
Level 2
Posts: 77
Joined: Mon Oct 15, 2007 4:42 pm

Re: Conky Issue

Post by Locrian »

oooo danke that is a very good idea, btw in all theory it only has to run once to get the ip after that it should stay right? sense i have a static ip that is.
Locked

Return to “Compiz, Conky, Docks & Widgets”