-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After reboot randomly opens some conky's, not all #31
Comments
Interesting. I wonder if that would say that the same thing would happen on any sort of reboot? I'm taking a guess that from using a liveusb you are using reboot? warm restart, as opposed to cold restart. I don't know if that would be relevant but taking a guess that it might. The conky-manager2, if you are using the autostart setting, and timer, writes a startup shell file location in ~/.conky(that's the default location and based on your settings path) and that would include a timed delay as well as any list of configs to be started. If you are not instructing conky-manager2 to handle all of the configs, and for example you have your own scripts that might start any of the other configs, then there could likely be a conflict of when some or others would start, and the conky-manager2 script is created to include a killall command, which would kill any other configs that have potentially already started at that point. You can make sure to set the manager to handle all of them, or go edit the start script and remove the killall line, if you think this might be part of the problem. Or maybe there is some issue once you reach such a threshold of 35 configs. The conky-manager2 does not start or run when a re/boot happens, only the created script is run, by the system, based on startup script activity. So my guess would be that there might be a problem with the script, or that regardless of the manager the system itself gets into a weird position of handling the 35 configs all firing up one right after the other. If it's never happening from a cold boot, then it means there is some delay or otherwise viable condition during cold boot that offers the opportunity for all the scripts to run successfully without any issues. |
I don't think it is because of the threshold of 35 conky's. I recently switched from mint 19.x to mint 20 and before i had no problem of any kind with this many. When i want to start the liveusb session i sometimes use the "reboot" command from the prompt, but mostly i restart from the menu. Don't know if that would make a difference, i have to try that. Conkymanager handles all conky's scripts! Start and stop. When i enter the desktop it takes about 10 seconds (delay of conky) before the conky's show. If they start and would get killed, then i would notice them before they get terminated, but they do not appear at all. When does conkymanager writes to that script? At reboot or immediatly when i check or uncheck a script? |
I can't put my finger on it... if i reboot via startmenu or type reboot in terminal, does not matter. Randomly starts conky's. When i reboot again and go immediatly to my normal linux all conky's are started! |
Make the delay 15 seconds, or 20 seconds and see if that solves the problem, because there are many other things that start when you boot the system. You can tailor the timing to make sure the bash scripts are started before the conky configs. conky-manager2 will re/write the start script, every time you close the program, if you are using the startup option. |
The bash scripts have a failsafe in them. They go into a waiting loop until the conky for that script is loaded and then pops out of that loop and does it's work until the conky goes offline, then it shoots in the waiting loop again. But the conky's do not need these scripts to run.. |
Well... the 20 seconds seems to work. I have rebooted numerous times today and they all get started. |
Good to hear. On a systemd system things can be started much more synchronously than a straight line queue of individual tasks. Doing that on a high performance system can mean that within the first seconds there is less predictability during any given second as to what is what or where, at least until the starts have finished. Aside from the system itself being fully stabilized, you already know that when you start a conky config that it takes 2 or 3 passes to become stable as far as all of the pieces of it being fully functional, depending on what variable or function you might be involved with. So if there is a config trying to use for example -must be something involving that stuff. |
If that were so, then it would always be the same conky script that fails to start, but it is random! |
I have about 35 conky windows and after a reboot conkymanager does not start all the conky's! It randomly starts some of them, not all. Very annoying! It does not happen all the time, but it always happen after i started a liveusb session and then boot back to my normal linux! Then some (random) of the conky's are started, some not... i have no clue why and were to look for this problem??
The text was updated successfully, but these errors were encountered: