Re: Posta il tuo conkyrc & .png
Inviato: venerdì 5 giugno 2009, 12:47
@nuker : si 104% perche' la batteria e' attaccata alla rete,e' un difetto conosciuto della serie Tecra della toshiba (bad)
Il forum della comunità italiana di Ubuntu.
https://forum.ubuntu-it.org/

Ho fatto e tutto ok, solo che mi dice di editare il file con i dati di login, che io ho fatto ma continua a dirmeloLicaoNesSs ha scritto:come al solitosixx ha scritto: Scusate, come faccio a far funzionare questo script http://briancarper.net/page/conky per la posta con protocollo IMAP?
Come lo inserisco nel .conkyrc?
Grazie.
primarendilo eseguibile con:Codice: Seleziona tutto
${execi 300 /percorso/script/check_mail.rb}Codice: Seleziona tutto
chmod +x check_mail.rb}
se usi lmsensors, puoi usare come base il mio script, fargli eseguire lmsensors stesso, dare in pasto il risultato a python e sparare come output ${color quellocheè} in base alla temperatura.. non ho mai usato lmsensors, ma potrebbe essere una cosa simile:LicaoNesSs ha scritto: stavo pensando di fare uno scriptino per cambiare le gradazioni di colore della temperatura in base al calore raggiunto.
1-esiste gia una cosa del genere?
2-è fattibile?
tipo sotto i 50 blu, dai 50 in su arancione, dai 70 rosso
Codice: Seleziona tutto
#!bin/bash
temp=$(lmsensors) #non so il comando da usare per far andare lmsensors, nel caso modificalo
res=$(echo "if ($temp<50):
print('${color #0000FF}')
elif ($temp>=50 and $temp<60): print('${color #FFA50}')
else: print('${color #FF0000}')" | python)
echo "$res"streetcross ha scritto: questo topic è per postare i propri conky, puoi prendere spunto da quelli, se vuoi aiuto apri un topic a parte altrimenti a suon di ot i mod chiudono la discussione
Codice: Seleziona tutto
# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# $Id: conky.conf 1193 2008-06-21 20:37:58Z ngarofil $
alignment bottom_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
font 6x10
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type normal
stippled_borders 0
update_interval 3.0
uppercase no
use_spacer no
show_graph_scale no
show_graph_range no
TEXT
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
/ $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
$hr
${color grey}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
Codice: Seleziona tutto
python: can't open file '/home/jaunty/Conky/scripts/EN_Forecast.py': [Errno 2] No such file or directory
python: can't open file '/home/jaunty/Conky/scripts/EN_Forecast.py': [Errno 2] No such file or directory
python: can't open file '/home/jaunty/Conky/scripts/EN_Forecast.py': [Errno 2] No such file or directory
python: can't open file '/home/jaunty/Conky/scripts/EN_Forecast.py': [Errno 2] No such file or directory
python: can't open file '/home/jaunty/Conky/scripts/EN_Forecast.py': [Errno 2] No such file or directory
python: can't open file '/home/jaunty/Conky/scripts/EN_Forecast.py': [Errno 2] No such file or directory
python: can't open file '/home/jaunty/Conky/scripts/EN_Forecast.py': [Errno 2] No such file or directory
python: can't open file '/home/jaunty/Conky/scripts/EN_Forecast.py': [Errno 2] No such file or directory
Secondo me non va con l'account di alice, sennò non c'è verso.sixx ha scritto: Scusate, come faccio a far funzionare questo script http://briancarper.net/page/conky per la posta con protocollo IMAP?
Come lo inserisco nel .conkyrc?
Grazie.
Secondo me non va con l'account di alice, sennò non c'è verso.
Codice: Seleziona tutto
background yes
font Snap.se:size=8
xftfont Snap.se:size=8
use_xft yes
xftalpha 0.1
update_interval 1.0
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
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 206 5
maximum_width 206
default_color ffffff
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 6
gap_y 22
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
uppercase no # set to yes if you want all text to be in uppercase
use_spacer no
TEXT
${font LCD:style=Bold:pixelsize=56}${alignc}${time %H:%M:%S}${font Snap.se:size=8}
${font Aerial:style=Bold:pixelsize=12}SYSTEM${font Snap.se:size=8} ${hr 1 }
Hostname: $alignr$nodename
Kernel: $alignr$kernel
Uptime: $alignr$uptime
Processes: ${alignr}$processes ($running_processes running)
Load: ${alignr}$loadavg
CPU ${alignc} ${freq}MHz / ${acpitemp}C ${alignr}(${cpu cpu1}%)
${cpubar 4 cpu1}
${cpugraph cccccc ffffff}
RAM ${alignr}$mem / $memmax ($memperc%)
${membar 4}
SWAP ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}
Highest CPU $alignr CPU% MEM%
${hr 1}
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}
Highest MEM $alignr CPU% MEM%
${hr 1}
${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}
${font Aerial:style=Bold:pixelsize=12}FILESYSTEM ${font Snap.se:size=8}${hr 1}
Root: ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
Home: ${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 4 /home}
Storage: ${alignr}${fs_free /media/hdc4} / ${fs_size /media/hdc4}
${fs_bar 4 /media/hdc4}
${font Aerial:style=Bold:pixelsize=12}NETWORK ${font Snap.se:size=8}${hr 1}
Down ${downspeed ttyS0} k/s ${alignr}Up ${upspeed ttyS0} k/s
${downspeedgraph ttyS0 25,107 cccccc ffffff} ${alignr}${upspeedgraph ttyS0 25,107 cccccc ffffff}
Total ${totaldown ttyS0} ${alignr}Total ${totalup ttyS0}
Cattura schermata - Cattura un'area selezionatasixx ha scritto:
P.S. Come si fa a catturare la schermata del solo conky?
Io ho jaunty, va bhe cattura la scrivania, poi con gimp tagli la parte che non ti interessa...sixx ha scritto: Su intrepid non c'è la terza opzione, maremma nemmeno postare il conky posso, non me ne va bene una.
Con alt+stamp mi fa la scrivania, boh.
Da terminaleNik0 ha scritto: ragazzi ho installato il conky seguendo questa guida...
Naturalmente per Hardy Heron, ma.. Come faccio ad avviarlo?
Codice: Seleziona tutto
conky &