Auteur Sujet: Conky Scripts + Photos  (Lu 35857 fois)

0 Membres et 1 Invité sur ce sujet

djohnston

  • Invité
Re : Conky Scripts + Photos
« Réponse #15 le: 23 mars 2013 à 07:17:14 »
Patrick,

Is that the standard Scorpio conky, or did you modify it?

Hors ligne patrick013

  • Membre Senior
  • ****
  • Messages: 252
Re : Re : Conky Scripts + Photos
« Réponse #16 le: 23 mars 2013 à 07:29:15 »
Patrick,

Is that the standard Scorpio conky, or did you modify it?

I put Taco's conky on the top of my conky.
Each computer is different so I don't think it'll
ever be a standard Scorpio conky.   hwmon's
all have different numbers and so forth.

regards,

patrick

djohnston

  • Invité
Re : Re : Conky Scripts + Photos
« Réponse #17 le: 23 mars 2013 à 20:07:52 »
Have to clean up the script if anyone wants it.

Why not post it? You've already posted a screenshot. Might as well have the code to go along with it.  ;)

konaexpress

  • Invité
Re : Conky Scripts + Photos
« Réponse #18 le: 24 mars 2013 à 01:20:28 »
Yep, post it up bud......

Hors ligne patrick013

  • Membre Senior
  • ****
  • Messages: 252
Re : Re : Conky Scripts + Photos
« Réponse #19 le: 24 mars 2013 à 02:19:04 »
Yep, post it up bud......

Took out about 30 lines of commented out unused lines.


    # set to yes if you want Conky to be forked in the background
    background yes
    use_xft yes
    xftfont sans:size=8
    xftalpha 0.5
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 500 5
    maximum_width 180
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
   
    default_color white
    default_shade_color red
    default_outline_color grey
    alignment top_right
    gap_x 24
    gap_y 48
    no_buffers yes
    uppercase no
    cpu_avg_samples 1
    override_utf8_locale no

    TEXT
    ${alignc 8}${font sans:size=15}Scorpio${font}
    ${alignc 28}${font sans:size=20}Openbox${font}
   
    ${alignc}${font sans:size=13}${time %H:%M:%S}${font}
    ${alignc -10}${Time %A %m %d %Y}
   
    ${font sans:size=10}Paris ${alignr}${tztime Europe/Paris %H:%M:%S}${font}
    ${font sans:size=10}Tokyo ${alignr}${tztime Asia/Tokyo %H:%M:%S}${font}
    ${font sans:size=10}New York ${alignr}${tztime America/New_York %H:%M:%S}${font}
    ${font sans:size=10}LA ${alignr}${tztime America/Los_Angeles %H:%M:%S}${font}
       
    ${image ~/.conky/computer.png -p 65,108 -s 64x64}       
    ${font sans:size=8}$alignc${color tan2}$kernel
    ${color white}$hr
    ${color tan}${cpubar 10,0}
    ${color grey}CPU Usage:$alignr${color tan}$cpu %
    ${color grey}CPU Temp:$alignr${color tan}${hwmon 2 temp 2}  C
    ${color grey}Sys Temp:$alignr${color tan}${hwmon 0 temp 1}  C
    ${color grey}Fan:$alignr${color tan}${hwmon 1 fan 1}  rpm
    ${color white}$hr
    ${color grey}RAM Usage:${alignr}${color tan}$memperc %
    ${color grey}Total RAM:$alignr${color tan}$memmax
    ${color grey}SWAP Usage:${alignr}${color tan}$swapperc %
    ${color grey}Tot SWAP:$alignr${color tan}$swapmax
    ${color white}$hr
    ${color grey}HD usage:${alignr}${color tan}${fs_used_perc /} %
    ${color grey}Total HD:$alignr${color tan}${fs_size /}
    ${color grey}HD Temp${alignr}${color tan}${execi 60 hddtemp -n /dev/sda} C
    ${color white}$hr
    ${color grey}Network:${color lightblue}$alignr${downspeed eth0}
    ${color white}$hr
    ${color grey}Uptime:${color DarkOrange1}${alignr}$uptime_short


djohnston

  • Invité
Re : Conky Scripts + Photos
« Réponse #20 le: 24 mars 2013 à 03:39:25 »
Cool. Now I'm gonna steal it and file a copyright on it. If you continue to use it, I'll sue.  :D  ;D

Hors ligne patrick013

  • Membre Senior
  • ****
  • Messages: 252
