This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kb:linux:lts14p04conkystartup [2014/07/02 22:18] Allen Smith finish editing these instructions |
kb:linux:lts14p04conkystartup [2016/01/13 20:35] (current) |
||
---|---|---|---|
Line 17: | Line 17: | ||
* Into that type the command "''killall conky''" | * Into that type the command "''killall conky''" | ||
* Next "Quit" or "Exit" from any other Desktop Applications that are auto started in "Sessions and Startup" | * Next "Quit" or "Exit" from any other Desktop Applications that are auto started in "Sessions and Startup" | ||
- | <note>Now Restart the system, saving this state where all the Desktop Applications that "Autostart" on login have been shut down.</note> | + | <note>Now Restart the system, saving this state where all the Desktop Applications that "Autostart" on login had been shut down, so that everything should now be running only once.</note> |
* From the Applications Menu select "Log Out" | * From the Applications Menu select "Log Out" | ||
* Now ensure "Save session for future logins" is CHECKED before doing a system Restart | * Now ensure "Save session for future logins" is CHECKED before doing a system Restart | ||
<note tip>Note: If doing the above did stop multiple Conky from running when logging in, that should result in **lower** CPU usage, when there is no noticeable Hard Drive usage or Network activity.</note> | <note tip>Note: If doing the above did stop multiple Conky from running when logging in, that should result in **lower** CPU usage, when there is no noticeable Hard Drive usage or Network activity.</note> | ||
- | ===== The Solution: A Startup Script to Run Conky ===== | + | ===== A Startup Script to Reliably Run Conky ===== |
- | <note>The following terminal commands will create a Conky startup script that makes certain **only** a single instance of the desired Conky is running.</note> | + | <note>The following terminal commands will create a Conky startup script that makes certain **only** a single instance of the desired Conky is running. ... Ajust the below 5 second then 10 second delays as needed for your system.</note> |
<code> | <code> | ||
mkdir ~/.conky # create a hidden directory for conky | mkdir ~/.conky # create a hidden directory for conky | ||
Line 35: | Line 35: | ||
# Pause a little longer to maker certain the desktop is fully loaded | # Pause a little longer to maker certain the desktop is fully loaded | ||
# Then start the desired conky | # Then start the desired conky | ||
- | sleep 10 && conky -c ~/.conky/.conkyrc | + | sleep 10 && conky -c ~/.conky/conkyrc_sys |
</file><code> | </file><code> | ||
chmod +x ~/.conky/conkystart.sh # needed file permission to run this script | chmod +x ~/.conky/conkystart.sh # needed file permission to run this script | ||
- | mv ~/.conkyrc ~/.conky/ # move existing .conkyrc file into the .conky directory | + | mv ~/.conkyrc ~/.conky/conkyrc_sys # move existing .conkyrc file into .conky directory |
</code> | </code> | ||
- | <note tip>If the desired Conky configuration file does not exist yet, then instead of using the above move command, that configuration should be saved as .conkyrc in the just created .conky directory.\\ \\ Note: A period ( . ) at the beginning of a file or directory name creates a **hidden** file or directory. To view those using a file manager, the "show hidden files" option must be selected.</note> | + | <note tip>**If the desired Conky configuration file does not exist yet**, then instead of using the above move command, that configuration should be saved as conkyrc_sys in the just created .conky directory. ( ~/.conky/conkyrc_sys )\\ \\ Note: A period ( . ) at the beginning of a file or directory name creates a **hidden** file or directory. To view those using a file manager, the "show hidden files" option must be selected.</note> |
<note>Finally, update the Autostart list to use the above Conky startup script, to ensure that only one instance of the desired Conky will be running.</note> | <note>Finally, update the Autostart list to use the above Conky startup script, to ensure that only one instance of the desired Conky will be running.</note> | ||
* "Applications Menu" >> "Settings Manager" >> "Session and Startup" >> the "Application Autostart" tab | * "Applications Menu" >> "Settings Manager" >> "Session and Startup" >> the "Application Autostart" tab |