Conky Widgets
-
- Scoppiettante Seguace
- Messaggi: 767
- Iscrizione: sabato 3 dicembre 2016, 14:16
- Distribuzione: Ubuntu 20.04.01 LTS
- Sesso: Maschile
Conky Widgets
Su Debian 9.0 ho installato i pacchetti seguenti:
https://i.imgur.com/y0wrwpO.png
dei pacchetti installati solo quello di conky manager non era presente nelle repository di debian e l'ho scaricato su internet.
Tuttavia non capisco se c'è un modo dopo aver attivato un widget di impedire che scompaia ogni volta che si clicca il bottone per iconificare tutte le schede aperte, ossia ridurle ad icona e mostrare la scrivania.
quando lo clicco oltre a ridurre in icona tutte le finestre aperte finisce per iconificare anche il widget che ho attivato da questo menu:
https://i.imgur.com/R7ase4M.png
-
- Prode Principiante
- Messaggi: 6
- Iscrizione: venerdì 30 marzo 2018, 10:56
- Desktop: ubuntu
- Distribuzione: Ubuntu 18.04 LTS 64bit
- Sesso: Maschile
Re: Conky Widgets
Dopo di ciò aggiungi la seguente repository da terminale.
Codice: Seleziona tutto
sudo apt-add-repository -y ppa:teejee2008/ppa
Codice: Seleziona tutto
sudo apt-get install conky-manager
Re: Conky Widgets
su Debian il comando apt-add-repository non esiste per fortuna ...True [url=https://forum.ubuntu-it.org/viewtopic.php?p=5064748#p5064748][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:Salve @Rosssiiii. Conky manager funziona bene? Prova a disinstallarlo.
Dopo di ciò aggiungi la seguente repository da terminale.
Infine installa conky-managerCodice: Seleziona tutto
sudo apt-add-repository -y ppa:teejee2008/ppa
Dovrebbe funzionare .Codice: Seleziona tutto
sudo apt-get install conky-manager
- Lo Zio
- Entusiasta Emergente
- Messaggi: 1819
- Iscrizione: mercoledì 16 settembre 2009, 23:51
- Desktop: xfce / kde-plasma
- Distribuzione: Debian 12 (bookworm) x86_64
- Sesso: Maschile
- Località: Torino
- Contatti:
Re: Conky Widgets
Disinstalla tutta la porcheria che ti sei portato appresso (basta che dal gestore pacchetti cerchi conky.)
Apri il tuo Gestore di Pacchetti e cerca conky
Dalla lista seleziona conky-all e installalo.
Adesso in /home basta creare un nuovo Documento di testo e chiamarlo ad esempio conky.rc o se vuoi fare una cosa più ordinata crei una cartella chiamata .conky e crei dentro il file di testo (il punto davanti alle cartelle o ai file è l'attributo nascosto).
Creato il file incolli dentro la parte dei parametri da dare in pasto a Conky:
Codice: Seleziona tutto
-- Copyright (C) 2007-2018 Zoltan Puskas
-- License: BSD 3-clause
conky.config = {
background = false,
font = 'Sans:size=8',
use_xft = true,
xftalpha = 0.9,
update_interval = 1.2,
total_run_times = 0,
own_window = true,
own_window_type = 'normal',
own_window_argb_visual = true,
own_window_transparent = true,
own_window_class = 'conky',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
minimum_width = 220,
maximum_width = 220,
draw_shades = true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = 'CDE0E7',
default_shade_color = 'black',
default_outline_color = 'green',
gap_x = 20,
gap_y = 100,
alignment = 'br',
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
override_utf8_locale = false,
uppercase = true,
}
conky.text = [
gli altri parametri non te li stò a spiegare tutti,cmq. sono molto semplici.
dopo la parte
conky.text = [
hai il testo che apparirà a schermo con le varie opzioni e parametri impostati
al fondo del testo chiudi le due parentesi ]] per chiudere il parametro del text
In caso di errore lanci
Codice: Seleziona tutto
conky -c /percorsodidovehaisalvatoilfile
Ti lascio la mia configurazione (per xfce) in caso vuoi copiarla o prendere spunti.
Codice: Seleziona tutto
-- Copyright (C) 2007-2018 Zoltan Puskas
-- License: BSD 3-clause
conky.config = {
background = false,
font = 'Sans:size=8',
use_xft = true,
xftalpha = 0.9,
update_interval = 1.2,
total_run_times = 0,
own_window = true,
own_window_type = 'normal',
own_window_argb_visual = true,
own_window_transparent = true,
own_window_class = 'conky',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
minimum_width = 220,
maximum_width = 220,
draw_shades = true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = 'CDE0E7',
default_shade_color = 'black',
default_outline_color = 'green',
gap_x = 20,
gap_y = 100,
alignment = 'br',
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
override_utf8_locale = false,
uppercase = true,
}
conky.text = [[
Date ${time %d.%m.%Y} ${alignr}Time: ${time %H:%M:%S}
Uptime: $alignr$uptime
Processes: ${alignr}$processes ($running_processes running)
Load: ${alignr}$loadavg
Core0 ${freq 1} MHz ${alignr}${cpu cpu1}%
${cpubar cpu1 4 }
Core1 ${freq 2} MHz ${alignr}${cpu cpu2}%
${cpubar cpu2 4 }
Ram ${alignr}$mem / $memmax ($memperc%)
${membar 4}
swap ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}
Highest CPU $alignr CPU% MEM%
${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}
${top name 4}$alignr${top cpu 4}${top mem 4}
Highest MEM $alignr CPU% MEM%
${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}
${top_mem name 4}$alignr${top_mem cpu 4}${top_mem mem 4}
/sda $alignc Read $alignr Write
${diskiograph_read /dev/sda 15,107} ${alignr}${diskiograph_write /dev/sda 15,107}
IO-R: ${diskio_read /dev/sda} ${alignr}IO-W: ${diskio_write}
Root: ${alignr}${fs_used /} / ${fs_size /}
${fs_bar 4 /}
Home: ${alignr}${fs_used /home/lozio} / ${fs_size /home/lozio}
${fs_bar 4 /home/lozio}
TMP: ${alignr}${fs_used /tmp} / ${fs_size /tmp}
${fs_bar 4 /tmp}
VAR: ${alignr}${fs_used /var} / ${fs_size /var}
${fs_bar 4 /var}
DATI: ${alignr}${fs_used /media/Dati/} / ${fs_size /media/Dati/}
${fs_bar 4 /media/Dati/}
Network: ${alignr}${addr enp2s0}
Down ${downspeed enp2s0}/s ${alignr}Up ${upspeed enp2s0}/s
${downspeedgraph enp2s0 15,107} ${alignr}${upspeedgraph enp2s0 15,107}
Total ${totaldown enp2s0} ${alignr}Total ${totalup enp2s0}
]]
Se hai problemi chiedi e posta i risultati del Terminale
......ti accorgi che fa caldo quando dai come input "sudo" e il terminale ti da come output "Anche io"
Re: Conky Widgets
Si trova nel pacchetto software-properties-common.pachisapiu [url=https://forum.ubuntu-it.org/viewtopic.php?p=5064750#p5064750][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto: su Debian il comando apt-add-repository non esiste per fortuna ...
-
- Scoppiettante Seguace
- Messaggi: 767
- Iscrizione: sabato 3 dicembre 2016, 14:16
- Distribuzione: Ubuntu 20.04.01 LTS
- Sesso: Maschile
Re: Conky Widgets
conky-all
poi l'unico .deb che ho installato scaricandolo da internet è stato il manager, non essendo esperto mi ha aiutato a personalizzare i widget per ora.
solo che il problema che ho è che quando vado a cliccare per ridurre le finestre in icona sparisce anche il widget
ho cercato su google: https://www.google.it/search?q=conky+wi ... e&ie=UTF-8
ho letto un'altra discussione:
https://ubuntuforums.org/showthread.php?t=1717351
e che per risolvere ha fatto:
Codice: Seleziona tutto
own_window yes
own_window_class Conky
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
Codice: Seleziona tutto
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
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-2012 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_left',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
gap_x = 5,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = yes,
own_window_class = 'Conky',
own_window_type = 'normal',
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}
conky.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_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$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}
]]
- Lo Zio
- Entusiasta Emergente
- Messaggi: 1819
- Iscrizione: mercoledì 16 settembre 2009, 23:51
- Desktop: xfce / kde-plasma
- Distribuzione: Debian 12 (bookworm) x86_64
- Sesso: Maschile
- Località: Torino
- Contatti:
Re: Conky Widgets
Modifica il tuo file nella parte:
Codice: Seleziona tutto
own_window = yes,
own_window_class = 'Conky',
own_window_type = 'normal',
Codice: Seleziona tutto
own_window yes
own_window_class Conky
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
......ti accorgi che fa caldo quando dai come input "sudo" e il terminale ti da come output "Anche io"
-
- Scoppiettante Seguace
- Messaggi: 767
- Iscrizione: sabato 3 dicembre 2016, 14:16
- Distribuzione: Ubuntu 20.04.01 LTS
- Sesso: Maschile
Re: Conky Widgets
CiaoLo Zio [url=https://forum.ubuntu-it.org/viewtopic.php?p=5064842#p5064842][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:devi aggiungere i parametri own_window come ti ho consigliato nel mio primo post.
Modifica il tuo file nella parte:e inserisci al loro posto le variabili per il tuo desktopCodice: Seleziona tutto
own_window = yes, own_window_class = 'Conky', own_window_type = 'normal',
salva e rilancia il conkyCodice: Seleziona tutto
own_window yes own_window_class Conky own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_transparent yes
ora ho aggiornato il file in questo modo:
Codice: Seleziona tutto
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
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-2012 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_left',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
gap_x = 5,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window yes
own_window_class Conky
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}
conky.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_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$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}
]]
https://i.imgur.com/DCIYu3A.png
- Lo Zio
- Entusiasta Emergente
- Messaggi: 1819
- Iscrizione: mercoledì 16 settembre 2009, 23:51
- Desktop: xfce / kde-plasma
- Distribuzione: Debian 12 (bookworm) x86_64
- Sesso: Maschile
- Località: Torino
- Contatti:
Re: Conky Widgets
EDIT: su che ambiente grafico sei?
......ti accorgi che fa caldo quando dai come input "sudo" e il terminale ti da come output "Anche io"
-
- Scoppiettante Seguace
- Messaggi: 767
- Iscrizione: sabato 3 dicembre 2016, 14:16
- Distribuzione: Ubuntu 20.04.01 LTS
- Sesso: Maschile
Re: Conky Widgets
LXDELo Zio [url=https://forum.ubuntu-it.org/viewtopic.php?p=5065178#p5065178][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:prova a chiudere l'istanza di Conky e rilanciarla da terminale.Poi postami tutto il risultato
EDIT: su che ambiente grafico sei?
a chiudere ho fatto termina sul processo conky dal gestore processi
se non ricordo male per lanciare un programma da terminale basta scrivere il nome e in questo caso conky....tuttavia se scrivo conky nel terminale esce questo messaggio:
Codice: Seleziona tutto
root@localhost:/home/roberto# conky
conky: Syntax error (/etc/conky/conky.conf:51: '}' expected (to close '{' at line 28) near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: [string "..."]:139: attempt to index local 'settings' (a nil value)
root@localhost:/home/roberto#
invece compare solo dopo che avvio il conky manager e provo ad avviare un widget
- Lo Zio
- Entusiasta Emergente
- Messaggi: 1819
- Iscrizione: mercoledì 16 settembre 2009, 23:51
- Desktop: xfce / kde-plasma
- Distribuzione: Debian 12 (bookworm) x86_64
- Sesso: Maschile
- Località: Torino
- Contatti:
Re: Conky Widgets
Io proverei a ripartire da zero.Quindi:
-cancellare la configurazione di conky in /etc e /home se presente
-disinstallare conky dal gestore pacchetti (e tutti i pacchetti relativi)
-dal gestore pacchetti cerca conky e installa solamente:
conky (dovrebbe essere la vers.1.10.6-1)
conky-std (uguale a sopra)
-a questo punto apri la tua cartella Utente e crea il file di testo conky.rc e rendilo eseguibile
-Incolla la parte della configurazione di conky per lxde
Codice: Seleziona tutto
use_xft yes
xftfont Comic sans MS:size=8
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
double_buffer yes
minimum_size 350 10
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
border_margin 0
border_width 0
alignment bottom_right
gap_x 10
gap_y 50
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type override
alignment top_right
#per pcmanfm
# Create own window instead of using desktop (required in nautilus)
own_window yes
#own_window_type normal
own_window_transparent yes
own_window_class Conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type desktop # in modo che rimanga anche quando viene visualizzato il desktop
TEXT
-apri un Terminale e dai
Codice: Seleziona tutto
conky &
-se il conky avvia senza errori da Terminale e riporta a schermo il conky correttamente,vai dal Menù di LXDE e cerca applicazioni di default per lx session e crea l'avviatore con il comando
Codice: Seleziona tutto
conky --pause=10
Prova a riavviare il pc e vedi se avvia normalmente e se cliccando sulla Scrivania scompare ancora.In caso,posta i problemi.
......ti accorgi che fa caldo quando dai come input "sudo" e il terminale ti da come output "Anche io"
Chi c’è in linea
Visualizzano questa sezione: Google [Bot] e 5 ospiti