You are not logged in.

#176 2008-12-05 01:41:20

dusanx
Member
Registered: 2008-11-28
Posts: 132

Re: conky configs and screenshots!

Little script, ideal for conky that will grab 'new posts' of any vBulletin forum...

First, make sure that you have valid cookie.txt:

# HTTP cookie file.
# Generated by Wget on 2008-12-04 15:12:03.
# Edit at your own risk.

www._FORUM_.com    FALSE    /    FALSE    1259838859    bbpassword    _PASSWORD_
www._FORUM_.com    FALSE    /    FALSE    1259838859    bbuserid    _USERID_

Replace _FORUM_ with URL, _PASSWORD_ and _USERID_ with correct cookie values (can be seen in ff).

Second, prepare forumget.sh:

#!/bin/bash

wget --quiet --referer=http://www._FORUM_.com/forum/search.php --cookies=on --load-cookies=/home/_USERNAME_/.scripts/forumwatch/cookie.txt --keep-session-cookies --save-cookies=/home/_USERNAME_/.scripts/forumwatch/cookie.txt http://www._FORUM_.com/forum/search.php?do=getnew --output-document=- | grep "thread_title\|member.php?find=lastposter" | awk 'BEGIN{FS="nofollow\">|font-weight:bold\">";RS="</a>"}/</{print $2}'

Replace _FORUM_ with URL, _USERNAME_ with your Linux username. Save both files to ~/.scripts/forumwatch

Third, conky:

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# 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 override
#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
maximum_width 180

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white

# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 35
gap_y 50

# 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

TEXT
FORUM ${hr 2}
${execi 10 ~/.scripts/forumwatch/forumget.sh | head -n51}

Result:
desktop-thumb.jpg

forum.jpg


Gnome -> Openbox -> Awesome -> XMonad -> dwm .
http://github.com/dusanx/uzbl/

Offline

#177 2008-12-07 11:49:52

sen
Member
From: .de
Registered: 2007-02-18
Posts: 153
Website

Re: conky configs and screenshots!

@dusanx
Good idea, thank you for sharing!

Offline

#178 2008-12-08 00:03:59

mgzzy
Member
Registered: 2007-05-11
Posts: 20

Re: conky configs and screenshots!

after some upgrade including X and nvidia drivers my conky config started looking like http://img56.imageshack.us/img56/3916/2 … 64shu1.png. All text messed up. It renders fonts  without cleaning the buffer. Other things like graphs displayed normally. I didn't changed anything just did a pacman -Syu. Anyone have an idea?

Last edited by mgzzy (2008-12-08 00:06:14)

Offline

#179 2008-12-08 19:41:22

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: conky configs and screenshots!

mgzzy wrote:

Anyone have an idea?

i've run into a few conky+xcompmgr=flickering and detroyed windows issues since the recent xorg update debacle.

i really can't speak to the cause of or solution to your problem but after i Syu'd i went in and housecleaned my xorg.conf a bit... so i thought i'd post it and maybe you can try some of the font paths etc to see if you can get cleaner output.  good luck.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Tue Nov  4 14:08:09 PST 2008

# edited by user

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/local"
EndSection

Section "Module"
    Load           "glx"
    Load           "extmod"
    Load           "xtrap"
    Load           "dbe"
    Load           "dri"
    Load           "freetype"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer P244W"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS" "True"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7150 / NVIDIA nForce 630i"
    Option         "ConnectedMonitor" "CRT"
    Option         "TripleBuffer" "True"
    Option         "DamageEvents" "True"
    Option         "UseEdidDpi" "False"
    Option         "DPI" "96 x 96"
    Option         "ConnectToAcpid" "False"
    Option         "NoLogo" "True"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1920x1080 +0+0; nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Offline

#180 2008-12-12 08:55:00

AirOnSkin
Member
From: Switzerland
Registered: 2008-12-09
Posts: 11

Re: conky configs and screenshots!

Hey Guys

This is my conky config. "My" is not quite true, I copied the layout from some guy I found on the internet and customized it to my needs smile

archscreenyeb35e_thumb.jpg

#= Conky Options =#
#=================#

## Behaviour
double_buffer yes
no_buffers yes
update_interval 0.75
cpu_avg_samples 2
total_run_times 0

