Постим свой conkyrc со скриншотами

Автор saveriy, 17 февраля 2011, 20:38:09

« назад - далее »

0 Пользователи и 4 гостей просматривают эту тему.

vacka

#45
conky так сказать с миру по нитки и в процессе



config
# Use Xft?
use_xft yes
xftfont Trebuchet MS:size=9
xftalpha 0.8
text_buffer_size 2048
background no
# Update interval in seconds
update_interval 1
xftalpha 0.8
own_window_argb_visual yes
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 180 0

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Default colors and also border colors
# default_color white
# own_window_colour white


# Subtract file system buffers from used memory?
#no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

#position
gap_x 0
gap_y 260
alignment top_middle

TEXT

${font Roboto:pixelsize=40}${alignc}${time %d %b, %Y}${font}

${font Roboto:pixelsize=13}${alignc}${time %H:%M:%S I %a} | ${font Roboto:pixelsize=13}${alignc} UPTIME: ${color e74c3c}$uptime${color}


${font Roboto:pixelsize=13}${alignc}ОЗУ: ${color e74c3c}$mem${color} / ${color 199ab7}${memeasyfree}${color} ${font Roboto:pixelsize=13}${alignc} | ROOT: ${color e74c3c}${fs_free /}${color} / ${color 199ab7}${fs_used /}${color} | HOME: ${color e74c3c}${fs_free /home}${color} / ${color 199ab7}${fs_used /home}${color}
${font Roboto:pixelsize=13}${alignc} CPU: ${color e74c3c}${cpu cpu0}%${color} | HD: ${color e74c3c}${fs_used_perc}%${color} | SYS TEMP: ${color e74c3c}${hwmon temp 1}°C${color}
${font Roboto:pixelsize=13}${alignc} WIFI: ${color e74c3c}${wireless_link_qual wlp3s0}%${color} | BATTERY: ${color e74c3c}${battery_percent BAT1}%${color} | ${font Roboto:pixelsize=13}${alignc} SWAP: ${color e74c3c}$swap${color}

${font Roboto:pixelsize=13}${alignc} Погода ${color}

