Another Conky Config By M Jaafar Sg Koyan


 The Config..


# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- osman (eosm88@yahoo.com)
#
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer no
# fiddle with window
use_spacer no
use_xft yes
# Update interval in seconds
update_interval 3.0
# Minimum size of text area
# minimum_size 250 5
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font Sans:size=9:weight=bold
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey
own_window_colour brown
own_window_transparent yes
# 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 12
gap_y 12
# stuff after ‘TEXT’ will be formatted on screen
TEXT
$color
${color orange}SYSTEM${hr 2}$color
${color red}${alignc}$sysname ${pre_exec lsb_release -d | cut -f 2| tr "[:upper:]" "[:lower:]"}$color
Machine:${alignr}$nodename
Uptime:${alignr}$uptime
Processes:${alignr}$running_processes/$processes
Kernel:${alignr}$kernel
Battery: ${battery_percent BAT0}% ${alignr}${battery}
${color orange}CPU ${hr 2}$color
${freq}MHz Load: ${loadavg}${alignr}Temp:${acpitemp}
${cpubar 10,300 000000 ffffff}
${cpugraph 10,300 000000 ffffff}
CORE0:
${color grey}${cpugraph cpu1 10,300 00ff0c 00ff0c }
CORE1:
${color grey}${cpugraph cpu2 10,300 00ff0c 00ff0c }
NAME $alignr PID $alignr CPU $alignr MEM
${top name 1} $alignr${top pid 1} $alignr${top cpu 1} $alignr${top mem 1}
${top name 2} $alignr${top pid 2} $alignr${top cpu 2} $alignr${top mem 2}
${top name 3} $alignr${top pid 3} $alignr${top cpu 3} $alignr${top mem 3}
${top name 4} $alignr${top pid 4} $alignr${top cpu 4} $alignr${top mem 4}
${color orange}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 10}$color
Swap: $swapperc% ${swapbar 10}$color
Root: ${fs_free_perc /}% ${fs_bar 10 /}$color
${color orange}TIME ${hr 2}$color
${alignc 59}${font sans-serif:bold:size=26}${time %H:%M:%S}${font}
${alignc}${font sans-serif:bold:size=8}${Time %A %d %b %Y}${font}
${color orange}NETWORK ${hr 2}$color
${if_existing /proc/net/route wlan0}
$alignc ....Wireless....
WAN IP:$alignr${execi 3600 wget -O- http://whatismyip.org/ | tail}
IP address: $alignr ${addr wlan0}
ESSID: $alignr ${wireless_essid wlan0}
Connection quality: $alignr ${wireless_link_qual_perc wlan0}%
Downloads:$alignr${downspeed wlan0}/s
${downspeedgraph wlan0 10,300 F57900 FCAF3E}
Total Downloads:$alignr${totaldown wlan0}
Uploads:$alignr${upspeed wlan0}/s
${upspeedgraph wlan0 10,300 F57900 FCAF3E}
Total Uploads:$alignr${totalup wlan0}
${else}${if_existing /proc/net/route eth1}
$alignc ....Wireless....
WAN IP:$alignr${execi 3600 wget -O- http://whatismyip.org/ | tail}
IP address: $alignr ${addr eth1}
ESSID: $alignr ${wireless_essid eth1}
Connection quality: $alignr ${wireless_link_qual_perc eth1}%
Downloads:$alignr${downspeed eth1}/s
${downspeedgraph eth1 10,300 F57900 FCAF3E}
Total Downloads:$alignr$${totaldown eth1}
Uploads:$alignr${upspeed eth1}/s
${upspeedgraph eth1 10,300 F57900 FCAF3E}
Total Uploads:$alignr${totalup eth1}
${else}${if_existing /proc/net/route eth0}
$alignc ....Cable....
WAN IP:$alignr${execi 3600 wget -O- http://whatismyip.org/ | tail}
IP address: $alignr ${addr eth0}
ESSID: $alignr ${wireless_essid eth0}
Downloads:$alignr${downspeed eth0}/s
${downspeedgraph eth1 10,300 F57900 FCAF3E}
Total Downloads:$alignr${totaldown eth0}
Uploads:$alignr${upspeed eth0}/s
${upspeedgraph eth0 10,300 F57900 FCAF3E}
Total Uploads:$alignr${totalup eth0}
${else}Network Unavailable${endif}

Multiple Windows Conky




You can display multiple different Conky windows, simply create a new .conkyrc file and save it, for example as .conkyrc2, then run:
conky -c .conkyrc2 &
If you want conky to run on start up ( no matter how many conky you got) simply creat a startup_sh config.

#!/bin/bash 

sleep 9

conky -c .conkyrc &

conky -c .conkyrc2 &

conky -c .conkyrc3 & 

conky -c .conkyrc4 &

conky -c .conkyrc5 &

conky -c .conkyrc6 &

Then create an Startup Application. Under System->Preferences
And at command line field.

/bin/sh /home/username/.startconky
make sure you execute the file. Find the file , go to permision and tick the execute box.

Enjoy Conky On StartUp.

Create Your Conky

This is my conky. Belows are the config.


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 200 200
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
TEXT
${font sans-serif:bold:size=8}${color yellow}SYSTEM ${hr 2}$color
$sysname $kernel $alignr $machine
Host:$alignr$nodename
AMD Athlon 64 X2 $alignr${freq_g cpu0}Ghz
Uptime:$alignr$uptime
File System: $alignr${fs_type}
Battery:$alignr${battery}${battery_percent}%
${font sans-serif:bold:size=8}${color yellow}DATE ${hr 2}$color
${alignc 59}${font sans-serif:bold:size=26}${time %H:%M:%S}${font}
${alignc}${font sans-serif:bold:size=8}${Time %A %m %d %Y}
${font sans-serif:bold:size=8}${color yellow}PROCESSORS ${hr 2}$color
CPU1: ${cpu cpu1}% ${cpubar cpu1}
RAM:      ${alignc} $mem / $memmax $alignr $memperc%
SYSTEM: $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
SWAP:    $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${font sans-serif:bold:size=8}${color yellow}TEMPERATURE ${hr 2}$color
PCI adapter Temperature:$alignr${hwmon 1 temp 1} ${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
V. device Temperature:$alignr${acpitemp} ${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
HDA Temperature:$alignr${hddtemp} ${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
${font sans-serif:bold:size=8}${color yellow}TOP PROCESSES ${hr 2}$color
${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
${top_mem name 3}${alignr}${top mem 3} %
${top_mem name 4}${alignr}${top mem 4} %
${top_mem name 5}${alignr}${top mem 5} %
${font sans-serif:bold:size=8}${color yellow}WEATHER ${hr 2}$color
Update: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK last_update - }
Weather: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK weather - }
Temperature: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK temperature}${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
Cloud: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK cloud_cover -}
Humidity: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK humidity}%
Preasure: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK pressure -}hPa
Wind: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK wind_speed}km/h
Wind Direction: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK wind_dir}
Wind Direction: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ WMKK wind_dir_DEG}${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}
${font sans-serif:bold:size=8}${color yellow}NETWORK ${hr 2}$color${if_existing /proc/net/route wlan0}$
$alignc ....Wireless....
WAN IP:$alignr${execi 3600 wget -O- http://whatismyip.org/ | tail}
IP address: $alignr ${addr wlan0}
ESSID: $alignr ${wireless_essid wlan0}
Connection quality: $alignr ${wireless_link_qual_perc wlan0}%
Downloads:$alignr${downspeed wlan0}/s
${downspeedgraph wlan0 8,200 F57900 FCAF3E}
Total Downloads:$alignr${totaldown wlan0}
Uploads:$alignr${upspeed wlan0}/s
${upspeedgraph wlan0 8,200 F57900 FCAF3E}
Total Uploads:$alignr${totalup wlan0}
${else}${if_existing /proc/net/route eth1}
$alignc ....Wireless....
WAN IP:$alignr${execi 3600 wget -O- http://whatismyip.org/ | tail}
IP address: $alignr ${addr eth1}
ESSID: $alignr ${wireless_essid eth1}
Connection quality: $alignr ${wireless_link_qual_perc eth1}%
Downloads:$alignr${downspeed eth1}/s
${downspeedgraph eth1 8,200 F57900 FCAF3E}
Total Downloads:$alignr$${totaldown eth1}
Uploads:$alignr${upspeed eth1}/s
${upspeedgraph eth1 8,200 F57900 FCAF3E}
Total Uploads:$alignr${totalup eth1}
${else}${if_existing /proc/net/route eth0}
$alignc ....Cable....
WAN IP:$alignr${execi 3600 wget -O- http://whatismyip.org/ | tail}
IP address: $alignr ${addr eth0}
ESSID: $alignr ${wireless_essid eth0}
Connection quality: $alignr ${wireless_link_qual_perc eth0}%
Downloads:$alignr${downspeed eth0}/s
${downspeedgraph eth1 8,200 F57900 FCAF3E}
Total Downloads:$alignr$${totaldown eth0}
Uploads:$alignr${upspeed eth0}/s
${upspeedgraph eth0 8,200 F57900 FCAF3E}
Total Uploads:$alignr${totalup eth0}
${else}${font sans-serif:bold:size=8}${font}Network Unavailable${endif}
For our refference only
Conky lua config base to conky Lucid

# Default Font.
use_xft yes
xftfont Droid Sans:size=9
override_utf8_locale yes

# Performance Settings.
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 2
text_buffer_size 1024

# Windows Configuration.
own_window_class conky
own_window yes
own_window_type conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes

# Border.
draw_borders no
border_margin 1

# Default background color of the window
own_window_colour 393834

# Default Color.
default_color B7B2AD
#default_color EFEEED

# Draw Framework.
draw_shades no

# Colors.
color0 DD3A21

# Dimension minimum size.
minimum_size 1440 0

# Position of Conky.
alignment bottom_left
gap_x 63
gap_y 0

# Texto
TEXT
${image ~/.conky/pix/frame.png -p 0,0 -s 1280x180}
${voffset 20}${font Droid Sans:style=Bold:size=12}${color0}${goto 256}FileSystem:${goto 512}LAN Network:${goto 768}Wireless Network:${goto 1024}Date:${font}${color}
${voffset 6}${goto 256}System (/):${goto 380}${fs_used /} / ${fs_size /}${goto 512}Up Speed: ${goto 612}${upspeedgraph eth0 10,100 B7B2AD B7B2AD}${font Droid Sans:style=Bold:size=9}  ${upspeed eth0}${font}${goto 768}${goto 768}Up Speed: ${goto 868}${upspeedgraph wlan0 10,100 B7B2AD B7B2AD}${font Droid Sans:style=Bold:size=9} ${upspeed wlan0}${font}${goto 1024}${time %I:%M:%S %p}
${goto 15}Kernel: ${goto 100}${kernel}${goto 380}${fs_bar 10,100 /}${goto 512}Down Speed: ${goto 612}${downspeedgraph eth0 10,100 B7B2AD B7B2AD}${font Droid Sans:style=Bold:size=9}  ${downspeed eth0}${font}${goto 768}${goto 768}Down Speed: ${goto 868}${downspeedgraph wlan0 10,100 B7B2AD B7B2AD}${font Droid Sans:style=Bold:size=9}  ${downspeed wlan0}${font}${goto 768}${goto 1024}${time %A}, ${time %d} ${time %B} ${time %Y}
${goto 15}CPU: ${goto 100}${cpubar cpu1 10,100}${font Droid Sans:style=Bold:size=9}  ${cpu cpu1}%${font}${goto 256}User (/Home):${goto 380}${fs_free /home} / ${fs_size /home}${goto 512}Total Sent: ${goto 612}${totalup eth0}${goto 768}Total Sent: ${goto 868}${totalup wlan0}
${goto 15}RAM: ${goto 100}${membar 10,100}${font Droid Sans:style=Bold:size=9}  $memperc%${font}${goto 380}${fs_bar 10,100 /home}${goto 512}Total Received: ${goto 612}${totaldown eth0}${goto 768}Total Received: ${goto 868}${totaldown wlan0}
${goto 15}SWAP:${goto 100}${swapbar 10,100}${font Droid Sans:style=Bold:size=9}  $swapperc%${font}${goto 512}IP Address: ${goto 612}${addr eth0}${goto 768}IP Address: ${goto 868}${addr wlan0}
${goto 15}UpTime: ${goto 100}${uptime}${goto 512}

* thanks to Noobslab

Install SopCast Web TV player with VLC1.1.x problem fixed in Ubuntu 10.10 Maverick

SopCast is a good on-line TV player on Ubuntu Linux,but it doesn’t start in Ubuntu with VLC 1.1.x version installed.
Fortunately,a new SopCast PPA created by Roberto @ LFFL fixed the problem,and you can easily get the SopCast Web TV player work again by installing SopCast from ppa:ferramroberto/sopcast.
Open a terminal window from Applications -> Accessories menu,run following commands to add PPA and install SopCast:

sudo add-apt-repository ppa:ferramroberto/sopcast
sudo apt-get update
sudo apt-get install sopcast-player
After that,launch SopCast from Applications -> Sound & Vedio -> SopCast Player.Navigate to Edit -> Preferences,under Media Player check “Use External Player” and type vlc in command box.(Make sure vlc media player installed first)


Now,search your favourate sop TV addresses on the web and watch via File -> Open


source http://ubuntuguide.net/install-sopcast-web-tv-player-with-vlc1-1-x-problem-fixed-in-ubuntu-10-10-maverick

SopCast Runner

SopCast Runner is ruby command line script for running streaming video in external player

Install
For Ubuntu Maverick 10.10:
add ppa repository
sudo add-apt-repository ppa:sabotatore/sopcast
install sopcast-runner package
sudo apt-get update && sudo apt-get install sopcast-runner 

USAGE
sopcast-runner [ChannelURL]
or
sopcast-runner [ChannelId] 

INTEGRATE
Integrate with Gnome browsers, such as Firefox or Google Chrome
gconftool-2 -s /desktop/gnome/url-handlers/sop/command '/usr/bin/sopcast-runner %s' --type String
gconftool-2 -s /desktop/gnome/url-handlers/sop/enabled --type Boolean true

CONFIG
You can change default player
sudo gedit /etc/sopcast_runner/sopcast_runner.conf

Find Us On Facebook

Related Posts Plugin for WordPress, Blogger... Linux Directory