Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| home_server:home_server_setup:other_services:conky [2022-02-12 Sat wk06 17:17] – baumkp | home_server:home_server_setup:other_services:conky [2023-04-30 Sun wk17 17:43] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| The color names that are used within Conky are the X11 colors located in / | The color names that are used within Conky are the X11 colors located in / | ||
| - | ====Debian 11 Server Conky confiuration==== | + | ====Debian 11 Server Conky Configuration==== | 
| Conky uses a configuration file location in '' | Conky uses a configuration file location in '' | ||
| ++++Debian Server conky setup; ~/.conkyrc| | ++++Debian Server conky setup; ~/.conkyrc| | ||
| + | < | ||
| + | conky.config = { | ||
| + | -- --------------------------------------------------------------------- | ||
| + | |||
| + | -- conkyrc - derived from various examples across the 'net | ||
| + | -- | ||
| + | |||
| + | -- You can restart conky by running | ||
| + | -- | ||
| + | |||
| + | -- --------------------------------------------------------------------- | ||
| + | |||
| + | |||
| + | -- -------------------- Conky' | ||
| + | |||
| + | update_interval = 2.0,-- Conky update interval in seconds | ||
| + | total_run_times = 0,-- Number of updates before quitting. | ||
| + | no_buffers = true,-- Subtract file system buffers from used memory? | ||
| + | cpu_avg_samples = 2,-- Number of cpu samples to average. Set to 1 to disable averaging | ||
| + | net_avg_samples = 2,-- Number of net samples to average. Set to 1 to disable averaging | ||
| + | |||
| + | |||
| + | -- -------------------- Conky' | ||
| + | |||
| + | -- --- defualt values --- # | ||
| + | default_color = ' | ||
| + | default_bar_width = 0, default_bar_height = 6,-- Specify a default width and height for bars. | ||
| + | default_gauge_width = 25, default_gauge_height = 25,-- Specify a default width and height for gauges. | ||
| + | default_graph_width = 0, default_graph_height = 25,-- Specify a default width and height for graphs. | ||
| + | default_outline_color = ' | ||
| + | default_shade_color = ' | ||
| + | |||
| + | -- --- predefined colors - http:// | ||
| + | color0 = '# | ||
| + | color1 = '# | ||
| + | color2 = '# | ||
| + | color3 = '# | ||
| + | color4 = '# | ||
| + | color5 = '# | ||
| + | color6 = '# | ||
| + | color7 = '# | ||
| + | color8 = '# | ||
| + | color9 = '# | ||
| + | |||
| + | -- --- window layout & options --- | ||
| + | own_window = true,-- Conky creates its own window instead of using desktop | ||
| + | own_window_type = ' | ||
| + | own_window_transparent = true,-- Use pseudo transparency with own_window? | ||
| + | own_window_argb_visual = false, | ||
| + | own_window_argb_value = 40, | ||
| + | own_window_class = ' | ||
| + | own_window_colour = ' | ||
| + | double_buffer = true,-- Use double buffering (reduces flicker) | ||
| + | use_spacer = ' | ||
| + | maximum_width = 500,-- Maximum width of window in pixels | ||
| + | own_window_hints = ' | ||
| + | |||
| + | -- --- window placment --- # | ||
| + | alignment = ' | ||
| + | |||
| + | -- --- borders, margins, and outlines --- # | ||
| + | draw_graph_borders = true,-- Do you want to draw borders around graphs | ||
| + | border_inner_margin = 9,-- Window' | ||
| + | border_outer_margin = 5,-- Window' | ||
| + | gap_x = 10,-- Gap between borders of screen and text (on x-axis) | ||
| + | gap_y = 40,-- Gap between borders of screen and text (on y-axis) | ||
| + | border_width = 10,-- Window' | ||
| + | |||
| + | -- --- Text --- # | ||
| + | draw_outline = false,-- Do you want ot draw outlines | ||
| + | draw_shades = false,-- Do you want to draw shades | ||
| + | draw_borders = false,-- Do you want to draw borders around text | ||
| + | uppercase = false,-- set to yes if you want all text to be in uppercase | ||
| + | use_xft = true,-- use the X FreeType interface library (anti-aliased font) | ||
| + | font = ' | ||
| + | |||
| + | -- --- Network --- # | ||
| + | if_up_strictness = " | ||
| + | |||
| + | |||
| + | -- -------------------- Conky' | ||
| + | }; | ||
| + | |||
| + | conky.text = [[ | ||
| + | # General system information | ||
| + | ${color1}SYSTEM INFORMATION ${hr 2}$color | ||
| + | ${color0}System: | ||
| + | ${color0}Kernel: | ||
| + | ${color0}Distribution: | ||
| + | ${color0}CPU Type: ${tab 50}$color${execi 99999 grep 'model name' / | ||
| + | ${color0}CPU Speed: ${tab 50}$color${freq 0} MHz Current / ${execi 99999 grep 'model name' / | ||
| + | ${color0}Processor Temperature: | ||
| + | # | ||
| + | ${if_up br0}${color0}MAC Address (br0): ${tab 90}$color${execi 99999 cat / | ||
| + | #${if_up enp3s0}${color0}MAC Address (enp3s0): ${tab 90}$color${execi 99999 cat / | ||
| + | #${if_up enp111s0}${color0}MAC Address (enp111s0): ${tab 90}$color${execi 99999 cat / | ||
| + | # | ||
| + | # CPU information | ||
| + | ${color1}CPU ${hr 2}$color | ||
| + | ${color0}CPU Usage: | ||
| + | ${cpugraph cpu0 0000ff 00ff00}$color | ||
| + | ${color0}Core | ||
| + | ${color0}Core | ||
| + | ${color0}Core | ||
| + | ${color0}Core | ||
| + | ${color0}Core | ||
| + | ${color0}Core | ||
| + | ${color0}Core | ||
| + | ${color0}Core | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | |||
| + | # Top running processes | ||
| + | ${color1}TOP 5 PROCESSES ${hr 2}$color | ||
| + | ${color0}Processes: | ||
| + | ${color0}Threads: | ||
| + | ${stippled_hr 2} | ||
| + | ${color0}CPU Usage$color | ||
| + | ${color3} NAME     ${tab 100, | ||
| + | ${color2} ${top name 1} ${tab 100, | ||
| + | ${top name 2} ${tab 100, | ||
| + | ${top name 3} ${tab 100, | ||
| + | ${top name 4} ${tab 100, | ||
| + | ${top name 5} ${tab 100, | ||
| + | ${stippled_hr 2} | ||
| + | ${color0}Mem Usage$color | ||
| + | ${color3} NAME   ${tab 100, | ||
| + | ${color2} ${top_mem name 1} ${tab 100, | ||
| + |  | ||
| + |  | ||
| + |  | ||
| + |  | ||
| + | |||
| + | # Memory and swap space untilization | ||
| + | ${color1}MEMORY & SWAP ${hr 2}$color | ||
| + | ${color0}RAM Usage: ${color}$mem / $memmax | ||
| + | $memperc% ${color6}${membar}$color | ||
| + | ${color0}Swap Usage: ${color}$swap / $swapmax | ||
| + | #$swapperc% ${color6}${swapbar}$color | ||
| + | |||
| + | # File System utilization | ||
| + | ${color1}FILE SYSTEM ${hr 2}$color | ||
| + | ${color0}/ (root): | ||
| + | ${fs_used_perc /}% ${color8}${fs_bar /}$color | ||
| + | ${color0}/ | ||
| + | ${fs_used_perc /boot/efi}% ${color8}${fs_bar / | ||
| + | ${color0}/ | ||
| + | ${fs_used_perc /home}% ${color8}${fs_bar / | ||
| + | ${color0}/ | ||
| + | ${fs_used_perc / | ||
| + | ${color0}/ | ||
| + | ${fs_used_perc / | ||
| + | ${color0}/ | ||
| + | ${fs_used_perc / | ||
| + | |||
| + | # Hard Drive Utilization | ||
| + | ${color1}HARD DRIVE I/O ${hr 2}$color | ||
| + | ${color0}Device: | ||
| + | ${color0}Reads: | ||
| + | ${color3}${diskiograph_read /dev/sdd3 30,225 33FF00 FF3333 scale -t}$color${alignr}${color3}${diskiograph_write /dev/sdd3 30,225 33FF00 FF3333 scale -t}$color | ||
| + | ${color0}Device: | ||
| + | ${color0}Reads: | ||
| + | ${color3}${diskiograph_read / | ||
| + | # Ethernet utilization | ||
| + | ${color1}NETWORKING ${hr 2}$color | ||
| + | ${if_up br0}${color0}Wired: | ||
| + | ${color0}Down: | ||
| + | ${color0}Total: | ||
| + | ${color3}${downspeedgraph br0 30,225 000000 00ff00} ${alignr}${upspeedgraph br0 30,225 000000 ff0000}$color | ||
| + | ${stippled_hr 2} ${endif} | ||
| + | ${if_up wlo1}${color0}Wireless: | ||
| + | ${color0}Down: | ||
| + | ${color0}Total: | ||
| + | ${color3}${downspeedgraph wlo1 30,225 000000 00ff00} ${alignr}${upspeedgraph wlo1 30,225 000000 ff0000}$color | ||
| + | ${color0}Wireless Link Quality: $color ${wireless_link_qual wlo1}% ${endif} | ||
| + | #Manjaro does not use Syslog.... Journalctl | ||
| + | ${color1}Journalctl${hr 2}$color | ||
| + | # | ||
| + | # | ||
| + | ${color4}${font Arial: | ||
| + | ]]; | ||
| + | </ | ||
| + | ++++ | ||
| + | ++++Old Ubuntu 18.04 Server conky setup; ~/.conkyrc| | ||
| < | < | ||
| # --------------------------------------------------------------------- # | # --------------------------------------------------------------------- # | ||
| Line 181: | Line 371: | ||
| </ | </ | ||
| ++++ | ++++ | ||
| + | ====Manjaro Desktop Conky Configuration==== | ||
| I used the following on my Manjaro desk top: | I used the following on my Manjaro desk top: | ||
| ++++Old Desk top; ~/ | ++++Old Desk top; ~/ | ||
| Line 191: | Line 381: | ||
| -- | -- | ||
| - | -- You can restart | + | -- You can restart | 
| -- | -- | ||
| Line 208: | Line 398: | ||
| -- -------------------- Conky' | -- -------------------- Conky' | ||
| - | -- --- defualt | + | -- --- default | 
| default_color = ' | default_color = ' | ||
| default_bar_width = 0, default_bar_height = 6,-- Specify a default width and height for bars. | default_bar_width = 0, default_bar_height = 6,-- Specify a default width and height for bars. | ||
| Line 241: | Line 431: | ||
| own_window_hints = ' | own_window_hints = ' | ||
| - | -- --- window | + | -- --- window | 
| alignment = ' | alignment = ' | ||
| Line 389: | Line 579: | ||
| # | # | ||
| # conkyrc - derived from various examples across the 'net | # conkyrc - derived from various examples across the 'net | ||
| - | # | + | # | 
| # | # | ||
| # You can restart conky by running | # You can restart conky by running | ||
| Line 408: | Line 598: | ||
| # -------------------- Conky' | # -------------------- Conky' | ||
| - | # --- defualt | + | # --- default | 
| default_color grey # Default color and border color | default_color grey # Default color and border color | ||
| default_bar_size 0 6 # Specify a default width and height for bars. | default_bar_size 0 6 # Specify a default width and height for bars. | ||
| Line 566: | Line 756: | ||
| </ | </ | ||
| ++++ | ++++ | ||
| + | ====Conky Links==== | ||
| + | *From conky.sourceforge.net: | ||
| + | *[[http:// | ||
| + | *[[http:// | ||
| + | *[[http:// | ||
| + | *[[http:// | ||
| + | *[[https:// | ||
| ---- | ---- | ||
| <- home_server: | <- home_server: | ||