Re : Re : Conky Scripts + Photos
« Réponse #21 le: 24 mars 2013 à 20:18:15 »
Cool. Now I'm gonna steal it and file a copyright on it. If you continue to use it, I'll sue.  :D  ;D

You'll never get the codecs, they're still binary.         :D

Hors ligne patrick013

  • Membre Senior
  • ****
  • Messages: 252
Re : Re : Re : Conky Scripts + Photos
« Réponse #22 le: 10 avril 2013 à 20:50:00 »
Seriously....... I do like having all of that info on the screen.   I have noticed that some distros have it and others do not.  Personal preference I guess.

Glad you liked it.   Not too big and not too small hopefully.
After many years sometime the fan burns out so that is
nice to check on once in awhile.

regards,

Patrick

Hors ligne Slystone

  • Néophyte
  • *
  • Messages: 39
    • Slystone's blog
Re : Conky Scripts + Photos
« Réponse #23 le: 10 avril 2013 à 23:47:28 »
Why not make a screenshot of the whole desktop so we can have a look at the wall and other stuff?
Otherwise I'll post my own sometimes later.

Here's an old one (but I still use this template) : http://en.zimagez.com/zimage/screenshot488.php#
And here's the code:
background        no
update_interval        1.0
double_buffer        yes

use_xft            yes
override_utf8_locale
xftfont            Sans:size=8
xftalpha        0.8

own_window        yes
own_window_transparent    yes
own_window_type        override
own_window_hints    undecorated,below,sticky,skip_taskbar,skip_pager
#on_bottom        yes

minimum_size        280 5
maximum_width 240
draw_shades        no
draw_outline        no
draw_borders        no
draw_graph_borders    no
stippled_borders    0
border_margin        6
border_width        0

default_color        505050
default_shade_color    black
default_outline_color    white
color1        505050
color2        8BAEE8

alignment top_right
gap_x            6
gap_y            20

no_buffers        yes

TEXT
${color1}Utilisateur :$color ${exec whoami}
${color1}Kernel : $color$kernel
$stippled_hr
${color1}Uptime : $color$uptime ${alignr}${color1}Load : $color$loadavg
${color1}CPU : $color${freq}MHz / $cpu% ${color2}${cpubar}
$color${cpugraph FFFFFF 81A1D3}
${color1}Mémoire RAM : $color$mem / $memmax
     $memperc % ${color2}${membar}
${color1}Utilisation du Swap : $color$swap / $swapmax
     $swapperc %  ${color2}${swapbar}
${color1}Batterie : $color${battery_percent BAT1} % ${color2}${battery_bar BAT1}
${color1}Processus : $color$processes ${color1}En cours : $color$running_processes
$stippled_hr
${color1}Disque dur : $color${exec hddtemp -n /dev/sda}°C ${alignr}${color1}Activité : $color${diskio /dev/sda}/s
${color1}Système   : $color${fs_used /} / ${fs_size /}
     $color${fs_used_perc /}% ${color2}${fs_bar /}
${color1}Images  : $color${fs_used /media/Images} / ${fs_size /media/Images}
     $color${fs_used_perc /media/Images}% ${color2}${fs_bar /media/Images}
${color1}Audio  : $color${fs_used /media/Audio} / ${fs_size /media/Audio}
     $color${fs_used_perc /media/Audio}% ${color2}${fs_bar /media/Audio}
${color1}University  : $color${fs_used /media/University} / ${fs_size /media/University}
     $color${fs_used_perc /media/University}% ${color2}${fs_bar /media/University}
${color1}Vids  : $color${fs_used /media/Vids} / ${fs_size /media/Vids}
     $color${fs_used_perc /media/Vids}% ${color2}${fs_bar /media/Vids}

