[Conky] Probléme d'éxécution (en cours)

Questions et astuces concernant l'installation et la configuration d'archlinux
Avatar de l’utilisateur
banditblue
Elfe
Messages : 591
Inscription : dim. 10 janv. 2010, 10:19

[Conky] Probléme d'éxécution (en cours)

Message par banditblue »

Salut la team

ce matin, apres un bon moment passé a faire autre chose que Linux, j'ai ce petit soucis avec Conky

au demarrage il devrait s'afficher continuellement sur le bureau mais celui-ci s'execute et se coupe quelaque seconde plus tard

mon conky

Code : Tout sélectionner

--[[
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-2019 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/>.
]]

conky.config = {
    alignment = 'top_right',
    background = false,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    extra_newline = false,
    gap_x = 0,
    gap_y = 180,
    minimum_height = 00,
    minimum_width = 200,
    net_avg_samples = 2,
    no_buffers = false,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_transparent = true,
    own_window_class = 'Conky',
    own_window_type = 'desktop',
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
    lua_load = '/home/moi/.conky/lua/conky_gray.lua',
    lua_draw_hook_post = 'main',
    lua_load = '/home/moi/.conky/lua/bargraphe.lua',
    lua_draw_hook_post = 'main_bars',

}

conky.text = [[
${offset 0}${voffset 10}
${font SF Square Head:size=10}Ordinateur${font}${hr 2} 
  ${font DejaVu:size=8}${voffset -5}Systeme${offset 40}:
  ${offset 105}${voffset -12}${sysname}
  ${offset 15}${voffset -1}Kernel${offset 50}:
  ${offset 107}${voffset -12}${kernel}
  ${offset 15}${voffset 0}Temps${offset 49}:
  ${offset 107}${voffset -12}${uptime}
  ${offset 15}${voffset -2}Cpu${offset 65}:
  ${offset 107}${voffset -12}${freq_g} GHz${font}
${font SF Square Head:size=10}Intel i9-10900kf${font}${hr 1}
  ${font DejaVu:size=7}
  ${offset 20}${voffset -12}Core 1    :${goto 90}${cpu cpu1} %
  ${offset 20}Core 2    :${goto 90}${cpu cpu2} %
  ${offset 20}Core 3    :${goto 90}${cpu cpu3} %
  ${offset 20}Core 4    :${goto 90}${cpu cpu4} %
  ${offset 20}Core 5    :${goto 90}${cpu cpu5} %
  ${offset 20}Core 6    :${goto 90}${cpu cpu6} %
  ${offset 20}Core 7    :${goto 90}${cpu cpu7} %
  ${offset 20}Core 8    :${goto 90}${cpu cpu8} %
  ${offset 20}Core 9    :${goto 90}${cpu cpu9} %
  ${offset 20}Core 10 :${goto 90}${cpu cpu10} %
  ${offset 20}Core 11 :${goto 90}${cpu cpu11} %
  ${offset 20}Core 12 :${goto 90}${cpu cpu12} %
  ${offset 20}Core 13 :${goto 90}${cpu cpu13} %
  ${offset 20}Core 14 :${goto 90}${cpu cpu14} %
  ${offset 20}Core 15 :${goto 90}${cpu cpu15} %
  ${offset 20}Core 16 :${goto 90}${cpu cpu16} %
  ${offset 20}Core 17 :${goto 90}${cpu cpu17} %
  ${offset 20}Core 18 :${goto 90}${cpu cpu18} %
  ${offset 20}Core 19 :${goto 90}${cpu cpu19} %
  ${offset 20}Core 20 :${goto 90}${cpu cpu20} %${font}
${font SF Square Head:size=10}${voffset -4}Disque Dur${font} ${hr 2} 
  ${font DejaVu:size=7}
  ${offset 12}${voffset -15}Systeme${goto 120}Home
  ${offset 12}${voffset -2}${fs_used /} / ${fs_size /}${goto 120}${fs_used /home} / ${fs_size /home}   
  ${offset 12}${voffset 12}Alpha (Win10)${goto 120}Beta	(Win10)         
  ${offset 12}${voffset -2}${fs_used /run/media/moi/Alpha} / ${fs_size /run/media/moi/Alpha}${goto 120}${fs_used /run/media/moi/Beta} / ${fs_size /run/media/moi/Beta}
  ${offset 12}${voffset 10}Cappa${goto 120}Epsilon
  ${offset 12}${voffset -2}${fs_used /run/media/moi/Cappa 8to} / ${fs_size /run/media/moi/Cappa 8to}${goto 120}${fs_used /run/media/moi/Epsilon 8to} / ${fs_size /run/media/moi/Epsilon 8to}
  ${offset 12}${voffset 10}Gamma
  ${offset 12}${voffset -2}${fs_used /run/media/moi/Gamma 8to} / ${fs_size /run/media/moi/Gamma 8to}${font}
${font SF Square Head:size=10}${voffset 5}Memoire${font} ${hr 2}
  ${font DejaVu:size=7}${offset 5}${voffset -8}Utilisé${goto 80}:
  ${offset 100}${voffset -12}${mem} / ${memmax}${font}
${font SF Square Head:size=10}${voffset -4}Resaux par le cable${font} ${hr 2} 
  ${font DejaVu:size=7}${offset -5}${voffset -5}Down${goto 60}:
  ${offset 60}${voffset -12}${downspeed enp4s0} /s
  ${offset 10}${voffset -3}Upload${goto 60}:
  ${offset 60}${voffset -12}${upspeed enp4s0} /s${font}
${font SF Square Head:size=10}${voffset -5}Mise a jour${font} ${hr 2}
  ${voffset -6}${offset 30}${font DejaVu:size=7}mise a jour de disponible(s) 
  ${offset 5}${voffset -12}${execpi 600 yaourt -Sya --logfile /dev/null > /dev/null; yaourt -Qu | wc -l}
${hr 2}
]]
La ligne de commande qui execute conky au demarrage

