Author Topic: Conky ?? (NUKED)  (Read 5257 times)

Online Crow

  • Hero Member
  • *****
  • Posts: 8770
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #15 on: April 30, 2011, 01:47:54 PM »
I'm using weirdwolf .conf with some changes in LXDE works good, I want other features but need scripts, for that I think you NEED to be a coder.

Leiche's .conf didn't run, I will try to find why
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3747
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Conky ?? (NUKED)
« Reply #16 on: April 30, 2011, 02:24:27 PM »
Maybe you need some icons?

http://dl.dropbox.com/u/2077694/icon.tar.xz

Unpack it in /etc/conky/

And add this conky_no_x11.conf

Code: [Select]
# 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-2010 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/>.
#

background no
cpu_avg_samples 2
net_avg_samples 2
no_buffers yes
out_to_stderr no
update_interval 1.0
uppercase no
use_spacer none

TEXT
${scroll 16 $nodename - $sysname $kernel on $machine | }
Uptime: $uptime
Frequency (in MHz): $freq
Frequency (in GHz): $freq_g
RAM Usage: $mem/$memmax - $memperc% ${membar 4}
Swap Usage: $swap/$swapmax - $swapperc% ${swapbar 4}
CPU Usage: $cpu% ${cpubar 4}
Processes: $processes  Running: $running_processes
File systems:
 / ${fs_used /}/${fs_size /} ${fs_bar 6 /}
Networking:
Up: ${upspeed eth0}  - Down: ${downspeed eth0}
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}
 ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
too, in /etc/conky/

Then it should work  :)

Online Crow

  • Hero Member
  • *****
  • Posts: 8770
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #17 on: April 30, 2011, 05:21:28 PM »
No joy, didn't find DATEN so I commented that line but now it says that:

Quote
Conky: forked to background, pid is 8560
[crow@localhost ~]$
Conky: desktop window (e00109) is subwindow of root window (157)
Conky: window type - override
Conky: drawing to created window (0x2600001)
Conky: drawing to double buffer
Conky: scandir for /proc/acpi/ac_adapter/: No such file or directory
Conky: can't open /sys/class/power_supply/BAT0/uevent: No such file or directory
Conky: can't open /proc/acpi/battery/BAT0/state: No such file or directory
Conky: can't open /proc/apm: No such file or directory
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Conky ?? (NUKED)
« Reply #18 on: April 30, 2011, 05:30:31 PM »
Change daten to data.

Online Crow

  • Hero Member
  • *****
  • Posts: 8770
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #19 on: April 30, 2011, 06:04:47 PM »
That fixed the Daten thing, thank you, the rest still not working
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Conky ?? (NUKED)
« Reply #20 on: April 30, 2011, 06:25:55 PM »
Further translations are needed.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Conky ?? (NUKED)
« Reply #21 on: April 30, 2011, 06:34:26 PM »
Leiche's conky.conf translated:
Code: [Select]
background yes
font sans:size=8
xftfont sans:size=8
use_xft yes
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override # Try also 'normal' or 'override'
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders no
minimum_size 250
maximum_width 250
default_color ffffff
default_shade_color 000000
draw_outline no
alignment top_right
gap_x 10
gap_y 70
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no
use_spacer none

TEXT
${image /etc/conky/icon/Television-Alt.png -p 15,15 -s 32x32} ${goto 50}SYSTEM >>
${goto 50}Distro: ${exec lsb_release -c -s} ${exec lsb_release -r -s}
${goto 50}Kernel: $kernel $machine
${goto 50}Desktop: $DESKTOP_SESSION
${goto 50}User: ${exec whoami}
${goto 50}Running time: $uptime_short
${goto 50}Battery: $acpiacadapter $battery
${goto 50}Monitor: ${exec xrandr | grep '*' | sed -e 's/*+//'}

${image /etc/conky/icon/Clock.png -p 15,120 -s 32x32} ${goto 50}DATE & TIME >>
${goto 50}Date ${goto 75}${goto 85} : ${time %A, %d %b %Y}
${goto 50}Time ${goto 75}:${goto 85}  ${time %H:%M %p} Uhr

${image /etc/conky/icon/Task-Manager.png -p 15,185 -s 32x32} ${voffset 6}${goto 50}PROCESSOR >>
${goto 50}CPU 1: ${cpubar cpu0 4,75}  ${cpu cpu0}%
${goto 50}CPU 2: ${cpubar cpu1 4,75}  ${cpu cpu1}%
${goto 50}Temp: ${hwmon temp 1}°C