${font Roboto:pixelsize=13}${alignc} На улице: ${color 199ab7}${execi 1800 wget -qO - http://export.yandex.ru/weather-ng/forecasts/XXXXX.xml | sed -rn 's/.*<weather_type>(.*)<\/weather_type>.*/\1/p' | sed '1!D'}${color} | ${font Roboto:pixelsize=13}${alignc} Ветер: ${color 199ab7}${execi 1800 wget -qO - http://export.yandex.ru/weather-ng/forecasts/XXXXX.xml | sed -rn 's/.*<wind_speed>(.*)<\/wind_speed>.*/\1/p' | sed '1!D'} м/с ${color}
${font Roboto:pixelsize=13}${alignc} Влажность: ${color 199ab7}${execi 1800 wget -qO - http://export.yandex.ru/weather-ng/forecasts/XXXXX.xml | sed -rn 's/.*<humidity>(.*)<\/humidity>.*/\1/p' | sed '1!D'} %${color} | ${font Roboto:pixelsize=13}${alignc} Давление: ${color 199ab7}${execi 1800 wget -qO - http://export.yandex.ru/weather-ng/forecasts/XXXXX.xml | sed -rn 's/.*<pressure units="torr">(.*)<\/pressure>.*/\1/p' | sed '1!D'} мм${color}
${font Roboto:pixelsize=13}${alignc} Сейчас: ${color 199ab7}${execi 1800 wget -qO - http://export.yandex.ru/weather-ng/forecasts/XXXXX.xml | sed -rn 's/.*<temperature color=".*" plate=".*">(.*)<\/temperature>.*/\1/p' | sed '1!D'} ℃${color} | ${font Roboto:pixelsize=13}${alignc} Ночью: ${color 199ab7}${execi 1800 wget -qO - http://export.yandex.ru/weather-ng/forecasts/XXXXX.xml | sed -rn 's/.*<temperature color=".*" type="night">(.*)<\/temperature>.*/\1/p' | sed '1!D'} ℃${color} | ${font Roboto:pixelsize=13}${alignc} Завтра: ${color 199ab7}${execi 1800 wget -qO - http://export.yandex.ru/weather-ng/forecasts/XXXXX.xml | sed -rn 's/.*<temperature color=".*" type="tomorrow">(.*)<\/temperature>.*/\1/p' | sed '1!D'} ℃${color}

${font Roboto:pixelsize=13}${alignc} YOU CAN INSTALL ${color e74c3c}${execi 360 aptitude search "~U" | wc -l | tail}${color} UPDATE
[свернуть]

Открыть содержимое (спойлер)
Код города (для xml) брать здесь https://pogoda.yandex.ru/static/cities.xml
XXXXX заменить на  код своего города
[свернуть]


Aalexeey

#46
Немного перепилено с Parted Magic
Открыть содержимое (спойлер)
# conky.conf for XXXXXX
#
# Check http://conky.sf.net for an up-to-date-list.

# set to yes if you want Conky to be forked in the background
background no

# X font when Xft is disabled, you can pick one with program xfontsel
font 7x10

# Use Xft?
use_xft no

# Xft font when Xft is enabled
xftfont Courier:7

# Text alpha when using Xft
xftalpha 0.8

# Update interval in seconds
update_interval 5.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes

# The option for Compton
own_window_class conky

# If own_window is yes, you may use type normal, desktop or override
own_window_type override

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour green

# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 222 6
maximum_width 222

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 1

# border margins
border_inner_margin 1

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color none
default_outline_color none

# Text alignment, other possible values are commented
alignment top_right

# Gap between borders of screen and text
# same thing as passing -x at command line
# 1920x1200
gap_x 850
gap_y 800

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

TEXT
$color$stippled_hr
${color}Kernel:${alignr}${color goldenrod}${kernel}${color goldenrod}-vurnerable ;-)
${color}CPU: ${color goldenrod}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -c 1-20} HT ${alignr}${freq}MHz
${color}Host: ${color goldenrod}$nodename ${color}${goto 84}Nix: ${color goldenrod}${execi 1000 cat /etc/devuan_version | cut -c 1-8} ${color}${goto 156}PC:${alignr}${color goldenrod}${machine}
$color$stippled_hr
${color}CPU History:                                       ${color darkred}${goto 98}${cpugraph cpu0 11,126}
${color}CPUs Load:${color darkred} $cpu%                   ${color darkred}${goto 98}${cpubar cpu1 11,30}${goto 130}${cpubar cpu2 11,30}${goto 162}${cpubar cpu3 11,30}${goto 194}${cpubar cpu4 11,30}
${color}VCore:${color darkred}${execi 10 sensors -f | grep VCore  | cut -c17-21}V ${color}${goto 84}VBat:${color darkred}${execi 10 sensors -f | grep VBat  | cut -c17-21}V ${color}${goto 156}12V:${alignr}${color darkred}${execi 10 sensors -f | grep +12V  | cut -c16-21}V

${color}RAM Usage:${color green3} $memperc%                ${color green3}${goto 98}${membar 11,126}
${color}RAM Used:${color green3} $mem                      ${color}${goto 156}Of:${alignr}${color green3} $memmax
${if_running apcupsd}${apcupsd localhost 3551}
${color}UPS Load: ${color darkblue}${apcupsd_load}%        ${color darkblue}${goto 98}${apcupsd_loadbar 11,126}
${color}Battery: ${color darkblue}${apcupsd_charge}%       ${color}${goto 156}AC: ${alignr}${color darkblue}${apcupsd_linev}V${endif}
$color$stippled_hr
${color}Processes:${color yellow3} $processes              ${color}${goto 156}Running:${color yellow3} $running_processes
${color}Name:  ${color}${goto 100}ID:                      ${color}${goto 156}CPU%   RAM%
${color yellow3}${top name 1}${color yellow3}${top pid 1}  ${color}${goto 144}${color darkred}${top cpu 1} ${color green3}${top mem 1}
${color yellow3}${top name 2}${color yellow3}${top pid 2}  ${color}${goto 144}${color darkred}${top cpu 2} ${color green3}${top mem 2}
${color yellow3}${top name 3}${color yellow3}${top pid 3}  ${color}${goto 144}${color darkred}${top cpu 3} ${color green3}${top mem 3}
${color yellow3}${top name 4}${color yellow3}${top pid 4}  ${color}${goto 144}${color darkred}${top cpu 4} ${color green3}${top mem 4}
${color yellow3}${top name 5}${color yellow3}${top pid 5}  ${color}${goto 144}${color darkred}${top cpu 5} ${color green3}${top mem 5}
${color yellow3}${top name 6}${color yellow3}${top pid 6}  ${color}${goto 144}${color darkred}${top cpu 6} ${color green3}${top mem 6}
$color$stippled_hr
[свернуть]
https://debianforum.ru/index.php?topic=6879 100% защиты от "Ааааа у меня всё поломалось"

yoric

Aalexeey, а с УПСа как данные получаете? Если не секрет, что за УПС, программа мониторинга и как?

Aalexeey

yoric, APC с службой apcupsd и GUI к нему есть gapcmon.
https://debianforum.ru/index.php?topic=6879 100% защиты от "Ааааа у меня всё поломалось"

Ogis1975

А вот и моя простая conky

А тут незамысловатый конфиг
Открыть содержимое (спойлер)
# set to yes if you want Conky to be forked in the background
background no

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8

own_window_transparent no
own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8

on_bottom yes

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
#minimum_size 280 5
#maximum_width 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 10

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color black
default_shade_color cyan
default_outline_color cyan

# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 103
gap_y 103
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer no

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase yes

# boinc (seti) dir
# seti_dir /opt/seti

# Possible variables to be used:
#
#      Variable         Arguments                  Description               
#  acpiacadapter                     ACPI ac adapter state.                   
#  acpifan                           ACPI fan state                           
#  acpitemp                          ACPI temperature.                       
#  adt746xcpu                        CPU temperature from therm_adt746x       
#  adt746xfan                        Fan speed from therm_adt746x             
#  battery           (num)           Remaining capasity in ACPI or APM       
#                                    battery. ACPI battery number can be     
#                                    given as argument (default is BAT0).     
#  buffers                           Amount of memory buffered               
#  cached                            Amount of memory cached                 
#  color             (color)         Change drawing color to color           
#  cpu                               CPU usage in percents                   
#  cpubar            (height)        Bar that shows CPU usage, height is     
#                                    bar's height in pixels                   
#  downspeed         net             Download speed in kilobytes             
#  downspeedf        net             Download speed in kilobytes with one     
#                                    decimal                                 
#  exec              shell command   Executes a shell command and displays   
#                                    the output in torsmo. warning: this     
#                                    takes a lot more resources than other   
#                                    variables. I'd recommend coding wanted   
#                                    behaviour in C and posting a patch :-). 
#  execi             interval, shell Same as exec but with specific interval.
#                    command         Interval can't be less than             
#                                    update_interval in configuration.       
#  fs_bar            (height), (fs)  Bar that shows how much space is used on
#                                    a file system. height is the height in   
#                                    pixels. fs is any file on that file     
#                                    system.                                 
#  fs_free           (fs)            Free space on a file system available   
#                                    for users.                               
#  fs_free_perc      (fs)            Free percentage of space on a file       
#                                    system available for users.             
#  fs_size           (fs)            File system size                         
#  fs_used           (fs)            File system used space                   
#  hr                (height)        Horizontal line, height is the height in
#                                    pixels                                   
#  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
#                                    may be omitted if you have only one I2C 
#                                    device. type is either in (or vol)       
#                                    meaning voltage, fan meaning fan or temp
#                                    meaning temperature. n is number of the 
#                                    sensor. See /sys/bus/i2c/devices/ on     
#                                    your local computer.                     
#  kernel                            Kernel version                           
#  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
#                                    minute, 2 for past 5 minutes and 3 for   
#                                    past 15 minutes.                         
#  machine                           Machine, i686 for example               
#  mails                             Mail count in mail spool. You can use   
#                                    program like fetchmail to get mails from
#                                    some server using your favourite         
#                                    protocol. See also new_mails.           
#  mem                               Amount of memory in use                 
#  membar            (height)        Bar that shows amount of memory in use   
#  memmax                            Total amount of memory                   
#  memperc                           Percentage of memory in use             
#  new_mails                         Unread mail count in mail spool.         
#  nodename                          Hostname                                 
#  outlinecolor      (color)         Change outline color                     
#  pre_exec          shell command   Executes a shell command one time before
#                                    torsmo displays anything and puts output
#                                    as text.                                 
#  processes                         Total processes (sleeping and running)   
#  running_processes                 Running processes (not sleeping),       
#                                    requires Linux 2.6                       
#  shadecolor        (color)         Change shading color                     
#  stippled_hr       (space),        Stippled (dashed) horizontal line       
#                    (height)       
#  swapbar           (height)        Bar that shows amount of swap in use     
#  swap                              Amount of swap in use                   
#  swapmax                           Total amount of swap                     
#  swapperc                          Percentage of swap in use               
#  sysname                           System name, Linux for example           
#  time              (format)        Local time, see man strftime to get more
#                                    information about format                 
#  totaldown         net             Total download, overflows at 4 GB on     
#                                    Linux with 32-bit arch and there doesn't
#                                    seem to be a way to know how many times 
#                                    it has already done that before torsmo   
#                                    has started.                             
#  totalup           net             Total upload, this one too, may overflow
#  updates                           Number of updates (for debugging)       
#  upspeed           net             Upload speed in kilobytes               
#  upspeedf          net             Upload speed in kilobytes with one       
#                                    decimal                                 
#  uptime                            Uptime                                   
#  uptime_short                      Uptime in a shorter format               
#
#  seti_prog                         Seti@home current progress
#  seti_progbar      (height)        Seti@home current progress bar
#  seti_credit                       Seti@hoome total user credit


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%M}