Code : Tout sélectionner

#
# These things are run when an Openbox X Session is started.
# You may place a similar script in $HOME/.config/openbox/autostart
# to run user-specific things.
#

# If you want to use GNOME config tools...
#
#if test -x /usr/lib/openbox/gnome-settings-daemon >/dev/null; then
#  /usr/lib/openbox/gnome-settings-daemon &
#elif which gnome-settings-daemon >/dev/null 2>&1; then
#  gnome-settings-daemon &
#fi

# If you want to use XFCE config tools...
#
#xfce-mcs-manager &

numlockx &

tint2 &
/home/moi/Diapo.sh &
conky -c /home/moi/.conky/.conkyrc1 &
conky -c /home/moi/.conky/.conkyrc &
j'ai executer la ligne de commande dans mon terminal e cela me renvoie

Code : Tout sélectionner

[moi@Ultimatei9 ~]$ conky -c /home/moi/.conky/.conkyrc
conky: desktop window (1ef) is root window
conky: window type - desktop
conky: drawing to created window (0xc00001)
conky: drawing to double buffer
*** buffer overflow detected ***: terminated
Abandon (core dumped)
[moi@Ultimatei9 ~]$ 
je ne sais pas ou chercher, j'ai tenté de modifier le scrypt conky mais rien n'y fait !!!
La connaîssance n'a pas de limite.
Mais sa valeur, est d'autant plus grande, une fois partagé


Pc fixe --- MSI MPG Z490 Gaming Edge WiFi, I9-9900Kf, RTX3070Ti, 64Go DDR4, SSD 1Tera nvme gen4 Samsung 980 pro, SSD 1Tera WD Blacksn850X,3HDD 5Tera
Eeepc Asus 1015pem --- Intel Atom N550 Dual-core 1.5Ghz / DD 1Tera 7200rpm / Ram 2Go

Screenshot + Les Conky ===> http://forums.archlinux.fr/post85405.html#p85405
Avatar de l’utilisateur
banditblue
Elfe
Messages : 591
Inscription : dim. 10 janv. 2010, 10:19

Re: [Conky] Probléme d'éxécution (en cours)

Message par banditblue »

hello la team
n'y a t'il personnes pour m'aiguiller ? :shock:
La connaîssance n'a pas de limite.
Mais sa valeur, est d'autant plus grande, une fois partagé


Pc fixe --- MSI MPG Z490 Gaming Edge WiFi, I9-9900Kf, RTX3070Ti, 64Go DDR4, SSD 1Tera nvme gen4 Samsung 980 pro, SSD 1Tera WD Blacksn850X,3HDD 5Tera
Eeepc Asus 1015pem --- Intel Atom N550 Dual-core 1.5Ghz / DD 1Tera 7200rpm / Ram 2Go

Screenshot + Les Conky ===> http://forums.archlinux.fr/post85405.html#p85405
clededouze
newbie
Messages : 5
Inscription : dim. 24 janv. 2021, 00:42

Re: [Conky] Probléme d'éxécution (en cours)

Message par clededouze »

Salut,
Ton conky est-il à jour? --> conky 1.19.7.2
La version 1.19.6 avait un gros bug (core dump) qui a été réglé avec la version 1.19.7.

Raph
Arch/Openbox
Mini ITX ASrock J5005
8Go RAM - 3 HD SSD
Répondre