You are not logged in.

#1 2015-10-10 13:12:10

rhallen
Member
Registered: 2012-01-14
Posts: 11

[SOLVED] Conky starting multiple instances after switch to XFCE

Hi all,

I recently switched from using a pretty bare-bones Openbox setup to XFCE. I had Openbox configured to autostart conky using a non-default config file via a conky.desktop file in ~/.config/autostart using the command:

conky -d -c .conkyrc-0

This worked very well -- each time I ran startx, conky would start up exactly as expected.

When I switched to XFCE, I decided that I did not want to run conky at all anymore (eventually I will, but with a completely different config file), so I deleted ~/.config/autostart/conky.desktop. However, now when I run startx, XFCE fires up along with not one, not two, but four separate instances of conky using my non-default config file:

$ ps -ef | grep conky
rhallen      2582     1  2 08:43 tty1     00:10:46 conky -d -c .conkyrc-0
rhallen      2584     1  3 08:43 tty1     00:11:00 conky -d -c .conkyrc-0
rhallen      2586     1  3 08:43 tty1     00:11:14 conky -d -c .conkyrc-0
rhallen      2588     1  3 08:43 tty1     00:11:02 conky -d -c .conkyrc-0

It truly looks like four instances, too -- they don't all update at the same time, so the text displayed on the screen appears blurry because four different numbers will frequently be printed over one another.

I cannot for the life of me figure out where conky is being invoked. I have checked ~/.xinitrc as well as the X11 files and directories that it pulls in. I have checked the files in the ~/.config/xfce4* directories. I have checked ~/.xfce-session-verbose-log for clues, but there is no mention of conky. I have also looked in a lot of other places that I can't even remember over the past couple of days. I have no ~/.config/conky directory.

I do not have XFCE configured to restore the last session, and there is no mention of conky in the Session and Startup control panel anyway.

Now I suppose I could stop this by simply deleting, moving, or renaming .conkyrc-0, but it would be nice if I could understand what is happening here so I can avoid it (and any similar or related missteps) that I might be making in the future.

I must be missing something fairly obvious, but what?

Thanks.

Last edited by rhallen (2015-10-10 15:36:38)

Offline

#2 2015-10-10 13:56:35

toz
Member
Registered: 2011-10-28
Posts: 513

Re: [SOLVED] Conky starting multiple instances after switch to XFCE

fgrep -ri conky ~/.cache/sessions

If this returns conky hits, then try manually clearing your saved sessions cache to purge whats in there. While not logged in, delete ~/.cache/sessions.

Offline

#3 2015-10-10 15:36:17

rhallen
Member
Registered: 2012-01-14
Posts: 11

Re: [SOLVED] Conky starting multiple instances after switch to XFCE

Sure enough, I had conky listed four times in the sessions folder. I manually cleared it, restarted, and no more conky -- thanks a ton!

Offline

Board footer

Powered by FluxBB