Software & AppsOperating SystemLinux

How To Make Conky Start Automatically After Boot

Ubuntu 8

In this guide, we will walk you through the process of setting up Conky to start automatically after boot. Conky is a lightweight, highly customizable system monitor that displays various system information on your desktop.

What You Will Need

Before we begin, ensure that you have the following:

  • A Linux system with Conky installed.
  • Basic knowledge of using the terminal and editing text files.

Solution 1: Creating a Startup Script

One of the simplest methods to make Conky start automatically is to create a startup script. This script will call Conky after a delay, giving your system enough time to boot up completely.

Here’s an example of what the script might look like:

#!/usr/bin/env bash

## Wait 20 seconds
sleep 20

## Run Conky
conky

To create this script, follow these steps:

  1. Open a terminal and use a text editor to create a new file. For example, you can use nano to create a file named start_conky.sh in your home directory:
    nano $HOME/start_conky.sh
  2. Paste the script into the file and save it.
  3. Make the script executable by running the following command:
    chmod +x $HOME/start_conky.sh
  4. Add the script to your startup applications. The method to do this varies by desktop environment, but generally, you can find a “Startup Applications” or similar option in your system settings.

Solution 2: Using the Pause Argument

Another method to start Conky with a delay is to use the -p or --pause=SECONDS argument. This tells Conky to wait a certain number of seconds before starting. For example, to wait 10 seconds after boot to start Conky, you can use the following command:

conky -p10

Or:

conky --pause=10

You can add this command to your startup applications in the same way as the startup script in Solution 1.

Solution 3: Using Conky Manager

If you have Conky Manager installed, you can use it to configure Conky to start automatically. Conky Manager is a graphical front-end for managing Conky configurations.

To set Conky to start at boot using Conky Manager, follow these steps:

  1. Open Conky Manager.
  2. Go to the settings.
  3. Enable the option to start Conky at boot.

Solution 4: Editing the Conky Configuration File

You can also edit the Conky configuration file to change how Conky behaves. The default location for this file is /etc/conky/conky.conf.

Here are the settings you need to modify:

own_window_type = 'normal',
own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',

These settings control how Conky’s window behaves. The own_window_type setting controls the type of window Conky uses, and own_window_hints controls various aspects of the window’s behavior.

After modifying these settings, save the file and restart your system to see the changes.

Solution 5: Using Startup Application Preferences

Another method to start Conky with a delay is to use the “Startup Application Preferences.” In the command line for Conky, change it to conky --daemonize --pause=10. This command will start Conky as a background process with a 10-second delay.

Conclusion

There are several ways to make Conky start automatically after boot, and we’ve covered the most common ones in this guide. The method you choose depends on your specific needs and how comfortable you are with using the terminal and editing configuration files.

Remember to test your changes after making them to ensure Conky starts correctly. If you encounter any issues, review the steps you’ve taken and check the Conky documentation for more information.

How do I install Conky on my Linux system?

To install Conky on your Linux system, you can use your package manager. For example, on Ubuntu, you can open a terminal and run sudo apt-get install conky to install Conky.

Where can I find Conky Manager?

You can find Conky Manager on its GitHub page. You can download the latest release from the Releases section and follow the installation instructions provided.

Can I customize the appearance of Conky?

Yes, Conky is highly customizable. You can edit the Conky configuration file to change the appearance, such as the fonts, colors, and layout. Additionally, you can find various Conky themes online that you can download and use.

How can I add additional system information to Conky?

To add additional system information to Conky, you can edit the Conky configuration file and add new sections or variables. There are many resources available online that provide examples and instructions for adding different system information to Conky.

Can I have multiple Conky configurations running at the same time?

Yes, you can have multiple Conky configurations running simultaneously. Each configuration will need its own configuration file and can be started using separate commands or scripts.

Leave a Comment

Your email address will not be published. Required fields are marked *