HOME | DD | Gallery | Favourites | RSS

| traderspit

traderspit ♂️ [37794653] [2015-12-05 19:42:00 +0000 UTC] (Switzerland)

# Statistics

Favourites: 4; Deviations: 5; Watchers: 3

Watching: 6; Pageviews: 2524; Comments Made: 4; Friends: 6


# Comments

Comments: 2

capn-damo [2016-01-09 19:53:37 +0000 UTC]

Thanks for the theme fave

👍: 0 ⏩: 0

traderspit [2016-01-03 21:17:45 +0000 UTC]

TradersPit Conky 0.1
===============================

Inspired by the Ranger spaceship consoles from the "Interstellar" movie.
My conky (version 1.9.0-4) is tested only on a 4-Core Ubuntu 14.04 LTS system with two displays (1920*1080) and the Lightdm display manager. Updates and fixes will be published on this channel.


Special honors:
-------------------------------
Thanks to Nooby4Ever for the Bargraph Widget 2.2 lua script
Thanks to DavidDavioBlue (haxOS Conky) for the python weather script (I extended them a little bit)
Thanks to The Jesters Corner for the background image (thejesterscorner.wordpress.com…)

Descriptions:
-------------------------------
The TradersPit Conky has following features:

- Weather forecasts (from the free Yahoo weather feed)
- Current calendar (need cal package)
- CPU bar graphs with temparatures, frequency, cpu fan speed
- System load chart graph
- Memory usage with bar graph
- Disks usage with bar graph for 3 filesystems (percent usage/disk temperatures)
- Raid mirror status for one mirrored datastorage (md0)
- LAN (campus) network usage with up/down speed
- Internet netwok usage up/down with combined network chart graph (precalculated for my 55/5 MBit/s link)
- TCP/IP connection monitor (in/outbound)
- Availabilty tests (Ping) to a external server
- Top3 CPU/Memory processes
- The current playing mp3 song with Audacious incl. progressbar and other ID-3 tag values

(Remark: the network graph on the bottom of the full screenshot is not conky related, I created it with the netmon screenlet)


Introduction:
--------------------------
I used colorized outputs for the bargraphs (red means near hot thresholds, blue means ok) so I have to focus only on the "hot" things.
This conky is using 2 Monitors (1920*1080). The conky output is placed on the left monitor.
There are voffset and X/Y gap position adjustments needed, if you have another resolution or less than 2 Monitors.
There are adjustments needed in the lua and conky scripts, if you have more or less than 4 CPUs or another filesystems you like to display.
There are additional Linux tools required, i.e. for temperature sensors etc.
Note, that the temp values can be evaluated in different ways, there are some modifications needed on your system
The conky code is splited into 5 seperate modules with different settings, so its possible to test, enable and develop each single modules.
For that, you can comment out no needed conky "modules" in the start scripts I provided and adjust the position.


Feel free to use and customize it for your personal use !



Required folder structure:
-------------------------------
~/.conky/.cache            = temporary Folder (currently for Weather Forecasts)
~/.conky/.scripts           = python weather forecasts and mailserver availability tests (ping).
~/.conky/.images           = place for images used for the weather icons (monochrome, cyan colored) and the background picture
~/.conky/lua                  = lua scripts for filesystem and network bargraphs


Provided Conky scripts:
-------------------------------
~/.conky/.conkyrc.weather    = Current weather, 4 day forecast, calendar, time, uptime and logged in user
~/.conky/.conkyrc.system     = System infos, CPU temp/fan speed, load usage, CPU usage bargraph, core temp, frequency and load usage of each CPU.
~/.conky/.conkyrc.network    = Network bargraphs with seperate down/up speed values and a combined / overlapping network chartgraph.
~/.conky/.conkyrc.misc          = Connections and top process values
~/.conky/.conkyrc.sound        = Audaciuous playing song


Provided additional scripts:
-------------------------------
~/.conky/.scripts/pingtest.sh     = ping scipt for availability probes
~/.conky/.scripts/pyweath.py    = weather feed is fetched with this python script


Provided Lua Scripts:
-------------------------------
~/.conky/lua/2.2.bargraph.network.lua    = The network bar graphs used in .conkyrc.network
~/.conky/lua/2.2.bargraph.system.lua     = The system bar graphs used in .conkyrc.system


Provided images:
-------------------------------
~/.conky/.images/weather_code/                        = cyan colorised monochrome weather icons
~/.conky/.images/planets_5-wallpaper-1920x1080.jpg    = the desktop background image


Fonts used:
-------------------------------
Bitstream Vera Sans Mono    = the major font in all conky's
monospace                           = for the calendar and weather forecasts (small fonts)
LCDDot TR                            = for the doted numbers (temp, time)    


Start/Stop scripts:
-------------------------------

startconky.sh
--------------
#!/bin/bash
# conky starter by TradersPit
# do not delete it, this starter script is used for the autostart
# alternate: conky -a top_right -x 1920 -y 500  -d -c ~/.conky/.conkyrc.misc

# window weather and calendar stuff
echo "sleeping 2s for weather panel"
sleep 2
echo "done sleeping"
conky -d -c ~/.conky/.conkyrc.weather

# window middle system stuff
echo "sleeping 2s"
sleep 2
echo "done sleeping"
conky -d -c ~/.conky/.conkyrc.system

# window middle network stuff
echo "sleeping 2s for network panel"
sleep 2
echo "done sleeping"
conky -d -c ~/.conky/.conkyrc.network

# window bottom ifor proceses etc stuff
echo "sleeping 2s for misc panel"
sleep 2
echo "done sleeping"
conky -d -c ~/.conky/.conkyrc.misc

# window bottom sound/audacious stuff
echo "sleeping 6s for sound panel"
sleep 6
echo "done sleeping"
conky -d -c ~/.conky/.conkyrc.sound
#exit 0


stopconky.sh
--------------
#!/bin/bash
# conky stop by TradersPit

echo "killing all conky processes"
killall conky


Known Bugs:
-------------------------------
After start it needs some seconds to update the weather values
network connections goes over the desired edge border

👍: 0 ⏩: 0