MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 143 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15
Conky setup thread 
Author Message
Forum Guide
Forum Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1810
Location: Cranbrook, BC
Has thanked: 232 times
Have thanks: 97 times
Post # 290603
Post Re: Conky setup thread
Eadwine Rose wrote:
I'd personally choose another font than blue, but looking great there!


Yes the blue is a little hard to read. Still a work in progress as is with every conky.

_________________
There is no "Ctrl+Z" in life!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8.1
HP DV4-1118 Mepis 12 4.8.4 & Win 8.1/Dell 1525 MX14/Win 8.1
HP CP1215/Brother DCP-7065DN
Linux User# 4523410


Fri Dec 09, 2011 8:14 pm
Profile
Forum Regular
Forum Regular
User avatar

Joined: Mon Jan 14, 2008 2:00 am
Posts: 588
Location: w/coast 5555 ;) high5
Has thanked: 88 times
Have thanks: 122 times
Post # 290928
 Re: Conky setup thread
rokytnji wrote:
Try

Code:
${execpi 3 sensors | grep "Core 0" | awk '{print $3}' | cut -c2-3}


for cpu temp. It works for me when acpi fails in newer kernels.

[attachment]conky 1.jpg[/attachment]

Mine is a pentium 4 single core processor. Edit the "Core 0" part to fit your multi processors like "Core 1", "Core 2", etc......

Just another one you can try also that I use in case the above does not work for you.

Code:
${color}Temp: ${color} ${hwmon temp 1}C

>> woot! the first one >> :number1: >> that's with music, firefox11.0a1... during an aptitude update :beach:.
Attachment:
conky1.jpg
:btw: those are 'bad' :thumbup: <ohh>.


You do not have the required permissions to view the files attached to this post.

_________________
.
.

speedtest.net
:happy: >>> :spoon-fed: ;-)