${image /etc/conky/icon/Memory.png -p 15,260 -s 32x32} ${goto 50}MEMORY >>
${goto 50}RAM: ${membar 4,75}  $memperc%
${goto 50}Swap: ${swapbar 4,75}  $swapperc%
${goto 50}Processes: $processes
${goto 50}current: $running_processes
${goto 50}${voffset 8}${image /etc/conky/icon/Gear.png -p 15,330 -s 32x32} ${goto 50}NAME >> $alignc ${goto 185} ${alignr}MEM   ${alignr}CPU
${goto 50}${top name 1} ${goto 175}$alignr${top mem 1} $alignr${top cpu 1}
${goto 50}${top name 2} ${goto 175}$alignr${top mem 2} $alignr${top cpu 2}
${goto 50}${top name 3} ${goto 175}$alignr${top mem 3} $alignr${top cpu 3}
${goto 50}${top name 4} ${goto 175}$alignr${top mem 4} $alignr${top cpu 4}
${goto 50}$stippled_hr
${goto 50}${top_mem name 1} ${goto 175}$alignr${top_mem cpu 1} $alignr${top_mem mem 1}
${goto 50}${top_mem name 2} ${goto 175}$alignr${top_mem cpu 2} $alignr${top_mem mem 2}
${goto 50}${top_mem name 3} ${goto 175}$alignr${top_mem cpu 3} $alignr${top_mem mem 3}
${goto 50}${top_mem name 4} ${goto 175}$alignr${top_mem cpu 4} $alignr${top_mem mem 4}

${image /etc/conky/icon/Hard-Drive.png -p 15,470 -s 32x32} ${goto 50}HDD >>
${goto 50}Root: ${fs_bar 4,55 /}  ${fs_used /} / ${fs_size /}
${goto 50}Home: ${fs_bar 4,55 /home}  ${fs_used /home} / ${fs_size /home}
#${goto 50}Data: ${fs_bar 4,55 /Data}  ${fs_used /Data} / ${fs_size /Data}
#${goto 50}Temp IDE:  ${execi 300 hddtemp --unit=t /dev/hda | cut -c11-}
#${goto 50}Temp SATA: ${execi 300 hddtemp --unit=t /dev/sda | cut -c11-}

${image /etc/conky/icon/Connectiions.png -p 15,530 -s 32x32} ${goto 50}WLAN >>
${goto 50}Download: ${downspeed eth1}
${goto 50}Upload: ${upspeed eth1}
${goto 50}Total Download: ${totaldown eth1}

I hope I didn't miss anything. :)

Online Crow

  • Hero Member
  • *****
  • Posts: 8770
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #22 on: April 30, 2011, 06:47:33 PM »
Quote
Conky: forked to background, pid is 9797
[crow@localhost ~]$
Conky: desktop window (e00109) is subwindow of root window (157)
Conky: window type - override
Conky: drawing to created window (0x2600001)
Conky: drawing to double buffer
Conky: scandir for /proc/acpi/ac_adapter/: No such file or directory
Conky: can't open /sys/class/power_supply/BAT0/uevent: No such file or directory
Conky: can't open /proc/acpi/battery/BAT0/state: No such file or directory
Conky: can't open /proc/apm: No such file or directory

Thank you Neal but I think the problem is in another place
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Online Crow

  • Hero Member
  • *****
  • Posts: 8770
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #23 on: April 30, 2011, 08:36:17 PM »
I commented the two subroutines about battery and monitor since that seemed to be the problem.

There is no message of error now but I don't see Conky.

I started a different approach using the  weirdwolf .conf and changing some things, looks promising and I'm started to understand something (still don't know what but something  :-[   ;D )
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Conky ?? (NUKED)
« Reply #24 on: May 01, 2011, 12:28:11 AM »
Any luck with weirdwolf's .conf?

Online Crow

  • Hero Member
  • *****
  • Posts: 8770
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #25 on: May 01, 2011, 08:03:19 AM »
Yep, first used weirdwolf .conf, erased the devices part and replaced with Leiche's, then I worked my way comparing first part, changed devices parameters, translated to Spanish, changed some colors using this table http://www.sitiosargentina.com.ar/webmaster/CODIGOS%20DE%20COLORES.htm but returned to black and white.

Found the Conky documentation http://conky.sourceforge.net/docs.html made a .pdf and I'm consulting it at times, downloaded icons (and lost too much time in two excellent pages  ;) )

Next stop is know how scripts work to show weather and Clementine  ;D

This thing is easier than I thought, thank you
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Conky ?? (NUKED)
« Reply #26 on: May 01, 2011, 08:09:36 AM »
Share your .conf file?

Online Crow

  • Hero Member
  • *****
  • Posts: 8770
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #27 on: May 01, 2011, 08:33:51 AM »
Of course