TEXT
${pre_exec lsb_release -d | cut -f 2| tr "[:upper:]" "[:lower:]"}

$stippled_hr
$nodename - $sysname $kernel on $machine
$stippled_hr
${color black}Uptime:$color $uptime ${color black}- Load:$color $loadavg
${color black}CPU Usage:${color #D70A53} ${cpu}% ${cpubar}
${color black}${cpugraph 000000 5000a0}
${color blue}RAM Usage:$color $mem/$memmax - $memperc% $membar
${color brown}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color red}Processes:$color $processes  ${color yellow}Running:$color $running_processes
$color$stippled_hr
${color green}Networking:
Down:${color #8844ee} ${downspeed eth0} k/s${color red} ${offset 70}Up:${color #22ccff} ${upspeed eth0} k/s
${color black}${downspeedgraph eth0 32,150 ff0000 0000ff} $alignr${color black}${upspeedgraph eth0 32,150 0000ff ff0000}
${color cyan}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
${color}Name              PID     CPU%   MEM%
${color #800000} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color black} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color black} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color}Mem usage
${color #8806CE} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color black} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color black} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
[свернуть]

amd_amd

прозрачный супер минимализм - оставлено только самое необходимое, конфиг для версии stretch и на jessie работать не будет, скриншота нет - красоваться нечем, главное информация...
Открыть содержимое (спойлер)
conky.config = {
alignment = 'top_right',
border_width = 1,
cpu_avg_samples = 1,
default_color = 'white',
double_buffer = true,
draw_graph_borders = true,
use_xft = true,
font = 'DejaVu Sans Mono',
gap_x = 25,
gap_y = 25,
net_avg_samples = 1,
no_buffers = true,
own_window_transparent = true,
update_interval = 1.0
}

conky.text = [[
${color}RAM:$color $mem/$memmax - $memperc% ${membar 4}
${color}CPU:$color $freq MHz -$color $cpu% ${cpubar 4}
$hr
${color}HDD: $color${fs_used /}/${fs_size /} - ${fs_used_perc /}% ${fs_bar 6 /}
${color}SWAP:$color $swap/$swapmax - $swapperc% ${swapbar 6}
$hr
${color}Up:   ${upspeedgraph enp0s10 10,100}   $color ${upspeed enp0s10} $alignr ${totalup enp0s10}
${color}Down: ${downspeedgraph enp0s10 10,100}   $color ${downspeed enp0s10} $alignr ${totaldown enp0s10}
$hr
${color}'Name               PID   CPU%   MEM%
${color} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
$hr
${color}'Mem usage
${color} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
]]
[свернуть]

Ogis1975

Переделанный conky. Используется вместе с Fluxbox

Конфиг
Открыть содержимое (спойлер)
#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  no
own_window_transparent yes
own_window_type normal
#own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 6
gap_y 6
alignment top_left

#behaviour
update_interval 1

#colour
default_color  728fce

#default_shade_color 631010
#own_window_colour 6b1819

#font
use_xft yes
xftfont Kristen ITC-8

#to prevent window from moving
use_spacer yes
minimum_size 1262 0


TEXT
${color }Kernel: ${color 2544c7}$kernel   |  ${time %d %B} ${color 2544c7}${time  %H:%M}  |  ${color} Up: ${color 2544c7}${uptime_short}   |   ${color}Processes: ${color 2544c7}$processes  ${color}Running: ${color 2544c7}$running_processes   |  ${color}Cpu: ${color 2544c7}${cpu}%   ${color}${cpugraph 10,80 f7f3bd f7f3bd} ${color 2544c7}    |   ${color }Mem: ${color 2544c7}$mem/$memmax - $memperc% ${color} ${membar 6,80}${color 2544c7} ${color }Root: ${color 2544c7}${font}${fs_free /}  / ${fs_size /} - ${fs_free_perc /}%    |  ${color }Net: ${color 2544c7}${font}${downspeed eth0} Kb/s ${color}  ${downspeedgraph eth0 10,80 f7f3bd f7f3bd}  ${color 2544c7} ${totaldown eth0} down   |   ${color 2544c7}${upspeed eth0} Kb/s ${color} ${upspeedgraph eth0 10,80 f7f3bd f7f3bd}  ${color 2544c7}${totalup eth0} up |  $nodename - $machine     
[свернуть]
А так выглядит декстоп

qwertKI

#52
https://yadi.sk/i/80_j60MA3FzxN3
# For commands above TEXT check:
# http://conky.sourceforge.net/config_settings.html
#
# For commands available below TEXT check:
# http://conky.sourceforge.net/variables.html

# Bunsen Labs Conky help threads
# http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424

# beta tested by: smacz
# Enjoy! :)

# pkill -xf "conky -q -c $HOME/.config/conky/BL-Left.conkyrc" &
###  Begin Window Settings  #####################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Bunsen Labs Left Conky

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 50

minimum_size 100 0
maximum_width 220

gap_x 10
gap_y 40

alignment top_left
#######################  End Window Settings  ###
###  Font Settings  #############################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Liberation Mono:bold:size=9
#xftfont Liberation Sans:size=10
xftfont Sans-serif:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
#########################  End Font Settings  ###
###  Colour Settings  ###########################
draw_shades no #yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color 656667 # Waldorf original colour
#default_color 7a7a7a # Flame  & Bunsen Grey
#default_color 929292 # Labs Grey
#default_color 101010
default_color C0C0C0 # Silver
color0 B0E0E6 # PowderBlue
color1 778899 # LightSlateGray
color2 D8BFD8 # Thistle
color3 9ACD32 # YellowGreen
color4 FFA07A # LightSalmon
color5 FFDEAD # NavajoWhite
color6 00BFFF # DeepSkyBlue
color7 5F9EA0 # CadetBlue
color8 BDB76B # DarkKhaki
color9 CD5C5C # IndianRed
#######################  End Colour Settings  ###
###  Borders Section  ###########################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders yes #no
#default_graph_size 15yes 40
########################  End Borders Secton  ###
###  Miscellaneous Section  #####################
# Boolean value, if true, Conky will be forked to background when started.
background no

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 needs more for single commands that
# "call" a lot of text IE: bash scripts
#text_buffer_size 6144

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

#################  End Miscellaneous Section  ###

update_interval 1

own_window_argb_value 0
own_window_argb_visual no
TEXT
${alignr}S Y S T E M    I N F O
${membar 0}
Up${alignr}${uptime_short}
Date${alignr}${time %x}
Time${alignr}${time %X}
OS${alignr}Bunsen Labs
Host${alignr}${nodename}
Kernel${alignr}${kernel}
Machine${alignr}${machine}

#Up:${alignr} ${upspeed eth1}/s
#Down:${alignr} ${downspeed eth1}/s
${font sans-serif:size=9}NETWORK ${hr 2}
${font sans-serif:normal:size=8}IP address: $alignr ${addr eth1}
ESSID: $alignr ${wireless_essid eth1}
Connection quality: $alignr ${wireless_link_qual_perc eth1}%
${downspeedgraph eth1 000000 ffffff}
Incoming: ${downspeed eth1}/s $alignr total: ${totaldown eth1}
${upspeedgraph eth1 000000 ffffff}
Outgoing: ${upspeed eth1}/s $alignr total: ${totalup eth1}

RAM ${hr 2}{alignr}${memmax}
In Use${alignr}${memperc}% = ${mem}
${memgraph 40,220  000000 ffffff}
#Swap${alignr}${swap} of ${swapmax}
#${color #C0C0C0}ОЗУ${hr 2}$color
${color #C0C0C0}Имя процесса                  ${alignr}ID      ${alignr}ОЗУ$color${font Sans-serif:size=8}
1. ${top_mem name 1}     ${alignr}${top_mem pid 1}   ${alignr}${top_mem mem 2}
2. ${top_mem name 2}     ${alignr}${top_mem pid 2}   ${alignr}${top_mem mem 2}
3. ${top_mem name 3}     ${alignr}${top_mem pid 3}   ${alignr}${top_mem mem 3}
4. ${top_mem name 4}     ${alignr}${top_mem pid 4}   ${alignr}${top_mem mem 4}
5. ${top_mem name 5}     ${alignr}${top_mem pid 5}   ${alignr}${top_mem mem 5}
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar 30,220  000000 ffffff}

CPU${alignr}${cpu cpu0}% / ${freq_g}GHz
CPU temp:$alignr${hwmon temp 1}°C
${cpugraph 40,220 000000 ffffff}
#${color #C0C0C0}Процессы: ($running_processes/ $processes)${hr 2}$color
${color #C0C0C0}Имя процесса                  ${alignr}ID      ${alignr}ЦПУ$color${font font Sans-serif:size=8}
1. ${top name 1}     ${alignr}${top pid 1}   ${alignr}${top cpu 1}
2. ${top name 2}     ${alignr}${top pid 2}   ${alignr}${top cpu 2}
3. ${top name 3}     ${alignr}${top pid 3}   ${alignr}${top cpu 3}
4. ${top name 4}     ${alignr}${top pid 4}   ${alignr}${top cpu 4}
5. ${top name 5}     ${alignr}${top pid 5}   ${alignr}${top cpu 5}

/ROOT${alignr}${fs_free /} / ${fs_size /}
/HOME${alignr}${fs_free /home} / ${fs_size /home}

#${alignr}S H O R T C U T   K E Y S
#${membar 0}
#[S]+Space${alignr}Main Menu
#[S]+Tab${alignr}Client Menu
#[S]+t${alignr}Terminal
#[S]+f${alignr}File Manager
#[S]+e${alignr}Editor
#[S]+h${alignr}Task Manager
#[S]+l${alignr}Lock Screen
#[S]+v${alignr}Volume Control
#{PrtSc}${alignr}Screenshot
Я знаю только то, что ничего не знаю ...

vacka

qwertKI, не подскажите что это у вас такое



и как вы это к панели приделали?

qwertKI

Цитата: vacka от 14 апреля 2017, 11:58:16не подскажите что это у вас такое
Подскажу, хотя и оффтоп. Програмка сия  https://yadi.sk/i/LAH52Q8G3GzZka  скачать :  https://sourceforge.net/projects/gis-weather/  виджет можно раскрыть на столе вот так :  https://yadi.sk/i/Spfgr-F_3GzZnG  и вполне органично смотритссо с conky (ну я так думаю), можно скрыть, gui-настройки присутствуют , сложностей быть не должно... как то так
Я знаю только то, что ничего не знаю ...

vacka

Спасибо добрый человек, что-то я gis-weather как то не признал.

Alexsto

#56
Такой вполне меня устраивает (хотя в 6-ом было чуть красивше

azbar

#57
Как-то так. Кнопки мультимедиа - на панели. Буду рад если подскажут как их организовать силами коньков.

.conkyrc
# Default Fonts
use_xft yes
xftfont Ubuntu:size=8
override_utf8_locale yes

# Performance Settings
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 2
text_buffer_size 1024

# Window Settings
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager

# Window border
draw_borders no
draw_shades yes

# Default Color
default_color E0DFDE

# Color Title.
color0 DD3A21

# Size and position
minimum_size 1366 900
gap_x 0
gap_y 30
alignment top_left

TEXT


${GOTO 90}${font Ubuntu:bold:size=10}System${GOTO 350}${font Ubuntu:bold:size=10}Resources${GOTO 650}${font Ubuntu:bold:size=10}File System${GOTO 950}${font Ubuntu:bold:size=10}Network${GOTO 1250}${font Ubuntu:bold:size=10}Units${font}


${GOTO 60}${font Ubuntu:bold:size=9}Computer${font}${GOTO 120}:${GOTO 140}${nodename}${GOTO 320}${font Ubuntu:bold:size=9}RAM${font}${GOTO 380}:   ${mem}   |   ${memmax}${GOTO 620}${font Ubuntu:bold:size=9}Dir. ${GOTO 665}| ${GOTO 685}Total${GOTO 730}|${GOTO 750}Used${GOTO 795}|${GOTO 815}Free${font}${GOTO 920}${font Ubuntu:bold:size=9}Public IP${font}${GOTO 1020}:${GOTO 1040} ${execi 1800 ~/.conkyrc/scripts/ip.sh} ${GOTO 1200}${font Ubuntu:bold:size=9}Battery${font}${GOTO 1270}:  ${battery_percent BAT1} %
${GOTO 60}${font Ubuntu:bold:size=9}System${font}${GOTO 120}:${GOTO 140}${sysname}   ${kernel}${GOTO 380}    ${membar 5,120}   -   ${memperc} %${GOTO 620}_____________________________________________${GOTO 920}${font Ubuntu:bold:size=9}Local IP${font}${GOTO 1020}:${GOTO 1040} ${addr wlp3s0}
${GOTO 60}${font Ubuntu:bold:size=9}Machine${font}${GOTO 120}:${GOTO 140}$machine${GOTO 320}${font Ubuntu:bold:size=9}CPU 1${font}${GOTO 380}:   ${cpubar cpu1 5,120}   -   ${cpu cpu1} %${GOTO 1200}${font Ubuntu:bold:size=9}HDD${font}${GOTO 1270}:  ${execi 4 sensors | grep -A 0 'temp1' | cut -c15-18} °C 
${GOTO 60}${font Ubuntu:bold:size=9}Uptime${font}${GOTO 120}:${GOTO 140}${uptime} ${GOTO 320}${font Ubuntu:bold:size=9}CPU 2${font}${GOTO 380}:   ${cpubar cpu2 5,120}   -   ${cpu cpu2} %${GOTO 620}${font Ubuntu:bold:size=9}root${font}${GOTO 680}${fs_size /}${GOTO 745}${fs_used /}${GOTO 810}${fs_free /}${GOTO 920}${font Ubuntu:bold:size=9}Receiving${font}${GOTO 1020}:${GOTO 1040}${downspeedf wlp3s0} /s
${GOTO 60}${font Ubuntu:bold:size=9}Date${font}${GOTO 120}:${GOTO 140}${time %A, %d %b %Y}${GOTO 320}${font Ubuntu:bold:size=9}SWAP${font}${GOTO 380}:   ${swapbar 5,120}   -   ${swapperc} % ${GOTO 620}${font Ubuntu:bold:size=9}tmp${font}${GOTO 680}${fs_size /tmp}${GOTO 745}${fs_used /tmp}${GOTO 810}${fs_free /tmp}${GOTO 920}${font Ubuntu:bold:size=9}Total Received${font}${GOTO 1020}:${GOTO 1040}${totaldown wlp3s0}${GOTO 1200}${font Ubuntu:bold:size=9}Processor${font}${GOTO 1270}:  ${acpitemp} °C
${GOTO 320}${font Ubuntu:bold:size=9}Load${font}${GOTO 380}:   $loadavg ${GOTO 920}${font Ubuntu:bold:size=9}Sending${font}${GOTO 1020}:${GOTO 1040}${upspeedf wlp3s0} /s${GOTO 620}${font Ubuntu:bold:size=9}var${font}${GOTO 680}${fs_size /var}${GOTO 745}${fs_used /var}${GOTO 810}${fs_free /var}
${GOTO 60}${font Ubuntu:bold:size=9}${scroll 45 20 ${exec /home/evgen/.mocp.sh}}${GOTO 320}${font Ubuntu:bold:size=9}Processes${font}${GOTO 380}:   $processes ${GOTO 620}${font Ubuntu:bold:size=9}Share${font}${GOTO 680}${fs_size /home/evgen/Share}${GOTO 745}${fs_used /home/evgen/Share}${GOTO 810}${fs_free /home/evgen/Share}${GOTO 920}${font Ubuntu:bold:size=9}Total Sent${font}${GOTO 1020}:${GOTO 1040}${totalup wlp3s0} ${GOTO 1200}${font Ubuntu:bold:size=9}Frequency${font}${GOTO 1270}:  ${freq_g} Ghz

#### background & icons ######
${image ~/.conkyrc1/pix/background.png -p 0,0 -s 1366x180}
${image ~/.conkyrc1/pix/system.png -p 30,20 -s 45x45}
${image ~/.conkyrc1/pix/resources.png -p 290,20 -s 45x45}
${image ~/.conkyrc1/pix/file-system.png -p 590,20 -s 45x45}
${image ~/.conkyrc1/pix/wireless.png -p  890,20 -s 45x45}
${image ~/.conkyrc1/pix/units.png -p 1130,20 -s 45x45}

### Units ###
${image ~/.conkyrc1/pix/units/batt.png -p 1157,60 -s 25x25}
${image ~/.conkyrc1/pix/units/hdd.png -p 1160,90 -s 25x25}
${image ~/.conkyrc1/pix/units/proc.png -p 1160,120 -s 25x25}
${image ~/.conkyrc1/pix/units/freq.png -p 1160,152 -s 25x25}
[свернуть]
.mocp.sh
#!/bin/bash

. /tmp/mocp_popup.txt
. /tmp/mocp_state.txt

# Переменная хранит разделитель между артистом и названием
# Для радио это как правило ' - '
SEPARATOR=" - "

# Блок отвечает за формирование строк
# Если в воспроизводимом файле есть http://, значит проигрыватся радио
if [ $(mocp -Q %file | grep http://) ]
  then
    PLAYER="Radio"
    # Если нет названия песни
    if [ -z "$(mocp -Q %song)" ]
      then
        # Выводим адрес с которого идет проигрывание
        FIRST_LINE="RadioSite"
        SECOND_LINE="$(mocp -Q %file | sed 's/http:\/\///g')"
      else
        # Если название песни присутствует
        SONG="$(mocp -Q %song)"
        # Выводим артиста
        FIRST_LINE="${SONG%*$SEPARATOR*}"
        # Выводим название
        SECOND_LINE="${SONG#*$SEPARATOR*}"
    fi
  else
    # Если воспроизводится не радио
    #PLAYER="MoC"
    if [ -z "$(mocp -Q %song)" ]
      then
        # Выводим что тегов нет
        FIRST_LINE="No Title"
        SECOND_LINE="No Title"
      else
        # Выводим артиста
        FIRST_LINE="$(mocp -Q %artist)"
        # Выводим название
        SECOND_LINE="$(mocp -Q %song)"
    fi
fi

NEWNAME="$FIRST_LINE - $SECOND_LINE"
NEWNAME="$(echo $NEWNAME | sed 's/\&/And/g' | sed 's/\`//g')"
NEWSTATE="$(mocp --info | grep State: | awk '{print $2}')"

if [ $NEWSTATE == STOP ]; then
  exit 1
fi

# Выводим информацию в conky
if [[ $NEWSTATE == "PLAY" ]]; then
  echo "$PLAYER Play:" "$NEWNAME"
  else
    echo "$PLAYER Stop:" "$OLDNAME"
fi

#======================================== Всплывающие окна =============================================================
mocp -i > /dev/null
if [ $? -eq 2 ];then
  exit 2
fi

if [[ "$OLDNAME" == "$NEWNAME" ]]; then
  if [[ "$OLDSTATE" == "$NEWSTATE" ]]; then
    exit 1
  fi
fi

# Выводим информацию в всплывающее окно
if [[ $NEWSTATE == "PLAY" ]]; then
  notify-send --expire-time=2700 -i "/usr/share/icons/Humanity/emblems/48/emblem-sound.png" "$PLAYER Play:" "$NEWNAME"
  else
    notify-send --expire-time=2700 -i "/usr/share/icons/Humanity/emblems/48/emblem-sound.png" "$PLAYER Stop:" "$OLDNAME"
fi

echo OLDNAME=\"$NEWNAME\" > /tmp/mocp_popup.txt
echo OLDSTATE=\"$NEWSTATE\" > /tmp/mocp_state.txt
[свернуть]
В ссылке архив с исходниками
https://drive.google.com/open?id=1vT9QYaoCB7x4Bs8kMHFvPVTqYukKMmYz