Originally Posted by
vasa1
No
First I'll try to get what you showed in your image: tint2 + conky. That seems more fun with a bit of learning involved. Plus conky is showing the same temp as I'm seeing with the lxpanel temperature plugin. So no need for lmsensors.
The script is a total copy-paste of
this one.
okay.
Here's my tint2rc and .conkyrc. May help you to configure.
~/.config/tint2/tint2rc
The clock section left click launches AltYo (a drop-down terminal emulator)
Code:
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure
# Background definitions
# ID 1
rounded = 0
border_width = 1
background_color = #2D2D2D 84
border_color = #ACBACE 100
# ID 2
rounded = 4
border_width = 1
background_color = #323E72 84
border_color = #ACBACE 100
# Panel
panel_monitor = all
panel_position = top left horizontal
panel_size = 55% 34
panel_margin = 0 0
panel_padding = 0 0 4
panel_dock = 0
wm_menu = 1
panel_layer = top
panel_background_id = 0
# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 5
strut_policy = follow_size
# Taskbar
taskbar_mode = multi_desktop
taskbar_padding = 0 0 6
taskbar_background_id = 1
taskbar_active_background_id = 2
# Tasks
urgent_nb_of_blink = 8
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 32 32
task_padding = 2 2
task_background_id = 0
task_active_background_id = 2
task_urgent_background_id = 0
task_iconified_background_id = 0
# Task Icons
task_icon_asb = 100 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 40 0 0
# Fonts
task_font = Sans 9
task_font_color = #FFFFFF 60
task_active_font_color = #FFFFFF 80
task_urgent_font_color = #FFFFFF 80
task_iconified_font_color = #FFFFFF 60
font_shadow = 0
# System Tray
systray = 1
systray_padding = 2 2 4
systray_sort = ascending
systray_background_id = 1
systray_icon_size = 20
systray_icon_asb = 70 0 0
# Clock
time1_format = %l:%M %P
time1_font = Sans 11
clock_font_color = #BEBEBE 100
clock_tooltip = %a %d %b
clock_padding = 0 0
clock_background_id = 1
clock_lclick_command = altyo --toggle
clock_rclick_command =
# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font = Sans 10
tooltip_font_color = #FFFFFF 100
# Mouse
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify
# Battery
battery = 0
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_hide = 0
bat1_font = Sans 8
bat2_font = Sans 8
battery_font_color = #FFFFFF 100
battery_padding = 3 1
battery_background_id = 1
# End of config
~/.conkyrc
This is the basic form for my screen size of 1680x1050.
I've removed everything below "TEXT" and just put in a sample line to show how it works.
Code:
####
## Use XFT? Required to Force UTF8 (see below).
#
use_xft yes
xftfont Ubuntu:bold:size=10
xftalpha 0.8
text_buffer_size 1024
####
## Force UTF8? Requires XFT (see above).
## Displays degree symbol, instead of °, etc.
#
override_utf8_locale yes
####
## Daemonize Conky, aka 'fork to background'.
#
background no
####
## Update interval in seconds.
#
update_interval 1.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
own_window_colour 2D2D2D # 252525
own_window_title panelconky
own_window_type normal
own_window_transparent no
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,above
default_color ACBACE
#own_window_argb_visual yes
#own_window_argb_value 0
####
## Use double buffering? Reduces flicker.
#
double_buffer yes
####
## Draw shades?
#
draw_shades no
default_shade_color 000000
####
## Draw outlines?
#
draw_outline no
#default_outline_color 000000
####
## Draw borders around text?
#
draw_borders yes
####
## Draw borders around graphs?
#
draw_graph_borders no
####
## Print text to stdout?
## Print text in console?
#
out_to_ncurses no
out_to_console no
####
## Text alignment.
#
alignment tr
####
## Minimum size of text area.
#
minimum_size 748 30
maximum_width 748
####
## Gap between text and screen borders.
#
gap_x 2
gap_y 2
####
## Shorten MiB/GiB to M/G in stats.
#
short_units yes
####
## Pad % symbol spacing after numbers.
#
pad_percents 0
####
## Pad spacing between text and borders.
#
border_inner_margin 0
border_outer_margin 0
border_width 2
####
## Limit the length of names in "Top Processes".
#
top_name_width 10
####
## Subtract file system -/+buffers/cache from used memory?
## Set to yes, to produce meaningful physical memory stats.
#
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
####
## Add spaces to keep things from moving around?
## Only affects certain objects.
#
use_spacer right
####
## My colors (suit yourself).
#
color0 White
color1 Ivory
color2 Ivory2
color3 Ivory3
color4 FF4040
color5 FBE6B7 #text colour
color6 Gray
color7 AntiqueWhite4
color8 F9A41E
#color9 red
color9 6A90EF #icon
### Temps using nvidia or nouveau
# ${font GE Inspira:bold:size=10}${execpi 5 sensors nouveau-pci-0100 | grep temp1 | awk '{print $2}' | cut -c2-3 | xargs /home/glen/conky/ColorTemp/ColorTempGPU.sh}°C
# ${font GE Inspira:bold:size=10}${execpi 5 nvidia-settings -t -q GPUCoreTemp | xargs /home/glen/conky/ColorTemp/ColorTempGPU.sh}°C
#lua_load ~/conky/lua/bargraph_smallcpu-OB.lua
#lua_draw_hook_post main_bars
TEXT
${goto 10}${voffset 5}CPUTemp: ${color green}$command to give temp ${goto 270}${color}MEM: ${color green}$command to give mem usage ${font}
Goodluck
Bookmarks