Wednesday, July 23, 2014

conky

                    So I've been working on getting conky to work properly on gnome. First thing to do is install along with conky is conky-lua and the conky mananger. The mgr makes it easy to try and edit different configs for conky. I really like the blue rings but I wanted to change some sensors to ones that were useful to me. I have 4Gb of ram so monitoring swap was not needed as the indicator stayed at 0%. Media and Modem were the other 2 I really didn't need to monitor. I added temp, battery and wireless strength.




                  Here is the conkyrc with my edits



# Conky settings #
background no
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
#imlib_cache_size 0

temperature_unit fahrenheit

# Window specifications #

own_window yes
own_window_type conky
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0

minimum_size 200 250
maximum_width 200

alignment top_left
gap_x 35
gap_y 55

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# Text settings #
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5

uppercase no

temperature_unit fahrenheit


default_color FFFFFF

# Lua Load  #
lua_load clock_rings.lua
lua_draw_hook_pre clock_rings

own_window_argb_value 0
own_window_argb_visual yes
own_window_colour 000000
TEXT
${voffset 8}${color 4EC6DE}${font caviar dreams:size=16}${time %A}${font}${voffset -8}${alignr 50}${color FFFFFF}${font caviar dreams:size=38}${time %e}${font}
${color FFFFFF}${voffset -30}${color FFFFFF}${font caviar dreams:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font caviar dreams:size=20}${time %Y}${font}${color 4EC6DE}${hr}
${voffset 140}${font caviar dreams:size=10}${alignr}Rittman${font}
${font caviar dreams:size=12}${color FFFFFF}${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KBJJ temperature temperature 30} °F${font}
${image ~/.conky/simple_picture_name.png -p 64,125 -s 70x20}

${color 4EC6DE}${goto 70}${voffset 10}CPU1${color 4EC6DE}${goto 86}${voffset -15}CPU2
${color FFFFFF}${goto 110}${voffset 10}${cpu cpu0}%${color FFFFFF}${goto 85}${voffset 15}${cpu cpu1}%
${color FFFFFF}${goto 12}${voffset 28}${memperc}%
${color 4EC6DE}${goto 12}RAM
${color FFFFFF}${goto 70}${voffset 30}${acpitemp} F
${color 4EC6DE}${goto 70}Temp
${color FFFFFF}${goto 6}${voffset 33}${fs_used_perc /}%${color FFFFFF}${goto 65}${voffset 0}${fs_used_perc /home}%${color FFFFFF}${goto 125}${voffset 0}${battery_percent C23B}%
${color 4EC6DE}${goto 6}root${color 4EC6DE}${goto 65}home${color 4EC6DE}${goto 125}battery
${color FFFFFF}${goto 25}${voffset 28}${downspeed wlp16s0}${color FFFFFF}${goto 105}${voffset 0}${downspeed wlan0}
${color FFFFFF}${goto 25}${upspeed wlp16s0}${color FFFFFF}${goto 105}${upspeed wlan0}
${color 4EC6DE}${goto 20}wireless${color 4EC6DE}${goto 115}ethernet
${color FFFFFF}${voffset 0}${goto 65}${wireless_link_qual wlp16s0}%
${color 4EC6DE}${voffset 0}${goto 65}signal

${color FFFFFF}${font caviar dreams:size=8}Uptime: ${uptime}
${color FFFFFF}${font caviar dreams:size=8}Processes: ${processes}
${color FFFFFF}${font caviar dreams:size=8}Running: ${running_processes}

${color 4EC6DE}${font caviar dreams:size=8}${alignr}${nodename}
${color 4EC6DE}${font caviar dreams:size=8}${alignr}${pre_exec cat /etc/issue.net}  $machine
${color 4EC6DE}${font caviar dreams:size=8}${alignr}Kernel: ${kernel}


and here are my edits to the lua
 
        name='acpitemp',
        arg='',
        max=212,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x4EC6DE,
        fg_alpha=0.8,
        x=100, y=390,
        radius=30,
        thickness=5,
        start_angle=-100,
        end_angle=180

    },
        {
        name='battery_percent',
        arg='C23B',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x4EC6DE,
        fg_alpha=0.8,
        x=150, y=455,
        radius=25,
        thickness=5,
        start_angle=-90,
        end_angle=180
    },
        {
     
        name='downspeedf',
        arg='wlp16s0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x4EC6DE,
        fg_alpha=0.8,
        x=50, y=510,
        radius=25,
        thickness=4,
        start_angle=-90,
        end_angle=180
    },
        {
        name='upspeedf',
        arg='wlp16s0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x4EC6DE,
        fg_alpha=0.8,
        x=50, y=510,
        radius=20,
        thickness=4,
        start_angle=-90,
        end_angle=180
    },
    {
        name='wireless_link_qual',
        arg='wlp16s0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x4EC6DE,
        fg_alpha=0.8,
        x=90, y=560,
        radius=25,
        thickness=4,
        start_angle=-90,
        end_angle=180
    },
        {
        name='wireless_link_qual',
        arg='wlp16s0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x4EC6DE,
        fg_alpha=0.8,
        x=90, y=560,
        radius=20,
        thickness=4,
        start_angle=-90,
        end_angle=180
    },
}

here is the complete file

http://pastebin.com/frw87kVe

No comments:

Post a Comment