## Look
background no
draw_borders no
draw_shades no
border_margin 8
border_width 0
draw_graph_borders yes
draw_outline no
default_color black
default_outline_color black
default_shade_color black
color0 4c4c4c

## Position & Size
alignment top_right
gap_x 50
gap_y 75
maximum_width    275
minimum_size    1250

## Font
#use_xft yes 
#xftalpha 1.0
#xftfont Vibrocentric:pixelsize=12
font Sans

## Window options
own_window no
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,sticky,skip_taskbar,skip_pager

#= Displayed Text =#
#==================#

TEXT
${alignc}$sysname $kernel ($machine)
${alignc}${exec whoami} @ $nodename

${color0}${alignc}${time %d. %B %Y | %I:%M:%S}${color}
$hr

${color0}${alignc}-[ sysinfo ]-${color}

${color0}UPTIME: ${color}$uptime

${color0}CPU: ${color}${freq}MHz (${freq_g}GHz)
${color0}RAM: ${color}${memmax}

${color0}CPU: ${color}${cpu}% ${cpubar}$
${color0}RAM: ${color}${mem}/${memmax}(${memperc}%) ${membar}$
${color0}SWP: ${color}${swap}/${swapmax} (${swapperc}%) ${swapbar}$
$hr

${color0}${alignc}-[ filesystems ]-${color}

${color0}/-------- ${color}${fs_free /}${tab 20}/${tab 5}${fs_size /} ${fs_bar /}
${color0}/charlie- ${color}${fs_free /media/charlie}${tab 20}/${tab 5}${fs_size /media/charlie} ${fs_bar /media/charlie}
$hr

${color0}${alignc}-[ network ]-${color}

${color0}Hostname: ${color}${nodename}
${color0}IP: ${color}${addr eth0}

${color0}currin: ${color}${downspeedf eth0} kB/s${alignr}${color0}total-in: ${color}${totaldown eth0}
${color0}currout: ${color}${upspeedf eth0} kB/s${alignr}${color0}total-out: ${color}${totalup eth0}

$hr

${color0}${alignc}-[ processes ]-${color}

${color0}total: ${color}${processes}${alignr}${color0}running: ${color}${running_processes}

${color0}top 3 (cpu):${color}
${top name 1}${tab 15}${top pid 1}${tab 25}   ${top cpu 1}%
${top name 2}${tab 15}${top pid 2}${tab 25}   ${top cpu 2}%
${top name 3}${tab 15}${top pid 3}${tab 25}   ${top cpu 3}%

${color0}top 3 (mem):${color}
${top_mem name 1}${tab 15}${top_mem pid 1}${tab 25}   ${top_mem mem 1}%
${top_mem name 2}${tab 15}${top_mem pid 2}${tab 25}   ${top_mem mem 2}%
${top_mem name 3}${tab 15}${top_mem pid 3}${tab 25}   ${top_mem mem 3}%
${if_running amarokapp}
$hr

This is how it looks like on my home desktop including an amarok script: http://aironskin.deviantart.com/art/Scr … 8-81425673

Cheers

Air

Offline

#181 2008-12-12 20:23:34

Square
Member
Registered: 2008-06-11
Posts: 435

Re: conky configs and screenshots!

AirOnSkin wrote:

Hey Guys

This is my conky config. "My" is not quite true, I copied the layout from some guy I found on the internet and customized it to my needs smile

http://img20.myimg.de/archscreenyeb35e_thumb.jpg

CODE

This is how it looks like on my home desktop including an amarok script: http://aironskin.deviantart.com/art/Scr … 8-81425673

Cheers

Air

The first shot shows that you use your workspace as root. I hope you aren't always working in X as root.

Last edited by Square (2008-12-12 20:25:08)


 

Offline

#182 2008-12-15 07:31:33

AirOnSkin
Member
From: Switzerland
Registered: 2008-12-09
Posts: 11

Re: conky configs and screenshots!

Square wrote:

The first shot shows that you use your workspace as root. I hope you aren't always working in X as root.

Ah, you got me. I'm still in the setup-phase... XMD doesn't work, screen-cloning, sound, ... as long as I'm not done with these things I prefer "working" as root. But basically you're right... roll

Offline

#183 2008-12-15 09:20:33

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Re: conky configs and screenshots!

