Conky-for-macOS / conky-for-macOS

macOS port of the Light-weight system monitor for X.
https://github.com/Conky-for-macOS/conky-for-macOS/wiki
GNU General Public License v3.0
157 stars 9 forks source link

Running conky in background (daemonized) causes config not to load #32

Open npyl opened 6 years ago

npyl commented 6 years ago

Changing to background = false seems to almost always fix the problem.

TheFatDemon commented 6 years ago

How are you daemonizing conky? I've just used launchd to control starting and stopping Conky.

npyl commented 6 years ago

With the command conky -d or by writting backround = true in a config.

TheFatDemon commented 6 years ago

https://pastebin.com/k9n9NiE6

I threw this in ~/Library/LaunchAgents/co.ted.mario.conky.plist

Activated with launchctl load ~/Library/LaunchAgents/co.ted.mario.conky.plist

It'll launch Conky as if you just ran conky in the Terminal.

Turn it off with launchctl unload ~/Library/LaunchAgents/co.ted.mario.conky.plist

Doing all that will make it run when you log in.

npyl commented 6 years ago

Thank you for the info. That works for me too, but the problem is that using the backround = true in a conky config along with some other options - (I suspect) - causes conky to not show up correctly.

Also, the term daemonized doesn't really mean launched by launchd as a daemon but forked in background.

EDIT: For more painless conky management checkout Manage Conky.

It supports cmthemes, widget control, installing and uninstalling conky and last but not least supports painless launching at startup 😝