Eccovi gli screenshot (per chi non li avesse visti nel topic):
.conkyrc
Codice: Seleziona tutto
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
use_xft yes
xftfont Monospace:pixelsize=10
own_window_transparent yes
xftalpha 0.8
update_interval 4
own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_color black
default_shade_color grey
default_outline_color black
alignment top_left
gap_x 150
gap_y 0
use_spacer no
no_buffers yes
uppercase no
TEXT
[$nodename - $sysname $kernel on $machine]
|
+--stato
| |
| +--cpu1 - ${cpu cpu1}%, ${color }${cpugraph cpu1 8,60 000000 000000}
| +--cpu2 - ${cpu cpu2}%, ${color }${cpugraph cpu2 8,60 000000 000000}
| +--ram - $mem/$memmax - $memperc%
| +--data - ${time %a,} ${time %B,%e %G}
| +--ora -${time %l:%M}
| +--uptime - $uptime
| +--cpu1 ${exec echo $(cat /sys/class/hwmon/hwmon0/device/temp1_input) / 1000 | bc}C - cpu2 ${exec echo $(cat /sys/class/hwmon/hwmon1/device/temp1_input) / 1000 | bc}C
| +--processi
| +--totali - $processes
| +--in esecuzione - $running_processes
|_:-)Codice: Seleziona tutto
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
use_xft yes
xftfont Monospace:pixelsize=10
own_window_transparent yes
xftalpha 0.8
update_interval 4
own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_color black
default_shade_color grey
default_outline_color black
alignment top_left
gap_x 380
gap_y 90
use_spacer no
no_buffers yes
uppercase no
TEXT
|
|
|
|
|
+--rete
| |
| +--down - ${downspeed eth0} k/s ${downspeedgraph eth0 8,60 000000 000000}
| +--up - ${upspeed eth0} k/s ${upspeedgraph eth0 8,60 000000 000000}
|
+--risorse
| |
| +--/ ${fs_free /}/${fs_size /}
| +--/musica - ${fs_free /media/sda2/Musica}/${fs_size /media/sda2}
| +--swap - $swap/$swapmax
|
|_:-)Codice: Seleziona tutto
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
use_xft yes
xftfont Monospace:pixelsize=10
own_window_transparent yes
xftalpha 0.8
update_interval 4
own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_color black
default_shade_color grey
default_outline_color black
alignment top_left
gap_x 850
gap_y 0
use_spacer no
no_buffers yes
uppercase no
TEXT
|${if_running amarokapp}
|
|
+--amarok
| |
| +--Stai Ascoltando
| |
| +--${execi 10 ~/.conky/amarok artist}
| +--${execi 10 ~/.conky/amarok title}
| ${execibar 1 ~/.conky/amarok progress}
| +--${execi 10 ~/.conky/amarok album}
| +--${execi 10 ~/.conky/amarok year}
| +--${execi 10 ~/.conky/amarok genre}
|
|_:-)
$endifCodice: Seleziona tutto
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
use_xft yes
xftfont Monospace:pixelsize=10
own_window_transparent yes
xftalpha 0.8
update_interval 4
own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_color black
default_shade_color grey
default_outline_color black
alignment top_left
gap_x 1080
gap_y 340
use_spacer no
no_buffers yes
uppercase no
TEXT
|${if_running amarokapp}
|
|
+--amarok
| +--Informazioni Collezione
| |
| +--Artisti: ${execi 10 ~/.conky/amarok totalArtists}
| +--Compilation: ${execi 10 ~/.conky/amarok totalCompilations}
| +--Album: ${execi 10 ~/.conky/amarok totalAlbums}
| +--Traccce: ${execi 10 ~/.conky/amarok totalTracks}
|
|_:-)
$endif
Fate quindi così:
Codice: Seleziona tutto
gedit ~/.conky/amarokAll'interno inserite le seguenti righe:
Codice: Seleziona tutto
#!/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;' ;;
esacCodice: Seleziona tutto
chmod a+x ~/.conky/amarokCodice: Seleziona tutto
conky
conky -c ~/.conkyrc2
conky -c ~/.conkyrc3
conky -c ~/.conkyrc4- Screenlets:
L'orologio, le previsioni del tempo e la copertina dell'album che si sta ascoltando sono screenlets che potete installare inserendo come repository:
per EDGY:
Codice: Seleziona tutto
deb http://hendrik.kaju.pri.ee/ubuntu edgy screenletsCodice: Seleziona tutto
deb http://hendrik.kaju.pri.ee/ubuntu feisty screenletsCodice: Seleziona tutto
wget http://hendrik.kaju.pri.ee/ubuntu/F854AFD7.gpg -O- | sudo apt-key add - && sudo apt-get update
sudo apt-get install screenlets-core screenlets-extra screenlets-utilsPer la musica la screenlet è "Nowplaying"(tema: SimpleOnev2); per l'orologio c'è "Clock"(tema: growth-beyond-clock); infine per le previsioni c'è "Weather"(tema: glassy).
P.s.: per "Now Playing" vi servirà anche il pacchetto python-dcop, che effettua le query al database del vostro player (questa screenlet supporta oltre ad amarok anche Banshee, Exaile, Listen e Rythmbox).
Tutti gli altri sono: Sans
Se manca qualcosa, o in caso di errori non esitate a contattarmi!