Code: [Select]
background yes
use_xft yes
xftfont sans:size=9
xftalpha 0.8
update_interval 3.0
total_run_times 0
own_window yes
own_window_type conky
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
double_buffer yes
minimum_size 250
draw_shades yes
draw_outline no
draw_graph_borders no
stippled_borders 8
border_margin 1
border_width 10
maximum_width 260
default_color ffffff
default_shade_color 000000
default_outline_color black
alignment top_right
gap_x 10
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none


TEXT
${image /etc/conky/icon/Television-Alt.png -p 0,15 -s 32x32} ${goto 50}SISTEMA
${goto 50}Distro: ${exec lsb_release -c -s} ${exec lsb_release -r -s}
${goto 50}Kernel: $kernel $machine
${goto 50}Escritorio: $DESKTOP_SESSION
${goto 50}Usuario: ${exec whoami}
${goto 50}Tiempo encendido: $uptime_short
# ${goto 50}Battery: $acpiacadapter $battery
${goto 50}Monitor: ${exec xrandr | grep '*' | sed -e 's/*+//'}

${image /etc/conky/icon/Clock.png -p 0,125 -s 32x32} ${goto 50}FECHA Y HORA
${goto 50}Fecha ${goto 75}${goto 85} : ${time %A, %d %b %Y}
${goto 50}Hora ${goto 75}:${goto 85}  ${time %H:%M %p} hrs.

${image /etc/conky/icon/Task-Manager.png -p 0,190 -s 32x32} ${voffset 6}${goto 50}PROCESADOR
${goto 50}CPU 1: ${cpubar cpu0 4,75}  ${cpu cpu0}%
${goto 50}CPU 2: ${cpubar cpu1 4,75}  ${cpu cpu1}%
${goto 50}Temperatura: ${hwmon temp 1}°C

${image /etc/conky/icon/Memory.png -p 0,265 -s 32x32} ${goto 50}MEMORIA
${goto 50}RAM: ${membar 4,75}  $memperc%
${goto 50}Swap: ${swapbar 4,75}  $swapperc%

${goto 50}${voffset 8} ${image /etc/conky/icon/Gear.png -p 0,365 -s 32x32} ${goto 50}PROCESOS:$processes ${goto 170}actuales:$running_processes

${goto 50}PROCESOS IMPORTANTES
${goto 50}NOMBRE $alignc ${goto 185} ${alignr}MEM   ${alignr}CPU
${goto 50}${top name 1} ${goto 175}$alignr${top mem 1} $alignr${top cpu 1}
${goto 50}${top name 2} ${goto 175}$alignr${top mem 2} $alignr${top cpu 2}
${goto 50}${top name 3} ${goto 175}$alignr${top mem 3} $alignr${top cpu 3}
${goto 50}${top name 4} ${goto 175}$alignr${top mem 4} $alignr${top cpu 4}
${goto 50}${top name 5} ${goto 175}$alignr${top mem 5} $alignr${top cpu 5}
${goto 50}${top name 6} ${goto 175}$alignr${top mem 6} $alignr${top cpu 6}
# ${goto 50}$stippled_hr
# ${goto 50}${top_mem name 1} ${goto 175}$alignr${top_mem cpu 1} $alignr${top_mem mem 1}
# ${goto 50}${top_mem name 2} ${goto 175}$alignr${top_mem cpu 2} $alignr${top_mem mem 2}
# ${goto 50}${top_mem name 3} ${goto 175}$alignr${top_mem cpu 3} $alignr${top_mem mem 3}
# ${goto 50}${top_mem name 4} ${goto 175}$alignr${top_mem cpu 4} $alignr${top_mem mem 4}

${image /etc/conky/icon/Hard-Drive.png -p 0,500 -s 32x32} ${goto 50}HDD
${goto 50}Root: ${fs_bar 4,55 /}  ${fs_used /} / ${fs_size /}
${goto 50}Home: ${fs_bar 4,55 /home}  ${fs_used /home} / ${fs_size /home}
#${goto 50}Data: ${fs_bar 4,55 /Data}  ${fs_used /Data} / ${fs_size /Data}
#${goto 50}Temp IDE:  ${execi 300 hddtemp --unit=t /dev/hda | cut -c11-}
#${goto 50}Temp SATA: ${execi 300 hddtemp --unit=t /dev/sda | cut -c11-}

${image /etc/conky/icon/Connectiions.png -p 0,560 -s 32x32} ${goto 50}LAN
${goto 50}Download: ${downspeed eth0}
${goto 50}Upload: ${upspeed eth0}
${goto 50}Total Download: ${totaldown eth0}
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Conky ?? (NUKED)
« Reply #28 on: May 01, 2011, 08:36:23 AM »
Thank you, Crow. :)

Online Crow

  • Hero Member
  • *****
  • Posts: 8770
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #29 on: May 01, 2011, 09:02:07 AM »
Still a work in progress but it has been very instructional  :)
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412