LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Conky not loading on startup debian 7 gnome (https://www.linuxquestions.org/questions/linux-software-2/conky-not-loading-on-startup-debian-7-gnome-4175469038/)

Tadaen 07-09-2013 02:26 PM

Conky not loading on startup debian 7 gnome
 
There's got to be some trick here. It worked fine with kde and xfce but I can't get it to load on login with gnome. Gnome 3 to be specific not fallback gnome 2. Anyone have insight? Added to started programs and still nothing.

Glennzo 07-09-2013 02:59 PM

I start mine from a small script in my home directory. The script is added to gnome-session-properties and is called when I log into the desktop.
Debian 7 / Gnome Shell

Here's the script ...
PHP Code:

#!/bin/bash
# ck.sh
# Start conky script

# Glenn A. Johnson
# Started May 7, 2013
# Last edited May 7, 2013
# Written specifically for the Phenom box running Debian 7

sleep 5
conky 
-/etc/conky/conky.conf &
sleep 5
conky 
-/etc/conky/conky_black.conf 

It actually calls 2 conkys.

In gnome-session-properties for startup application preferences/startup programs I created new then I've added a name (Conky), command (sh .ck.sh) and description, (desktop eye candy).

Are you sure it's not already running? It seems that a lot has changed regarding conky with the advent of Gnome 3. Mostly display related.

Tadaen 07-09-2013 03:59 PM

I can see it in the system monitor list when I log in I just can't see the actual conky display. System monitor shows it using cpu and ram but it's invisible.

*EDIT* Update. I tried a restart and watched closely what happened. After logging in conky was right where it should be, top left in my case at the moment. Once the top "taskbar?" showed up conky disappeared. System monitor says it's still running.

Notice your script uses the conky.conf instead of .conkyrc in home? Is that a better way of setting this up?

Glennzo 07-09-2013 04:08 PM

What is "own_window_type" in conky.conf? Mine is set to desktop.

Quote:

Notice your script uses the conky.conf instead of .conkyrc? Is that a better way of setting this up?
I don't think it makes any difference. This is just the way I've been doing it for years.

Tadaen 07-09-2013 04:40 PM

Script worked. Modified it to point to .conkyrc but otherwise same. Solved problem and I learned a bit on how scripts work as well. Thank you much.

Glennzo 07-09-2013 06:16 PM

You're welcome. Glad I could be of help ;)


All times are GMT -5. The time now is 01:44 PM.