Open Lowrida opened 2 years ago
When you run conky-manager2 it will parse all files under the configured conky configs path recursively:
grep is used to distinguish which files should be managed: ^[[:blank:]]*TEXT[[:blank:]]*$\\|conky\\.text[[:blank:]]*=
So it opens every file to check if it has these words in it. Wow.. that explains a lot! With all the conky scripts, bash scripts, lua scripts, images files, tempfiles, logfiles etc etc there are 382 files in the ./conky folder and subs!
edit: and i just found what caused this slow start!? With my home made camera monitor system i log every wget command to get still images.. these logs can grow big if i don't delete them on time. When i just calculated with nemo how many files were in the ./conky folder i saw the folder was 4.9Gb in size!! Oops.. forgot to delete the logs! Now it start instantly like it should! I think i'm going to make a cron for that!
All of a sudden it takes at least 15 seconds for conky-manager to start up. Before it was 5 seconds and it had all the conky's found. I tried starting conky-manager from the terminal, but that gave me no information on what it is doing while searching.
The above one took 13 seconds.. but that was after i tried a few times, so this one seems a little quicker. But 15 - 20 seconds is most common!