[SOLVED] Have conky autorun at startup with specific setting

Forum rules
Before you post please read how to get help
Post Reply
User avatar
Valsodar
Level 3
Level 3
Posts: 142
Joined: Thu Jul 19, 2018 11:30 pm
Location: Sofia, Bulgaria
Contact:

[SOLVED] Have conky autorun at startup with specific setting

Post by Valsodar » Tue Jul 31, 2018 1:43 pm

I had set up conky to show what I want but now I don't know how to set it up to autostart with the system with the settings I made. I tried adding conky to autostarting programs but it shows something completely different than what I want. I've downloaded a conky gui manager but it has no autostart settings. I can only see the location of the settings file:
~/.conky/TeejeeTech/Process Panel

So, what should I edit to make conky startup with the system and with that settings file?
Last edited by Valsodar on Tue Jul 31, 2018 4:25 pm, edited 1 time in total.
AsRock B85M Pro4, Core i3-4170, Palit GTX 1050 Ti 4GB, Corsair CX750 PSU, Corsair 32GB DDR3-1600, Corsair Force LE 120GB, WD Caviar Blue + Green = 1.5TB, Firefox 61.0.1 x64, Mint 18.3 Cinnamon, kr 4.13.0-45

User avatar
all41
Level 13
Level 13
Posts: 4694
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Have conky autorun at startup with specific setting

Post by all41 » Tue Jul 31, 2018 2:09 pm

In startup applications edit the conky entry like this:

conky -c /home/your_user_name/.conky/conky.rc

if there are spaces in the path then enclose the entire path within quotes
Proud to be a supporter and monthly contributor to Mint.

User avatar
Valsodar
Level 3
Level 3
Posts: 142
Joined: Thu Jul 19, 2018 11:30 pm
Location: Sofia, Bulgaria
Contact:

Re: [SOLVED] Have conky autorun at startup with specific setting

Post by Valsodar » Tue Jul 31, 2018 4:24 pm

That didn't work. The only way to have it the way I wanted was to leave only the directory /home/username/.conky/TeejeeTech with only Process Panel files in it and delete everything else, so that when conky autostarts, the only widget it can find and start is the one I want.
AsRock B85M Pro4, Core i3-4170, Palit GTX 1050 Ti 4GB, Corsair CX750 PSU, Corsair 32GB DDR3-1600, Corsair Force LE 120GB, WD Caviar Blue + Green = 1.5TB, Firefox 61.0.1 x64, Mint 18.3 Cinnamon, kr 4.13.0-45

User avatar
all41
Level 13
Level 13
Posts: 4694
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: [SOLVED] Have conky autorun at startup with specific setting

Post by all41 » Tue Jul 31, 2018 5:44 pm

I have several resident conky.rc files in my ~/.conky directory for different display positions and for use with different backgrounds. I can auto-start each via the Startup Applications using
conky -c <path_to_file> in the manner I described, so I suppose you
had a path issue.
But you found a solution and that's what matters.
Congrats and Cheers.
Proud to be a supporter and monthly contributor to Mint.

User avatar
Valsodar
Level 3
Level 3
Posts: 142
Joined: Thu Jul 19, 2018 11:30 pm
Location: Sofia, Bulgaria
Contact:

Re: [SOLVED] Have conky autorun at startup with specific setting

Post by Valsodar » Tue Jul 31, 2018 6:30 pm

all41 wrote:
Tue Jul 31, 2018 5:44 pm
I have several resident conky.rc files in my ~/.conky directory for different display positions and for use with different backgrounds.
If I want different positions or colors for different backgrounds, all I have to do is to edit the file Process Panel. I've already set some custom colors there, so it's only a matter of changing a number. ;)
AsRock B85M Pro4, Core i3-4170, Palit GTX 1050 Ti 4GB, Corsair CX750 PSU, Corsair 32GB DDR3-1600, Corsair Force LE 120GB, WD Caviar Blue + Green = 1.5TB, Firefox 61.0.1 x64, Mint 18.3 Cinnamon, kr 4.13.0-45

zcot
Level 2
Level 2
Posts: 62
Joined: Wed Oct 19, 2016 6:08 pm

Re: [SOLVED] Have conky autorun at startup with specific setting

Post by zcot » Tue Jul 31, 2018 9:42 pm

if conky is autostart with no parameters it will run the default configuration:
/etc/conky/conky.conf

UNLESS you have a file called:
~/.conkyrc -in which case it uses that instead.


If you are using conky-manager:
1. in the main window, put a checkbox beside one or more configs that you want to start.
2. then select in "Application Settings" at upper right for "Run conky at system startup".
3. you are done.

What happens is that conky-manager will create an appropriate startup script as seen here: ~/.conky/conky-startup.sh
Then it will make a system startup item to execute that script on system startup.

If you are wanting to change the autostart choice, you simply open the manager and change the selection of checkmark(s). -and this will automatically edit that conky-startup.sh script.


btw conky-manager2:
That version of conky-manager is outdated and doesn't support 1.10 configs, it will not view them, edit, save, and you can not get them interacting with the automatic startup(well, you could manually edit the conky-startup.sh if you want to). Anyway, there is an updated version available here:
https://github.com/zcot/conky-manager2 (you would purge the existing conky-manager and install the newer one).

Post Reply

Return to “Compiz, Conky, Docks, & Widgets”