1. Jason Bourne

    Jason Bourne Member

    Joined:
    13 Nov 2009
    Messages:
    267
    Likes Received:
    36
    Reputations:
    25
    Не факт что проблема в конфиге, просто нужно сделать файлик с таким содержанием, добавить ему прав на чтение и записть и разместить в автозагрузке, а коньки убрать, тогда все должно стать норм
    Code:
    #!/bin/bash
    sleep 10
    conky -p 10
     
  2. pavlik.moroz

    pavlik.moroz New Member

    Joined:
    25 Jan 2011
    Messages:
    1
    Likes Received:
    0
    Reputations:
    0
    [​IMG]
    В моих коньках ничего сложного, но мне нравится.
    Code:
    alignment top_right
    background no
    double_buffer yes
    default_color black
    default_outline_color black
    gap_x 30
    gap_y 40
    override_utf8_local yes
    own_window no
    update_interval 4.0
    use_xft
    xftfont Vibrocentric:pixelsize=14
    draw_borders no
    draw_shades no
    
    TEXT
    KERNEL:$kernel
    
    UPTIME:$uptime
    
    IP:${addr}
       
    DOWN:${downspeed} UP:${upspeed}
    
    CPU:${cpubar 12}
    
    RAM:${membar 12}
    
    HDD1: ${fs_free /media/4800F73100F7251A}/${fs_size /media/4800F73100F7251A}
    ${fs_bar 12 /media/4800F73100F7251A}
    
    HDD2: ${fs_free}/${fs_size}
    ${fs_bar 12}
    p.s. розовый фон менять лень
     
  3. Jason Bourne

    Jason Bourne Member

    Joined:
    13 Nov 2009
    Messages:
    267
    Likes Received:
    36
    Reputations:
    25
    Вот так вот скромно :)
    Пример конфига нашел в сети, оставил от него "каркас" поковырял немного и получилось так

    [​IMG]

    Code:
    # .conkyrc - Edited from various examples compiled from the Web
    # by Xplosive
    # by Neonboy
    
    # --- Window Layout & Options --- #
    own_window yes
    own_window_colour brown
    own_window_transparent yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    use_spacer right
    use_xft yes
    alignment top_right
    gap_x 10
    gap_y 45
    
    # --- Colours, Sizes, Fonts & Margins --- #
    update_interval 1.0
    maximum_width 250
    stippled_borders 3
    border_margin 9
    border_width 10
    default_color white
    
    # --- Text --- #
    draw_outline no
    draw_borders no
    font Sans:size=8:weight=bold
    uppercase no
    draw_shades yes
    override_utf8_locale yes 
    
    TEXT 
    ${color FF4500}${alignc}${voffset 6}${time %A %e %B %G} 
    ${color white}${font Neuropol:size=30}${alignc}${time %H:%M:%S}${font} 
    
    ${color FF4500}SYSTEM [ ${color green} ${exec whoami}  ${color FF4500}] ${color white}[${sysname}] ${color FF4500}${hr 2}
    ${voffset 2}${color 7FFF00}${font OpenLogos:size=18}u${color red}${font}${voffset -8} ${uptime} ${alignr}${kernel} 
    ${font Arial:bold:size=9}${color green}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}$font$color
    ${color orange}Частота:$color ${execi 20 sensors |grep "Core0 Temp" | cut -d" " -f4}$font$color$alignr${freq_g 2}ГГц ${color #c0ff3e}${execi 20 sensors |grep "Core1 Temp" | cut -d" " -f4}  $color${alignr}${color orange}Процессов:$color $running_processes/ $processes
    ${color orange}Арх.$color $machine           ${color white} Файловая система ${color FF4500}${fs_type}
    ${color FF4500}${hr 2}
    ${alignr}${color white}Температура процессора:              ${color orange} ${hwmon temp 1}°C                
    ${font}${color white}Температура видеокарты:${color orange}${alignr} ${execi 30 nvidia-settings -q gpucoretemp |grep '):' | awk '{print $4}'}°C
    ${color FF4500}${hr 2}
    ${color FF4500}${font StyleBats:size=16}${font} CPU1: ${color FF4500}${cpu cpu1}% ${alignr}${cpubar cpu1 12,80 }${cpugraph cpu1 12,80 F57900 FCAF3E} 
    ${color FF4500}${font StyleBats:size=16}${font} CPU2: ${color FF4500}${cpu cpu2}% ${alignr}${cpubar cpu2 12,80 }${cpugraph cpu2 12,80 F57900 FCAF3E}
    ${color FF4500}${font StyleBats:size=16}${font} CPU3: ${color FF4500}${cpu cpu3}% ${alignr}${cpubar cpu3 12,80 }${cpugraph cpu3 12,80 F57900 FCAF3E} 
    ${color FF4500}${font StyleBats:size=16}${font} CPU4: ${color FF4500}${cpu cpu4}% ${alignr}${cpubar cpu4 12,80 }${cpugraph cpu4 12,80 F57900 FCAF3E}
    ${color FF4500}${hr 2}
    ${color white}$mem of $memmax $alignr($memperc% used)          ${color FF4500}
    ${font StyleBats:size=9}${font}RAM:   ${color #ff6600}${membar 12,105}${memgraph 12,101 F57900 FCAF3E}
    ${color FF4500}SWAP${color FF4500}   $swap of $swapmax $alignr($swapperc% used)%  
    ${color #ff6600}${swapbar 12}${color} 
    ${color FF4500}${hr 2}
    ${font Sans:size=9:weight=bold}${color FF4500}TOP 5 Процессов (Загрузка ЦП) ${hr 2}$color${font Sans:size=8:weight=bold}${color ff0000}
    Название               ${alignr}ID      ${alignr}ЦП  $color
    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}
    ${color FF4500}$stippled_hr
    ${font Sans:size=9:weight=bold}${color FF4500}TOP 5 Процессов (Загрузка ОЗУ) ${hr 2}$color${font Sans:size=8:weight=bold}${color #ff0000}
    Название               ${alignr}ID      ${alignr}ОЗУ $color
    1. ${top_mem name 1}     ${alignr}${top_mem pid 1}   ${alignr}${top_mem mem 1}
    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}
    ${color FF4500}${hr 2} 
    ${font Sans:size=9:weight=bold}${color FF4500}NETWORK
    ${color}${font StyleBats:size=12}Z ${font}${color white}Внутрений IP: ${color }${alignr}${addr eth0}
    ${color}${font StyleBats:size=12}H ${font}${color white}Внешний IP: ${color }${alignr}${execi 600 wget -O - http://ip.tupeux.com | tail}
    ${color FF4500}$stippled_hr
    ${color red}Скорость передачи данных
    ${color white}Вход.$color ${downspeed eth0}Кб/с${alignr}${color white}Исходящ.$color${alignr} ${upspeed eth0}Кб/с
    ${downspeedgraph eth0 18,120 000000 00ff00} ${alignr}${upspeedgraph eth0 18,120 000000 ff0000}$color
    ${color FF4500}$stippled_hr
    ${font Sans:size=9:weight=bold}${color FF4500}Трафик ${color FF4500}$stippled_hr$color${font Sans:size=8:weight=bold}
    ${color white}Входящ. ${totaldown eth0} ${alignr}${color white}Исходящ.${alignr} ${totalup eth0}
    ${color FF4500}${hr 2}
    ${font Sans:size=9:weight=bold}${color FF4500}Свободное пространство разделов${hr 2}$color${font Sans:size=8:weight=bold}
    ${color white}Linux Ubuntu ${color FF4500}$stippled_hr
    ${color red}Root    ${color}${fs_used /} of ${fs_size} $alignr(${fs_free_perc /}% free)
    ${color #ff6600}${fs_bar 5 }${color}
    ${color red}Home  ${color}${fs_used /home} of ${fs_size /home} $alignr(${fs_free_perc /home}% free)
    ${color #ff6600}${fs_bar 5 /home}${color}
    ${color white}Windows Se7en ${color FF4500}$stippled_hr
    ${color green}Disk C  ${color}${fs_used /media/240E2B000E2ACB1E} of ${fs_size /media/240E2B000E2ACB1E} $alignr(${fs_free_perc /media/240E2B000E2ACB1E}% free)
    ${color #ff6600}${fs_bar 5 /media/240E2B000E2ACB1E}${color}
    ${color green}Disk D  ${color}${fs_used /media/C522E14529E55CBC} of ${fs_size /media/C522E14529E55CBC} $alignr(${fs_free_perc /media/C522E14529E55CBC}% free)
    ${color #ff6600}${fs_bar 5 /media/C522E14529E55CBC}${color}
    ${color green}Disk E  ${color}${fs_used /media/AE274871D91A6DC4} of ${fs_size /media/AE274871D91A6DC4} $alignr(${fs_free_perc /media/AE274871D91A6DC4}% free)
    ${color #ff6600}${fs_bar 5 /media/AE274871D91A6DC4}${color}
    ${color FF4500}${hr 2}
     
    Kevin Shindel, NemTaq and pankeev like this.
  4. dupD0M

    dupD0M Elder - Старейшина

    Joined:
    18 May 2010
    Messages:
    1,130
    Likes Received:
    74
    Reputations:
    34
    так маленько разобрался с проблемой еще того раза!там я за ошибку спрашивал!вдруг кому то поможет!
    ребят если вы берете чей то код обращайте внимания на настройки-я так же настройки не правил и поэтому была беда!я брал кода джейсона а у него 4 проца а у меня 2 и поэтому ошибило!
     
  5. Kevin Shindel

    Kevin Shindel Elder - Старейшина

    Joined:
    24 May 2015
    Messages:
    1,011
    Likes Received:
    1,192
    Reputations:
    62
    Непонятно почему темку то зачотную закинули .... а ведь Коньки отличный монитор.
    Гибко настраиваемый и интуитивно понятный.
    Вот нарисовал себе чуток...
    [​IMG][​IMG]
    [​IMG][​IMG]
     
    #25 Kevin Shindel, 3 Mar 2016
    Last edited: 3 Mar 2016