${color1}IP Distante : $color${execi 60 wget -O - http://ip.tupeux.com | tail}
$stippled_hr
${color1}Ethernet : $color${addr eth0}
${color1}Download : $color${downspeed eth0} kiB/s ${alignr}${color1}Upload : $color${upspeed eth0} kiB/s
${color1}Total : $color${totaldown eth0} ${alignr}${color1}Total : $color${totalup eth0}
$stippled_hr
${color1}${alignc}Port(s) ouvert(s) : ${color #8BAEE8}${tcp_portmon 1 65535 count}$color
${tcp_portmon 1 65535 rhost 0} $alignr${tcp_portmon 1 65535 lservice 0}
${tcp_portmon 1 65535 rhost 1} $alignr${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rhost 2} $alignr${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rhost 3} $alignr${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rhost 4} $alignr${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rhost 5} $alignr${tcp_portmon 1 65535 lservice 5}
$stippled_hr
${color1}Processeur$alignr${color}${color #8BAEE8}(%)  PID    CPU${color}
${color #FFFFFF}${top name 1} $alignr${top pid 1} ${top cpu 1}
${color #CACACA}${top name 2} $alignr${top pid 2} ${top cpu 2}
${color #A2A2A2}${top name 3} $alignr${top pid 3} ${top cpu 3}
${color #787878}${top name 4} $alignr${top pid 4} ${top cpu 4}

${color1}Mémoire$alignr${color}${color #8BAEE8}(%)  PID    MEM${color}
${color #FFFFFF}${top_mem name 1} $alignr${top_mem pid 1} ${top_mem mem 1}
${color #CACACA}${top_mem name 2} $alignr${top_mem pid 2} ${top_mem mem 2}
${color #A2A2A2}${top_mem name 3} $alignr${top_mem pid 3} ${top_mem mem 3}
${color #787878}${top_mem name 4} $alignr${top_mem pid 4} ${top_mem mem 4}

${color #8BAEE8}${execi 120 ~/.conky/meteo.sh FRXX0020}Météo à ${execi 120 ~/.conky/meteo2.sh "Ville"}
${color}Aujourd'hui : ${execi 120 ~/.conky/meteo2.sh "Température aujourd'hui"}  ${font weather:size=40}${voffset -18}${execi 120 ~/.conky/meteo2.sh "Conditions aujourd'hui"}${font}${voffset -11}
${color #CACACA}Vent : ${execi 120 ~/.conky/meteo2.sh "Vent aujourd'hui"}
${color #A2A2A2}Lever du soleil : ${execi 120 ~/.conky/meteo2.sh "Lever du soleil"}
${color #787878}Coucher du soleil : ${execi 120 ~/.conky/meteo2.sh "Coucher du soleil"}
${color #FFFFFF}Demain : ${execi 120 ~/.conky/meteo2.sh "Température demain"}  ${font weather:size=32}${voffset -10}${execi 120 ~/.conky/meteo2.sh "Conditions demain"}${font}
$stippled_hr
${color #882B0D}BBC News Front Page:

${color #882B0D}${execi 300 /home/sylvain/scripts/conky-rss.sh http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml 10 1}
« Modifié: 10 avril 2013 à 23:49:39 par Slystone »
« Rigid, the skeleton of habit alone upholds the human frame. » - Virginia Woolf.

Hors ligne patrick013

  • Membre Senior
  • ****
  • Messages: 252
Re : Conky Scripts + Photos
« Réponse #24 le: 10 avril 2013 à 23:56:53 »

Hors ligne Taco.22

  • Membre Senior
  • ****
  • Messages: 391
    • Scorpio_Openbox
Re : Conky Scripts + Photos
« Réponse #25 le: 11 avril 2013 à 03:06:15 »
Is that tint2 at the top?  Looks cool!  What does the Scorpion icon represent?
What can go wrong !!!

Hors ligne patrick013

  • Membre Senior
  • ****
  • Messages: 252
Re : Re : Conky Scripts + Photos
« Réponse #26 le: 11 avril 2013 à 05:02:22 »
Is that tint2 at the top?  Looks cool!  What does the Scorpion icon represent?

The Scorpion icon is actually the lxpanel menu.
I had tint but got tired of it.   Sometimes I put
tint on the bottom and lxpanel on the top with
bunches of icons.
« Modifié: 11 avril 2013 à 05:10:40 par patrick013 »

djohnston

  • Invité
Re : Conky Scripts + Photos
« Réponse #27 le: 11 avril 2013 à 05:03:57 »
@Slystone,

I like the weather display. Can you share meteo.sh?


Hors ligne Slystone

  • Néophyte
  • *
  • Messages: 39
    • Slystone's blog
Re : Re : Conky Scripts + Photos
« Réponse #28 le: 15 avril 2013 à 15:03:05 »
@Slystone,

I like the weather display. Can you share meteo.sh?

Well, it all comes from there: http://doc.ubuntu-fr.org/conky#la_meteo
It's a French website, but you should have plenty of help on other sites, for example: http://www.upubuntu.com/2012/03/how-to-install-conkyforecast-conky.html
Have fun!
« Rigid, the skeleton of habit alone upholds the human frame. » - Virginia Woolf.

djohnston

  • Invité
Re : Conky Scripts + Photos
« Réponse #29 le: 15 avril 2013 à 22:54:48 »
Thanks, Slystone. I found the shell scripts at http://doc.ubuntu-fr.org/conky_scripts_temps_et_meteo#la_meteo.