My conky is mostly based on other people's configs from the forum here:
sf9phw.jpg

.conkyrc

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# 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 override
#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
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 65

# 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

TEXT
${font Aerial:style=Bold:pixelsize=10}DATE ${hr 2}${font}
${alignc 58}${font Radio Space:size=40}${time %H:%M}${font}
   ${voffset 4}${alignc}${font Aerial:style=Bold:pixelsize=10}${time %A %d, %B %Y}

${font Aerial:style=Bold:pixelsize=10}WEATHER ${hr 2}${font}
${voffset 8}${font Arial Black:size=14}${alignc}${execi 300 /home/kevin/scripts/weather.sh "EUR|NL|NL010|Utrecht"}${font}

${font Aerial:style=Bold:pixelsize=10}SYSTEM ${hr 2}${font}
${font}   Uptime: ${alignr}${uptime}
${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}

${font Aerial:style=Bold:pixelsize=10}HD ${hr 2}${font}
${font}   ${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font}   ${fs_used /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

${font Aerial:style=Bold:pixelsize=10}NETWORK ${hr 2}${font}
${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${font}   Upload: ${alignr}${totalup eth0}
${font}   Download: ${alignr}${totaldown eth0}
${font}   Local Ip: ${alignr}${addr eth0}

${font Aerial:style=Bold:pixelsize=10}MPD ${hr 2}${font}
${color FFFFFF}${alignc}${mpd_status}

${font}   Random:${color FFFFFF}${alignr}${mpd_random}

${font}   Artist: ${alignr}${mpd_artist}
${font}   Title: ${alignr}${mpd_title}
${font}   Album: ${alignr}${mpd_album}

${font}  ${mpd_elapsed}${alignr}${mpd_length}
${mpd_bar 3,200}

${font Aerial:style=Bold:pixelsize=10}GMAIL ${hr 2}${font}
${font}   Messages:                                ${execi 60 perl ~/scripts/gmail.pl n 2>/dev/null}

Offline

#184 2008-12-17 22:12:08

dakor
Member
Registered: 2004-03-19
Posts: 107

Re: conky configs and screenshots!

kevin89,

Can you share your gmail.pl as well?


freenode.net  #linuxn00b

Offline

#185 2008-12-21 14:28:51

zigiless
Member
From: Israel
Registered: 2008-06-27
Posts: 27
Website

Re: conky configs and screenshots!

Second post in this thread, now with a minimized one-line conky
http://i40.tinypic.com/69f13r.png

background no
use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
mail_spool $MAIL
total_run_times 0
own_window yes
own_window_type override
own_window_transparent no
own_window_colour hotpink
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
no_buffers yes
uppercase no
cpu_avg_samples 1
net_avg_samples 2
override_utf8_locale yes
use_spacer yes
update_interval 3.0

default_color white
color0 A0C7D8

alignment top_middle
gap_x 5
gap_y 10

TEXT
${color} ${font openlogos:bold:size=15}B ${voffset -4}${color0}${font Sans:bold:size=8}${kernel} ${color} | ${color}${execi 3600 python ~/scripts/conkyForecast.py --location=ISXX0017 -t /home/or/scripts/weather_template}${color}  | ${color0}${execi 3600 perl ~/scripts/pacstatus.pl}${color} | ${color0}${execi 600 perl ~/scripts/gmail.pl n}${color} new email(s)${alignc} | ${color}Net (${color0}${downspeed wlan0}${color}K/ ${color0}${upspeed wlan0}${color}K)${color} | Ram ${color0}${alignc}${memperc}%${color} | Core1 ${color0}${alignc}${cpu cpu0}%${color} Core2 ${color0}${alignc}${cpu cpu1}%${color} | ${mpd_title}

Last edited by zigiless (2008-12-21 14:55:00)

Offline

#186 2008-12-27 22:59:35

liquibyte
Member
Registered: 2007-11-11
Posts: 91
Website

Re: conky configs and screenshots!

Mine is now a just a little closer to being finished.  I may grey scale it out later on but the colors make it easy to identify certain things once you get used to it.

conkyqv3.th.png
desktopzr4.th.png

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

# 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 black

background no

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

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

# Use Xft?
use_xft yes

# Update interval in seconds
update_interval 1.0

# Minimum size of text area
#minimum_size 200 5
maximum_width 260

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
draw_graph_borders yes

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

# Stippled borders?
stippled_borders 1

# border margins
border_margin 10

# border width
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
default_color 808080
default_shade_color gray
default_outline_color grey

# Set conky on the bottom of all other applications
own_window_hints below

# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# stuff after 'TEXT' will be formatted on screen
override_utf8_locale yes
xftfont LiberationMono:size=8:bold
xftalpha 0.5

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

# Subtract file system buffers from used memory?
no_buffers yes

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


TEXT
${color #888888}Kernel: ${color #CCCCCC}$kernel${color #888888}${alignr}Uptime: ${color #CCCCCC}$uptime${color} 
${color #888888}Frequency: ${color #CCCCCC}${alignr}$freq_g GHz${color} 
${cpugraph cpu0 15,260 11AD11 FD7171}
${voffset -18} $alignc${color #FD7171}CORE 0: ${color #FFA449}${cpubar cpu1 9,77} ${color #CBCB05} ${platform coretemp.0 temp 1} ${color #79CD4E}°C @ ${color #11AD11}${cpu cpu1}%${color}
${cpugraph cpu1 15,260 11AD11 FD7171} 
${voffset -18} $alignc${color #FD7171}CORE 1: ${color #FFA449}${cpubar cpu2 8,77} ${color #CBCB05} ${platform coretemp.1 temp 1} ${color #79CD4E}°C @ ${color #11AD11}${cpu cpu2}%${color}
${cpugraph cpu2 15,260 11AD11 FD7171} 
${voffset -18} $alignc${color #FD7171}CORE 2: ${color #FFA449}${cpubar cpu3 8,77} ${color #CBCB05} ${platform coretemp.2 temp 1} ${color #79CD4E}°C @ ${color #11AD11}${cpu cpu3}%${color}
${cpugraph cpu3 15,260 11AD11 FD7171} 
${voffset -18} $alignc${color #FD7171}CORE 3: ${color #FFA449}${cpubar cpu4 8,77} ${color #CBCB05} ${platform coretemp.3 temp 1} ${color #79CD4E}°C @ ${color #11AD11}${cpu cpu4}%${color}

${color #888888}CPU In:$alignr${color #11AD11}${platform it87.656 fan 1}${color} 
${color #888888}System:$alignr${color #CBCB05}${platform it87.656 fan 3}${color} 
${color #888888}CPU Out:$alignr${color #FD7171}${platform it87.656 fan 2}${color} 

${color #888888}RAM:${color #FD7171}$alignc${offset 8}$mem${color #CBCB05} | ${color #11AD11}$memmax$alignr$memperc%${color} 
${membar 5,260} 

sda1    ${color #FD7171} ${fs_used /boot} ${color #CBCB05} | ${color #11AD11} ${fs_size /boot} $alignr ${fs_free_perc /boot}% free${color} 
${fs_bar 3,260 /boot} 
sda2    ${color #FD7171} ${fs_used /} ${color #CBCB05} | ${color #11AD11} ${fs_size /} $alignr ${fs_free_perc /}% free${color} 
${fs_bar 3,260 /} 
sda3    ${color #FD7171} ${fs_used /home} ${color #CBCB05} | ${color #11AD11} ${fs_size /home} $alignr ${fs_free_perc /home}% free${color} 
${fs_bar 3,260 /home} 

${offset -11}${color #FD7171}${top cpu 1}%$alignc${offset 30}${top name 1}$alignr${top pid 1} 
${offset -11}${color #FFA449}${top cpu 2}%$alignc${offset 30}${top name 2}$alignr${top pid 2} 
${offset -11}${color #CBCB05}${top cpu 3}%$alignc${offset 30}${top name 3}$alignr${top pid 3} 
${offset -11}${color #79CD4E}${top cpu 4}%$alignc${offset 30}${top name 4}$alignr${top pid 4} 
${offset -11}${color #11AD11}${top cpu 5}%$alignc${offset 30}${top name 5}$alignr${top pid 5} 

${color #888888}Incoming:$alignc${color #11AD11}${offset 30}${downspeedf eth0}$alignr${color #888888}KB/s${color} 
${color #888888}${downspeedgraph eth0 15,260 11AD11 FD7171}${color} 
${color #11AD11}${voffset -17}$alignc${totaldown eth0}${color} 

${color #888888}Outgoing:$alignc${color #FD7171}${offset 30}${upspeedf eth0}$alignr${color #888888}KB/s${color} 
${color #888888}${upspeedgraph eth0 15,260 11AD11 FD7171}${color} 
${color #FD7171}${voffset -17}$alignc${totalup eth0}${color}

Offline

#187 2008-12-28 09:41:23

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: conky configs and screenshots!

Anyone here using conky on their AA1?:)

Do you know how to show the cpu temperature?:)

Thanks alot...I'm still building my conky atm, will be showing it soon...

Thanks in advance...:)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#188 2008-12-28 16:05:26

liquibyte
Member
Registered: 2007-11-11
Posts: 91
Website

Re: conky configs and screenshots!

What's an AA1?  I use lmsensors & the following code to show my 4 cores.

${platform coretemp.0 temp 1}
${platform coretemp.1 temp 1}
${platform coretemp.2 temp 1}
${platform coretemp.3 temp 1}

Offline

#189 2008-12-29 11:29:50

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: conky configs and screenshots!

I'm sorry for abbreviating...AA1 stands for Acer Aspire One...:)
I've already installed lmsensors...
Here is the output of my sensors-detect...How can I determine my sensors?:)

[koala@myhost ~]$ sudo sensors-detect
# sensors-detect revision 5337 (2008-09-19 17:05:28 +0200)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): y
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn.
Load `i2c-i801' (say NO if built into your kernel)? (YES/no): y
FATAL: Module i2c_i801 not found.
Loading failed... skipping.
If you have undetectable or unsupported I2C/SMBus adapters, you can have
them scanned by manually loading the modules before running this script.

To continue, we need module `i2c-dev' to be loaded.
Do you want to load `i2c-dev' now? (YES/no): y
FATAL: Module i2c_dev not found.
Loading failed, expect problems later on.

We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 6000 (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Can't open /dev/i2c-0

Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   Yes
Found unknown chip with ID 0xfc11
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some south bridges, CPUs or memory controllers may also contain
embedded sensors. Do you want to scan for them? (YES/no): y
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal and voltage sensors...                       No

Sorry, no sensors were detected.
Either your sensors are not supported, or they are connected to an
I2C or SMBus adapter that is not supported. See
http://www.lm-sensors.org/wiki/FAQ/Chapter3 for further information.
If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.

Thanks in advance

Last edited by kaola_linux (2008-12-29 11:38:41)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#190 2009-01-03 12:30:13

resadent
Member
Registered: 2008-05-17
Posts: 35

Re: conky configs and screenshots!

Here's mine. big_smile
1tlwmc.png

background yes
use_xft yes
xftfont 123:size=9
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 150
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color white
default_outline_color white
alignment top_right
gap_x 10
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
use_spacer yes
override_utf8_locale yes
color1 white
color6 0900FE #azul
mpd_host localhost
mpd_port 6600

TEXT
${font openlogos:size=20}${color white}$alignc B
${voffset -50}

${voffset -40}
${font}${color white}Info ${hr 2}$color
${font}${alignc}${color white}${time %H:%M}, ${font}${alignc}${time %A %d} de ${time %B} de ${time %Y} 

Tiempo iniciado: $alignr $uptime
HDD I/O: $alignr ${diskio}B/s
RAM: ${mem} / ${memmax} $alignr $memperc%
CPU: $alignr${cpu cpu}% @ ${freq_g cpu}Ghz
${cpugraph cpu}
Calendario ${hr 2}$color
${font Zekton:size=9}${alignc}${time %B} de ${time %Y}
${color 6b6b6b}${font Bitstream Vera Sans Mono:size=9}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/                     /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color6}'"$DJS"'${color1}'" "/}

${font}${color white}Música ${hr 2}$color
${alignc}${mpd_status}
${mpd_bar}
Título: ${mpd_title} - ${mpd_elapsed}/${mpd_length}
Álbum: ${mpd_album} 
Artista: ${mpd_artist}

${color white}Particiones ${hr 2}$color

ROOT $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
HOME $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
WINDOWS $alignc ${fs_used /media/windows} / ${fs_size /media/windows} $alignr ${fs_used_perc /media/windows}%
${fs_bar /media/windows}

${color white}Procesos ${hr 2}$color

CPU $alignr PID CPU% MEM%

${top name 1}$alignr${top pid 1}${top cpu 1}${top mem 1}
${top name 2}$alignr${top pid 2}${top cpu 2}${top mem 2}
${top name 3}$alignr${top pid 3}${top cpu 3}${top mem 3}

RAM $alignr PID CPU% MEM%

${top_mem name 1}$alignr${top_mem pid 1}${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem pid 2}${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem pid 3}${top_mem cpu 3}${top_mem mem 3}

RED ${hr 2}$color
IP de eth0 $alignr ${addr eth0}

BAJADA $alignr SUBIDA
$alignc ${downspeedgraph eth0 32,150} ${upspeedgraph eth0 32,150}
${downspeed eth0}KB/s $alignr ${upspeed eth0}KB/s

BAJADO ${totaldown eth0} $alignr SUBIDO $alignr${totalup eth0}

Offline

#191 2009-01-06 01:49:04

rollenwiese
Member
Registered: 2008-02-24
Posts: 69

Re: conky configs and screenshots!

zigiless wrote:

Second post in this thread, now with a minimized one-line conky
http://i40.tinypic.com/69f13r.png

Hey zigiless can you provide that pacstatus script, or point me in the direction of finding it?

Thanks!

Offline

#192 2009-01-06 12:10:47

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: conky configs and screenshots!

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Description: Python script for notifying archlinux updates.
# Usage: Put shell script with command 'pacman -Sy' into /etc/cron.hourly/
# Conky: e.g. put in conky '${texeci 1800 python path/to/this/file}'
# Author: Michal Orlik <thror.fw@gmail.com>, sabooky <sabooky@yahoo.com>
 
################################################################################
# SETTINGS - main settings
# set this to True if you just want one summary line (True/False)
brief = False
# number of packages to display (0 = display all)
num_of_pkgs = 5
#show only important packages
onlyImportant = False
########################################
 
# OPTIONAL SETTINGS
# PACKAGE RATING - prioritize packages by rating
# pkgs will be sorted by rating. pkg rating = ratePkg + rateRepo for that pkg
# pkg (default=0, wildcards accepted)
ratePkg = {
        'kernel*':10,
        'pacman':9,
        'nvidia*':8,
        }
# repo (default=0, wildcards accepted)
rateRepo = {
        'core':5,
        'extra':4,
        'community':3,
        'testing':2,
        'unstable':1,
        }
# at what point is a pkg considered "important"
iThresh = 5
########################################
 
# OUTPUT SETINGS - configure the output format
# change width of output
width = 0 
# pkg template - this is how individual pkg info is displayed ('' = disabled)
# valid keywords - %(name)s, %(repo)s, %(size).2f, %(ver)s, %(rate)s
pkgTemplate = " %(name)s"# %(ver)s"
# important pkg tempalte - same as above but for "important" pkgs
ipkgTemplate = " *!* %(name)s" #%(ver)s"
# summary template - this is the summary line at the end
# valid keywords - %(numpkg)d, %(size).2f, %(inumpkg), %(isize).2f, %(pkgstring)s
summaryTemplate = ""
# important summary template - same as above if "important" pkgs are found
isummaryTemplate = summaryTemplate + ""
# pkg right column template - individual pkg right column
# valid keywords - same as pkgTemplate
pkgrightcolTemplate = ""
# important pkg right column template - same as above but for important pkgs
ipkgrightcolTemplate = pkgrightcolTemplate
# summary right column template - summay line right column
# valid keywords - same as summaryTemplate
summaryrightcolTemplate = ""
# important summary right column template - same as above if "important" pkgs are found
isummaryrightcolTemplate = summaryrightcolTemplate
# seperator before summary ('' = disabled)
block = ''
# up to date msg
u2d = 'system is up to date'
################################################################################
 
import subprocess
import re
 
from time import sleep
from glob import glob
from fnmatch import fnmatch
 
program = []
pkgs = []
url = None
 
def runpacman():
    """runs pacman returning the popen object"""
    p = subprocess.Popen(['pacman','-Qu'],
            stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
    return p
 
def cmpPkgs(x, y):
        """Compares packages for sorting"""
        if x['rate']==y['rate']:
                return cmp(x['size'], y['size'])
        else:
                return x['rate']-y['rate']
 
if onlyImportant:
        pkgTemplate, pkgrightcolTemplate = '',''
 
p = runpacman()
#parse pacmans output
for line in p.stdout:
    if re.match('(CÃ|Pakete|Targets|Se procesará|Cibles|Pacchetti|'
                        'Celuje|Pacotes|Цели) \(.*\):', line):
        program = line.split()[2:]  
 
        for line in p.stdout:
            if not line.strip():
                break
            program += line.split()
 
for item in program:
    pkg = {}
    desc_path = False
    desc_paths =  glob('/var/lib/pacman/sync/*/%s'%item)
 
    if not desc_path:
            desc_path = desc_paths[0] + '/desc'
 
    pkg['repo'] = desc_path.split('/')[-3]
    desc = open(desc_path).readlines()
    checkName = 0
    checkSize = 0
    checkVersion = 0
    for index, line in enumerate(desc):
        if line=='%NAME%\n' and checkName == 0:
            pkgName = desc[index+1].strip()
            pkg['name'] = pkgName
            checkName = 1
        if line=='%CSIZE%\n' and checkSize == 0:
            pkgSize = int(desc[index+1].strip())
            pkg['size'] = pkgSize / 1024.0 / 1024
            checkSize = 1
        if line=='%VERSION%\n' and checkVersion == 0:
            pkgVersion = desc[index+1].strip()
            pkg['ver'] = pkgVersion
            checkVersion = 1
 
    pkgRate = [v for x, v  in ratePkg.iteritems()
            if fnmatch(pkg['name'], x)]
    repoRate = [v for x, v in rateRepo.iteritems()
            if fnmatch(pkg['repo'], x)]
    pkg['rate'] = sum(pkgRate + repoRate)
 
    pkgs.append(pkg)
 
# echo list of pkgs
if pkgs:
    summary = {}
    summary['numpkg'] = len(pkgs)
    summary['size'] = sum([x['size'] for x in pkgs])
    if summary['numpkg'] == 1:
        summary['pkgstring'] = 'package'
    else:
        summary['pkgstring'] = 'packages'
    summary['inumpkg'] = 0
    summary['isize'] = 0
    lines = []
    pkgs.sort(cmpPkgs, reverse=True)
    for pkg in pkgs:
        important = False
 
        if pkg['rate'] >= iThresh:
            summary['isize'] += pkg['size']
            summary['inumpkg'] += 1
            pkgString = ipkgTemplate % pkg
            sizeValueString = ipkgrightcolTemplate % pkg
        else:
            pkgString = pkgTemplate % pkg
            sizeValueString = pkgrightcolTemplate % pkg
 
#        if len(pkgString)+len(sizeValueString)>width-1:
#                pkgString = pkgString[:width-len(sizeValueString)-4]+'...'
 
        line = pkgString.ljust(width - len(sizeValueString)) + sizeValueString
        if line.strip():
            lines.append(line)
 
    if not brief:
        if num_of_pkgs:
            print ',  '.join(lines[:num_of_pkgs])
        else:
            print ',  '.join(lines)
        if block:
            print block.rjust(width)
 
 
    if summary['inumpkg']:
        overallString = isummaryTemplate % summary
        overallMBString = summaryrightcolTemplate % summary
    else:
        overallString = summaryTemplate % summary
        overallMBString = isummaryrightcolTemplate % summary
 
    summaryline =  overallString.ljust(width - len(overallMBString)) \
                       + overallMBString
    if summaryline:
        print summaryline
else:
    print u2d

update.py

Offline

#193 2009-01-09 21:05:53

liquibyte
Member
Registered: 2007-11-11
Posts: 91
Website

Re: conky configs and screenshots!

Have you checked the wiki?  I would specifically search out this on google:

If you have undetectable or unsupported I2C/SMBus adapters, you can have
them scanned by manually loading the modules before running this script.

kaola_linux wrote:

I'm sorry for abbreviating...AA1 stands for Acer Aspire One...:)
I've already installed lmsensors...
Here is the output of my sensors-detect...How can I determine my sensors?:)

[koala@myhost ~]$ sudo sensors-detect
# sensors-detect revision 5337 (2008-09-19 17:05:28 +0200)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): y
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801G ICH7

We will now try to load each adapter module in turn.
Load `i2c-i801' (say NO if built into your kernel)? (YES/no): y
FATAL: Module i2c_i801 not found.
Loading failed... skipping.
If you have undetectable or unsupported I2C/SMBus adapters, you can have
them scanned by manually loading the modules before running this script.

To continue, we need module `i2c-dev' to be loaded.
Do you want to load `i2c-dev' now? (YES/no): y
FATAL: Module i2c_dev not found.
Loading failed, expect problems later on.

We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.

Next adapter: SMBus I801 adapter at 6000 (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Can't open /dev/i2c-0

Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM78-J' at 0x290...     No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'...                   Yes
Found unknown chip with ID 0xfc11
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No
Trying family `ITE'...                                      No

Some south bridges, CPUs or memory controllers may also contain
embedded sensors. Do you want to scan for them? (YES/no): y
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD K10 thermal sensors...                                  No
Intel Core family thermal sensor...                         No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal and voltage sensors...                       No

Sorry, no sensors were detected.
Either your sensors are not supported, or they are connected to an
I2C or SMBus adapter that is not supported. See
http://www.lm-sensors.org/wiki/FAQ/Chapter3 for further information.
If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.

Thanks in advance

Offline

#194 2009-01-15 22:04:57

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: conky configs and screenshots!

Is any songbird script for conky working on arch64?

Offline

#195 2009-01-15 22:49:21

Daisuke_Aramaki
Member
From: ++49/711
Registered: 2008-10-06
Posts: 651
Website

Re: conky configs and screenshots!

liquibyte wrote:

Mine is now a just a little closer to being finished.  I may grey scale it out later on but the colors make it easy to identify certain things once you get used to it.

Those are some pretty colors


"You know what I found? Right in the kernel, in the heart of the operating system, I found a developer's comment that said, `Does this belong here?`" -- Simon Lok about Linux kernel in 2005
Reflections on the Strange and the not so Strange
http://skinwalker.wordpress.com

Offline

#196 2009-01-18 08:19:20

SLKDK
Member
Registered: 2008-08-11
Posts: 61

Re: conky configs and screenshots!

Anyone who can tell me how to show wind speed in m/s? (meter per second) instead of km/h (kilometers per hour).

Can't find a option for that in the conkyforecast.py script. Actually, I just need to dived the wind speed output with 3.6 cause that will turn if into m/s instead of km/h.

Any help?

Offline

#197 2009-01-18 10:39:12

wankel
Member
From: Iowa, USA
Registered: 2008-05-30
Posts: 218
Website

Re: conky configs and screenshots!

SLKDK wrote:

Anyone who can tell me how to show wind speed in m/s? (meter per second) instead of km/h (kilometers per hour).

Can't find a option for that in the conkyforecast.py script. Actually, I just need to dived the wind speed output with 3.6 cause that will turn if into m/s instead of km/h.

Any help?

. Actually, I just need to dived the wind speed output with 3.6 cause that will turn if into m/s instead of km/h.


add "--imperial" after the location of the conkyforecast.py in youre .conkyrc

so for example it would look something like this:

${execpi 1800 python /home/atayh/Linux/Scripts/conkyforecast/conkyForecast.py --location=USIA0211 --datatype=WF --imperial}

Offline

#198 2009-01-18 12:23:17

SLKDK
Member
Registered: 2008-08-11
Posts: 61

Re: conky configs and screenshots!

Will it not just change it from kilometers per hour to miles per hour? And not meters per second?

Offline

#199 2009-01-18 12:45:08

saz
Member
From: Lisbon
Registered: 2008-04-19
Posts: 115

Re: conky configs and screenshots!

hi guys,

can't get my symbol to be centered, it goes to the top right corner....

${font openlogos:size=36}${color 668ABF}${alignc}B

Offline

#200 2009-01-18 14:55:28

sen
Member
From: .de
Registered: 2007-02-18
Posts: 153
Website

Re: conky configs and screenshots!

saz wrote:

hi guys,

can't get my symbol to be centered, it goes to the top right corner....

${font openlogos:size=36}${color 668ABF}${alignc}B

Then try adjusting with ${alignc 20} or so.

Offline

Board footer

Powered by FluxBB