SciFi theme for Conky
Conky is a free system monitor tool for the X window system on Linux. It is able to monitor many system varaibles including CPU status, swap space, temperatures, disk usage, processes, network interfaces, battery status and a slew of others and then display the information on your desktop. It is also capable of displaying time, calendars, weather and more.
Enjoy & Cheers!
You can grab the latest release from github
The GitHub Wiki is the central hub for all of Conky's documentation
First and foremost we need to obtain the conky-all package
sudo apt install conky-all
You can also visit GitHub's Conky Wiki for more Installation options and information
Next, we need to install a few dependencies that did not come with our 'conky-all' package that we are going to need to get all these configs to run.
Install JQ
JQ is a lightweight, command line JSON processor. If Aptitude (apt) can't find it in your existing repositories, you may need to add the line manually to your sources.list
file More information
sudo apt update
sudo apt install jq
Install & Configure lm-sensors
In order to populate neccessary sensor data and achieve functionality with this script, we need to install and run lm-sensors
sudo apt install lm-sensors
sudo sensors-detect
to find and configure sensors, then follow the prompts by responding "yes" to all. At the end of detection, lm-sensors will write out all detected sensors so that Conky can access the data. You can test the general function after configuration by running the command sensors
Install hddtemp
sudo apt install hddtemp
Optional
If you wish, you can Install Conky Manager, a Graphical User Interface (GUI) tool for those who prefer not to work in the command line
+ Add the neccessary repository:
`sudo add-apt-repository ppa:teejee2008/ppa`
+ Update:
`sudo apt-get update`
+ Install Conky Manager:
`sudo apt install conky-manager`
git clone https://github.com/SandSux/SciFi_Conky_HUD.git
We need to relocate all of our conky files from this repo into a folder called .conky
(The period indicates that this is a hidden file).
Create a directory in your home folder so that all of the paths in the configuration files link the .lua, .png, etc. files correctly.
cd && sudo mkdir ~/.conky
Move all of the contents of your cloned repository SciFi_Conky_HUD
into your new ~/.conky
directory
mv ~/SciFi_Conky_HUD/* ~/.conky/
Note: The asterisk denotes ALL file types/extensions within a directory
Openweathermap API - visit OpenWeatherMap to sign up for your API key
city_list.txt
file (it's the same list as the linked one).Included in this repo is a file named "conky_start" which we need to issue a chmod
command to in order to make it executable:
chmod 755 conky_start
mv ~/.conky/conky_start /home/<USER>/conky_start
Now conky can be started by issuing the command:
./conky_start &
Next, some values need to be changed in a couple configuration files so that they reflect your system hardware interfaces.
net.rc
towards the bottom there are a few lines where you will enter the designator for your wireless adapter interface marked as <YOUR_WIFI_INTERFACE>
. If you are unsure what your wireless interface is called, run ifconfig
to display a list of your network interfaces. It will likely be wlan0
or something to the effect of wlp**0
./lua/circle_anim.lua
located on line 4 called IMAGEPATH
. Update that path to reflect that of your system and you will have a working lua clock rings configuration.hdd.rc
file that need to be changed to reflect your system on lines 59, 60, and 63Open your weather.rc file and enter your openweathermap API_KEY
and your CITY_ID
Autorun at start:
~/.config/autostart
or by adding an entry to your 'Startup Applications' guiChanges
For the weather.rc
configuration, you are going to have to obtain an API Key from OpenWeatherMap in order to populate your weather data. For referrence, API stands for "Application Programming Interface." The API key is a code passed in by computer programs calling an application programming interface (API) to identify the calling program, its developer, or its user to the Web site. Simply, it is a way to pull specific data from a web service to be used in a third-party fashion.
I found the original script on the KDE Store. It was written by a Hungarian developer who did a spectacular job, though there was no documentation, README and all of the in-line information in the configs was written in Hungarian.
MIT License:
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.