Re: Post your .conkyrc files w/ screenshots
Here's mine. Simple.
Code:
#Simple n' clean mail and music conky
#avoid flicker
double_buffer yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent no
own_window_type desktop
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
#borders
draw_borders no
border_margin 1
#shades
draw_shades no
#position
gap_x 5
gap_y 12
alignment top_left
#behaviour
update_interval 1
#colour
default_color 000000
#default_shade_color 000000
own_window_colour FFFFFF
#font
use_xft yes
xftfont HELDUSTRYFTVBASIC:pixelsize=11
#to prevent window from moving
use_spacer no
minimum_size 140 17
#mpd
mpd_host localhost
mpd_port 6600
TEXT
${voffset 1} email: ${color D8746E}${execi 100 python ~/scripts/gmail.py} ${color} | ${color} mpd: ${color D8746E}${font}${mpd_smart}
http://img112.imageshack.us/img112/5...768syk0.th.png
Re: Post your .conkyrc files w/ screenshots
Hey all....
can u help me with little problem?
my conky isnt succeed to monitor the network uses, meaning all stay 0...
this is my script:
Code:
# 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
#
# -- Pengo (conky@pengo.us)
#
# 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) insert this (double_buffer yes)
# fiddle with window
use_spacer yes
use_xft no
# Update interval in seconds
update_interval 2.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
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 grey90
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 10
gap_y 20
# stuff after 'TEXT' will be formatted on screen
TEXT
$color
${color steel blue}SYSTEM ${hr 2}$color
Computer Name: $nodename
Operating System: Ubuntu $sysname 7.0.4 fiesty fox
Kernel: $kernel Uptime: ${uptime}
${color steel blue}CPU ${hr 2}$color
Intel centrino ${freq}MHz
Load: ${loadavg} Temp: ${acpitemp}
Processes: ${processes} Running: ${running_processes}
CPU: ${cpu 0}% ${cpubar 6}
${cpugraph 000000 ffffff}
NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color steel blue}MEMORY ${hr 2}$color
RAM: $memperc% ${membar 6}$color
${mem} / ${memmax}
NAME PID CPU% MEM%
${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color steel blue}DISK ${hr 2}$color
Main HD: ${fs_used_perc /}% ${fs_bar 6 /}$color
${fs_used /} / ${fs_size /}
${color steel blue}NETWORK (${addr eth1}) ${hr 2}$color
Down: $color${downspeed eth1} k/s ${alignr}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 25,140 000000 ff0000} ${alignr}${upspeedgraph eth1
25,140 000000 0000ff}$color
Total: ${totaldown eth1} ${alignr}Total: ${totalup eth1}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
${color steel blue}FORTUNE ${hr 2}$color
${execi 3600 fortune -s | fold -w50}
${color steel blue}WEATHER ${hr 2}$color
${execi 1800 /home/michael/Scripts/weather/weather.sh}
${color steel blue}NEWS ${hr 2}$color
${execi 600 curl -s http://digg.com/rss/index.xml | grep title | sed 's/<\/title>/ /' | sed 's/<title>/ /' | sed 5q}
I connected to the internet with simple home network(only cable) on the other computer installed win xp + the modem...
some clue how it should work??
Re: Post your .conkyrc files w/ screenshots
chacham,
You may want to try replacing "eth1" with "eth0" in your .conkyrc.
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
herbster
chacham,
You may want to try replacing "eth1" with "eth0" in your .conkyrc.
yep u true... I feel stupid :confused:
I have another problem:
Its look like every time it refresh it doesnt update it make "one more layer of conky" and put it one over the older... so nothing is clear...
It make any sense to anyone??
+++++++++++++++++++++
I find out why but didnt succeed to solve...
it all because of beryl...
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
corney91
You could try $alignl for the name and $alignr on the MEM.
I have the PID CPU and MEM aligned right and the proc name aligned left.. but I dont want my conky super wide. So everything is aligned correctly until I get a proc name thats really long.
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
ksamvel
Screen Bottom aligned system stats with Amarok track info support
.conkyrc
Code:
# Use Desktop
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Draw shades?
draw_shades no
# Update interval in seconds
update_interval 3.0
# Default colors and also border colors, grey90 == #e5e5e5
default_color black
# Text alignment
alignment bottom_left
# Gap between borders of screen and text
gap_y 30
# Minimum size of text area
minimum_size 1380
TEXT
${stippled_hr}
${color}Hello ${exec whoami}. Today is ${color darkred}${time %A %d %B %k:%M:%S}${alignr}${color red}${sysname}${color} - ${color red}${kernel}${color} on ${color red}${machine}${color white} | ${alignr}${color red}${nodename} ${color}at ${color blue}${addr eth1} ${color white} | ${color}Wireless ${color blue}${linkstatus eth1}${color}%${color white} | ${color}In: ${color blue}${upspeed eth1}${color}k/s Out: ${color blue}${downspeed eth1}${color}k/s
${alignr}${color}CPU: ${color blue}${cpu cpu0}${color}%${color darkgrey} ${cpubar cpu0 5, 100} ${color white} | ${color}Mem: ${color blue}${mem}${color darkgrey} ${membar 5, 100} ${color blue}${memmax}${color white} | ${color}Swap: ${color blue}${swap}${color darkgrey} ${swapbar 5, 100} ${color blue}${swapmax}${color white} | ${color darkgreen}/ ${color blue}${fs_free /} ${color darkgray}${fs_bar 5, 100 /} ${color blue}${fs_size /}${color white} | ${color darkgreen}/home ${color blue}${fs_free /home} ${color darkgray}${fs_bar 5, 100 /home} ${color blue}${fs_size /home}
${stippled_hr}
${if_running amarokapp}${color}Artist: ${color blue}${execi 10 ~/.conky/amarok.sh artist}${color white} | ${color}Album: ${color blue}${execi 10 ~/.conky/amarok.sh album}${color white} | ${color}Title: ${color blue}${execi 10 ~/.conky/amarok.sh title}${else}Amarok is not running${endif}
amarok.sh
[
Hint: should be placed into ~/.conky/ otherwise change script path in .conkyrc]
[
Note: Script was originally written by someone else in current post several pages above (don't remember now the author).]
Code:
#! /usr/bin/env bash
# amaroK info display script by eirc <eirc.eirc@gmail.com>
case "$1" in
# Now Playing Info
artist) dcop amarok player artist ;;
title) dcop amarok player title ;;
album) dcop amarok player album ;;
year) dcop amarok player year ;;
genre) dcop amarok player genre ;;
progress)
curr=`dcop amarok player trackCurrentTime`
tot=`dcop amarok player trackTotalTime`
if (( $tot )); then
expr $curr \* 100 / $tot
fi
;;
esac
I'd like to add (this is mentioned earlier too) that ubuntu/gnome-users have to alter the "Use Desktop" -section from
to
Code:
own_window yes
#own_window_type override #seen on top of evry window
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
The own_window_type override is commented here because I don't want conky to be seen on top of every window..
Anyways, thanks to ksamvel for the rc, it's great!
Edit: I took the desktop edit from some previous post, don't remember where.
Re: Post your .conkyrc files w/ screenshots
hey I have some probleme with amarok and conky..
I installed amarok + mysql and it seems to working (there is a way to check if it working right??)
and update
.conkyrc:
Code:
# 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
#
# -- Pengo (conky@pengo.us)
#
# 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) insert this (double_buffer yes)
double_buffer yes
# Create own window instead of using desktop (required in nautilus)
#own_window no
own_window yes
own_window_type override
own_window_transparent 1
# fiddle with window
use_spacer yes
use_xft no
# Update interval in seconds
update_interval 2.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
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 grey90
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 10
gap_y 20
# stuff after 'TEXT' will be formatted on screen
TEXT
$color
${color steel blue}SYSTEM ${hr 2}$color
Computer Name: $nodename
Operating System: Ubuntu $sysname 7.0.4 fiesty fox
Kernel: $kernel Uptime: ${uptime}
${color steel blue}CPU ${hr 2}$color
Intel centrino ${freq}MHz
Load: ${loadavg} Temp: ${acpitemp}
Processes: ${processes} Running: ${running_processes}
CPU: ${cpu 0}% ${cpubar 6}
${cpugraph 000000 ffffff}
NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color steel blue}MEMORY ${hr 2}$color
RAM: $memperc% ${membar 6}$color
${mem} / ${memmax}
NAME PID CPU% MEM%
${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color steel blue}DISK ${hr 2}$color
Main HD: ${fs_used_perc /}% ${fs_bar 6 /}$color
${fs_used /} / ${fs_size /}
${color steel blue}NETWORK (${addr eth0}) ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 0000ff}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
${color steel blue}FORTUNE ${hr 2}$color
${execi 3600 fortune -s | fold -w50}
amarok:
Code:
#!/bin/bash
# amaroK info display script by eirc <eirc.eirc@gmail.com>
#
# requirements: amaroK (!)
# for Collection stats to work amarok must be using
# mySQL to store it's collection
case "$1" in
# Now Playing Info
artist) dcop amarok player artist ;;
title) dcop amarok player title ;;
album) dcop amarok player album ;;
year) dcop amarok player year ;;
genre) dcop amarok player genre ;;
progress)
curr=`dcop amarok player trackCurrentTime`
tot=`dcop amarok player trackTotalTime`
if (( $tot )); then
expr $curr \* 100 / $tot
fi
;;
# Collection Info
totalArtists) dcop amarok collection totalArtists ;;
totalAlbums) dcop amarok collection totalAlbums ;;
totalTracks) dcop amarok collection totalTracks ;;
totalGenres) dcop amarok collection totalGenres ;;
totalCompilations) dcop amarok collection totalCompilations ;;
# Collection Stats
most_songs_by_artist) dcop amarok collection query 'SELECT t1.name FROM artist t1 INNER JOIN tags t2 ON t1.id = t2.artist GROUP BY t2.artist ORDER BY COUNT(t2.artist) DESC LIMIT 1;' ;;
most_songs_by_artist_n) dcop amarok collection query 'SELECT count(t2.artist) FROM artist t1 INNER JOIN tags t2 ON t1.id = t2.artist GROUP BY t2.artist ORDER BY COUNT(t2.artist) DESC LIMIT 1;' ;;
most_songs_are_genre) dcop amarok collection query 'SELECT t1.name FROM genre t1 INNER JOIN tags t2 ON t1.id = t2.genre GROUP BY t2.genre ORDER BY COUNT(t2.genre) DESC LIMIT 1;' ;;
most_songs_are_genre_n) dcop amarok collection query 'SELECT count(t2.genre) FROM genre t1 INNER JOIN tags t2 ON t1.id = t2.genre GROUP BY t2.genre ORDER BY COUNT(t2.genre) DESC LIMIT 1;' ;;
most_songs_during_year) dcop amarok collection query 'SELECT t1.name FROM year t1 INNER JOIN tags t2 ON t1.id = t2.year GROUP BY t2.year ORDER BY COUNT(t2.year) DESC LIMIT 1;' ;;
most_songs_during_year_n) dcop amarok collection query 'SELECT count(t2.year) FROM year t1 INNER JOIN tags t2 ON t1.id = t2.year GROUP BY t2.year ORDER BY COUNT(t2.year) DESC LIMIT 1;' ;;
most_albums_by_artist) dcop amarok collection query 'SELECT name FROM artist WHERE id=(SELECT t1.artist from (SELECT artist FROM tags GROUP BY album) AS t1 GROUP BY t1.artist ORDER BY count(artist) DESC LIMIT 1);' ;;
most_albums_by_artist_n) dcop amarok collection query 'SELECT count(artist) from (SELECT artist FROM tags GROUP BY album) AS t1 GROUP BY t1.artist ORDER BY count(artist) DESC LIMIT 1;' ;;
most_albums_are_genre) dcop amarok collection query 'SELECT name FROM genre WHERE id=(SELECT t1.genre from (SELECT genre FROM tags GROUP BY album) AS t1 GROUP BY t1.genre ORDER BY count(genre) DESC LIMIT 1);' ;;
most_albums_are_genre_n) dcop amarok collection query 'SELECT count(genre) from (SELECT genre FROM tags GROUP BY album) AS t1 GROUP BY t1.genre ORDER BY count(genre) DESC LIMIT 1;' ;;
most_albums_during_year) dcop amarok collection query 'SELECT name FROM year WHERE id=(SELECT t1.year from (SELECT year FROM tags GROUP BY album) AS t1 GROUP BY t1.year ORDER BY count(year) DESC LIMIT 1);' ;;
most_albums_during_year_n) dcop amarok collection query 'SELECT count(year) from (SELECT year FROM tags GROUP BY album) AS t1 GROUP BY t1.year ORDER BY count(year) DESC LIMIT 1;' ;;
esac
I really dont get it where is my probleme??
I think it with mysql but amarok dont give any error (I set the Collection Database to Mysql with user and pass...)
maybe I need to start the sql some how???
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by I really dont get it where is my probleme??
I think it with mysql but amarok dont give any error (I set the Collection Database to Mysql with user and pass...)
maybe I need to start the sql some how???
I really dont get it where is my probleme??
I think it with mysql but amarok dont give any error (I set the Collection Database to Mysql with user and pass...)
maybe I need to start the sql some how???
you dont call amarok in .conkyrc, so, it dont show in screen, for example, i use this:
Code:
${color #0077ff}${alignc}Amarok
${color #CC6600}${alignc}${execi 10 dcop amarok player artist}
${execi 10 dcop amarok player album} ${alignr}${execi 10 dcop amarok player year}
${execi 10 dcop amarok player title}
${execi 5 dcop amarok player currentTime}/${execi 10 dcop amarok player totalTime} ${execibar 1 ~/configuracion/amarok.sh progress}
${color #CC6600}Bitrate:${execi 10 dcop amarok player bitrate}kbps${alignr}Vol:${execi 10 dcop amarok player getVolume}%
with this amarok.sh, only necessary for me for the status bar
Code:
case "$1" in
# % progress
progress)
stat=`dcop amarok player status`
if (( $stat == 1 )); then
expr 100
else
curr=`dcop amarok player trackCurrentTime`
tot=`dcop amarok player trackTotalTime`
if (( $tot )); then
expr $curr \* 100 / $tot
fi
fi
;;
esac
And here the result:
http://img209.imageshack.us/img209/6...tallazorx3.png
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
chacham23
yep u true... I feel stupid :confused:
I have another problem:
Its look like every time it refresh it doesnt update it make "one more layer of conky" and put it one over the older... so nothing is clear...
It make any sense to anyone??
+++++++++++++++++++++
I find out why but didnt succeed to solve...
it all because of beryl...
In terminal:
Code:
sudo gedit /etc/X11/xorg.conf
Look for:
and make sure this line is in the section:
Then logout and log back in, should work.
1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
I wrote a howto to have a live terminal in your desktop that looks and behaves like a conky:
HOWTO: Put a conky'esque shell on your desktop (requires Compiz-Fusion)