Tue Dec 13, 2011 12:07 pm
Profile WWW
Post # 290937
Post Re: Conky setup thread
This is my older AntiX 8.5 install with Fluxbox only with Conky and a Tint2 panel. I have byteonpanel running near top of tint2 under the clock as a network monitoring tool for wlan0. Conky is a bit bigger because of screen real estate (14") on this IBM t23 laptop.

https://bitbucket.org/mozbugbox/byteonpanel/overview

Screeny: http://i44.tinypic.com/nld6r8.jpg

~/.config/tint2/tint2rc

Code:
.#---------------------------------------------
# TINT2 CONFIG FILE mouseover
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
#1 panel background
rounded = 7
border_width = 1
#background_color = #002050 00
background_color = #000510 70
#background_color = #404040 20
border_color = #ffffff 18

#2 active window
rounded = 5
border_width = 1
background_color = #ffffff 18
border_color = #ffff00 100

#3 normal window
rounded = 5
border_width = 2
background_color = #ffffff 18
border_color = #ffffff 0

#4 urgent window
rounded = 5
border_width = 0
background_color = #ba5d00 100
border_color = #ffffff 50

#5 systray
rounded = 2
border_width = 0
background_color = #000000 0
border_color = #ffffff 40

#6 hovered window
rounded = 5
border_width = 1
background_color = #ffffff 18
border_color = #ffffff 100

#7 hovered active window
rounded = 5
border_width = 1
background_color = #ffffff 18
border_color = #aaaa55 100

#8 hovered urgent window
rounded = 5
border_width = 1
background_color = #ba5d00 100
border_color = #ffffff 100

#9 tooltip background
rounded = 7
border_width = 1
background_color = #000000 0
border_color = #ffffff 18

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_items = CSTL
panel_monitor = all
panel_position = bottom right vertical
#panel_position = bottom right horizontal
panel_size = 100% 152
panel_margin = 0 0
panel_padding = 5 0
font_shadow = 0
panel_background_id = 1
wm_menu = 1
panel_dock = 0
strut_policy = follow_size
#strut_policy = none
panel_layer = top

#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = multi_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 0

taskbar_name = 1
taskbar_name_padding = 6 3
taskbar_name_font = Liberation Sans 8
taskbar_name_font_color = #ffffff 100
taskbar_name_active_font_color = #ffffff 100
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0


#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_maximum_size = 140 35
task_centered = 1
task_padding = 6 3
task_font = Liberation Sans 8
task_font_color = #ffffff 100
task_background_id = 3
task_icon_asb = 100 0 0
# replace STATUS by 'urgent', 'active' or 'iconfied'
#task_STATUS_background_id = 2
#task_STATUS_font_color = #ffffff 85
#task_STATUS_icon_asb = 100 0 0
# example:
task_active_background_id = 2
task_urgent_background_id = 4
# use STATUShovered for mouseover effects
task_normalhovered_background_id = 6
task_activehovered_background_id = 7
task_urgenthovered_background_id = 8
urgent_nb_of_blink = 100000

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray = 1
systray_padding = 4 4 4
systray_background_id = 5
systray_sort = left2right
# maximum icon size
systray_icon_size = 28
systray_icon_asb = 100 0 0

#---------------------------------------------
# APPLICATION LAUNCHER
#---------------------------------------------
launcher_padding = 2 4 2
launcher_background_id = 5
# Icon size
launcher_icon_size = 32

# Each launcher_item_app must be a full path to a .desktop file
launcher_item_app = /usr/share/applications/iceape-mailnews.desktop

launcher_item_app = /usr/share/applications/iceape-navigator.desktop
launcher_item_app = /usr/share/applications/iron.desktop

launcher_item_app = /usr/share/applications/geany.desktop

launcher_item_app = /usr/share/applications/gimp.desktop

launcher_item_app = /usr/share/applications/vlc.desktop
launcher_item_app = /usr/share/applications/gksu.desktop

launcher_item_app = /usr/share/applications/roxterm.desktop

launcher_item_app = /usr/share/applications/Thunar.desktop

launcher_item_app = /usr/share/applications/rox-filer.desktop



#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %H:%M
time1_font = sans bold 9
time2_format = %A %d %B
time2_font = Liberation Sans 8
clock_font_color = #ffffff 90
clock_padding = 1 0
clock_background_id = 0
clock_lclick_command = korganizer
clock_rclick_command = zenity --calendar --text ""
clock_tooltip = %A %0d %B %Y %nWeek %W
#time1_timezone = :US/Hawaii
#time2_timezone = :Europe/Berlin
#clock_tooltip_timezone = :/usr/share/zoneinfo/Europe/Paris

#---------------------------------------------
# BATTERY
#---------------------------------------------
#battery = 0
#battery_hide = 80
#battery_low_status = 10
#battery_low_cmd = notify-send -u critical -t 1000000 -i battery-caution "Low battery" "Level: 10%"
#bat1_font = sans 8
#bat2_font = sans 6
#battery_font_color = #ffaa00 100
#battery_padding = 1 0
#battery_background_id = 0

#---------------------------------------------
# TOOLTIP
#---------------------------------------------
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.3
tooltip_hide_timeout = 0.1
tooltip_background_id = 9
tooltip_font_color = #ffffcc 100
tooltip_font = Sans 8

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

#---------------------------------------------
# AUTOHIDE OPTIONS
#---------------------------------------------
autohide = 1
autohide_show_timeout = 0.1
autohide_hide_timeout = 0.1
autohide_height = 2


~/. conkyrc

Code:
# stuff after 'TEXT' will be formatted on screen
##TEXT

background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 250
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
#default_color FFFF00
#default_color C0C0C0
#default_color F5F5F5
#default_color FF69B4
#default_color black
#default_color grey
#default_color red
#default_color tan2
#default_color dimgrey
#default_color CCCC33
#default_color 800000
#default_color 99FF99
#default_color 99FFFF
default_shade_color black
default_outline_color white
#alignment top_right
alignment top_left
gap_x 12
gap_y 80
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${font sans-serif:bold:size=8}LINUX BIKER
${font sans-serif:bold:size=8}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Time: ${time %a %d %b %l:%M:%S%p}
Uptime:$alignr$uptime
File System: $alignr${fs_type}
Weather: ${execi 300 /home/harry/.weather.sh 79772}
Battery: ${battery_bar 8,80 BAT0} ${execi 1 /home/harry/.battery.sh}
LAPPY TEMP:  ${acpitemp}c
${font sans-serif:bold:size=8}PROCESSORS ${hr 2}
${font sans-serif:normal:size=8}${cpugraph cpu1}
CPU1: ${cpu cpu1}% ${cpubar cpu1}

${font sans-serif:bold:size=8}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar
${font sans-serif:bold:size=8}DISKS ${hr 2}
${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
${font sans-serif:normal:size=8}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}
${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %

${font sans-serif:bold:size=8}NETWORK ${hr 2}
${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}
#${font sans-serif:normal:size=8}IP address: $alignr ${addr wlan0}
#ESSID: $alignr ${wireless_essid wlan0}
Connection quality: $alignr ${wireless_link_qual_perc wlan0}%
${downspeedgraph wlan0}
DLS:${downspeed wlan0} kb/s $alignr total: ${totaldown wlan0}
${upspeedgraph wlan0}
ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}


Right now. I launch byteonpanel in tint2 manually (I just installed it to see if it works in tint2) by left clicking in rox file mnager
~/byteonpanel-0.1.0/byteonpanel.py

and seen in screenshot. It launches and works in tint2 panel. I have tint2 panel set to autohide till I mouse over on it also.

Struggling with figuring out how to auto-launch , byteonpanel.py, with slim login into fluxbox and have it autostart in tint2. Still learning. :snail:

Update: get a static .py to autostart in fluxbox.



I moved the byteonpanel-0.1.0 folder to /opt first in rox file manager from ~/byteonpanel-0.1.0 using root terminal to open rox file manager as root. Just drag and drop with 2 root rox file managers open.

The I opened /opt/byteonpanel-0.1-.0 to see the byteonpanel.py. I went to the other root rox file manager window and maneuvered to /usr/bin. I dragged and dropped the /opt/byteonpanel-0.1-.0/ byteonpanel.py to /usr/bin and picked symlink (relative)

closed everything. Went to add startup in my menu (I added this in AntiX 8.5 menu a long time ago).

added into ~//fluxbox/startup text file.
Code:
#Here is where we start byteonpanel.py
sleep 2 && byteonpanel.py &


Tue Dec 13, 2011 1:19 pm
Display posts from previous:  Sort by  
Reply to topic   [ 143 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15

Who is online

Users browsing this forum: Bryan88 and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.