parametre transparence

Bureaux,conky et autres personnalisations esthétiques.
Jim777
Messages : 53
Enregistré le : mar. 21 juil. 2015 16:22

parametre transparence

Message par Jim777 »

bonjour voila j'ai installé la derniere cinnamon et remis mon conky de ma 17.3 mais j'arrive pas a avoir ma transparance que j'avais sous la 17.3,y'a un parametre a faire dans cinnamon mais je m'en rappelle plus,une idée?merci d'avance.

Image
Linux Mint 20.1 Ulyssa- x64
SSD 970 EVO Plus 250GBs
CPU : Intel Core i5-10600
RAM 16 Go DDR4
Carte Graphique: NVIDIA GP108 [GeForce GT 1030]

Avatar du membre
débitant
modérateur
Messages : 11534
Enregistré le : mar. 14 juil. 2015 18:22
Localisation : Lorraine France

Re: parametre transparence

Message par débitant »

je pense que c'est plus un souci conky que cinnamon, je déplace dans "personnalisation" ;)

zeb
Messages : 16473
Enregistré le : ven. 19 juin 2015 22:13
Localisation : plus ici

Re: parametre transparence

Message par zeb »

Salut ;)
Il nous faudrait ton code.
Poste le en balise "code" ;)
Je suis pas sur de pouvoir t'aider, mais au moins ça pourra servir à celui qui sera ;)

Avatar du membre
lm22
Messages : 121
Enregistré le : jeu. 5 mai 2016 01:36

Re: parametre transparence

Message par lm22 »

Bonjour, Jim777 ;)
As-tu ces lignes dans ton conky ?
Ces 2-ères lignes devraient suffirent...

Code : Tout sélectionner

own_window_transparent yes
own_window_argb_visual yes
# pas obligé, ci-dessous, pour modifier une transparence / opaque, selon le valu que l’on lui accorde (ici 130, augmenter ou diminuer...)
# çà sert surtout pour éclaircir ou foncer son conky selon le fond d'écran ( s'il est clair ou foncé... )
own_window_colour 000000 # couleur fenêtre du conky si no transparent :ICI NOIR
own_window_argb_value 130 # modifie la transparence du noir ...
Manjaro-20.0.3_64 | KDE plasma 5.19.3-1 | Noyau 4.14.188| pilotes nvidia 450.57
:idea: Sauvegarder Mint quand tout va bien | Modifier / disques / partitions à l'aide de Gparted en .pdf, ou en ligne lien 1/2 et lien 2/2
Montage perso PC-tour juin 2015 : Alim modulaire 750 W | SABERTOOTH 990FX R2.0 | AMD FX-8350 Black Edition - 4,0 GHz | GeForce GTX 750 Ti OC - 2 Go | RAM DDR3 1866 Mhz 32Go - 4x8Go
2 SSD-850 pro -128 Go | 1 Disque [hybride] SSHD - 1To + 8 Go SSD |1 Disque externe usb 3.0 - 2To

Jim777
Messages : 53
Enregistré le : mar. 21 juil. 2015 16:22

Re: parametre transparence

Message par Jim777 »

merci a vous j'ai tout essayé marche pas.je précisse sur la 17.3 aucun souçi je pense que c'est un pb de superposition fenetre mais trouve pas les parametres dans la cinnamon du 18.1

Code : Tout sélectionner

#                               conkyrc_seamod
# Date    : 05/02/2012
# Author  : SeaJey
# Version : v0.1
# License : Distributed under the terms of GNU GPL version 2 or later
# 
# This version is a modification of conkyrc_lunatico wich is modification of conkyrc_orange
# 
# conkyrc_orange:    http://gnome-look.org/content/show.php?content=137503&forumpage=0
# conkyrc_lunatico:  http://gnome-look.org/content/show.php?content=142884
#==============================================================================

background yes
update_interval 1

cpu_avg_samples 1
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 30
gap_y 130
minimum_size 300 900
maximum_width 350

own_window yes
own_window_type normal
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_visual no
own_window_colour 000000
own_window_argb_value 0
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0
alignment top_right


draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=10
xftalpha 0.5
uppercase no

# Defining colors
default_color FFFFFF
# Shades of Gray
color1 DDDDDD
color2 AAAAAA
color3 888888
# Orange
color4 EF5A29
# Green
color5 77B753

# Loading lua script for drawning rings
lua_load /home/eric/toto/conkyseamod.lua
lua_draw_hook_post main

## System information using conky capabilities

# Header with base system info
own_window_argb_value 0
own_window_colour 000000
TEXT
${font Ubuntu:size=10,weight:bold}${color4}SYSTEM ${hr 2}
${offset 15}${font Ubuntu:size=10,weight:normal}${color1}Linux Mint 17.1 Rebecca 
${offset 15}${font Ubuntu:size=10,weight:normal}${color1}
${offset 15}${font Ubuntu:size=10,weight:normal}${color1}Démarrer: $uptime

# Showing CPU Graph
${voffset 20}
${offset 120}${cpugraph 40,183 666666 666666}${voffset -25}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}CPU
# Showing TOP 5 CPU-consumers
${offset 105}${font Ubuntu:size=10,weight:normal}${color4}${top name 1}${alignr}${top cpu 1}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color1}${top name 2}${alignr}${top cpu 2}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color2}${top name 3}${alignr}${top cpu 3}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top name 4}${alignr}${top cpu 4}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top name 5}${alignr}${top cpu 5}%

#Showing memory part with TOP 5
${voffset 40}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}MEMOIRE
${offset 105}${font Ubuntu:size=10,weight:normal}${color4}${top_mem name 1}${alignr}${top_mem mem 1}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color1}${top_mem name 2}${alignr}${top_mem mem 2}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color2}${top_mem name 3}${alignr}${top_mem mem 3}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 4}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 5}%

# Showing disk partitions: root, home and Data
${voffset 28}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}DISQUES
${offset 120}${diskiograph 33,183 666666 666666}${voffset -30}
${voffset 20}
${offset 15}${font Ubuntu:size=9,weight:bold}${color1}Free: ${font Ubuntu:size=9,weight:normal}${fs_free /}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /}
${offset 15}${font Ubuntu:size=9,weight:bold}${color1}Free: ${font Ubuntu:size=9,weight:normal}${fs_free /home}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /home}
${offset 15}${font Ubuntu:size=9,weight:bold}${color1}Free: ${font Ubuntu:size=9,weight:normal}${fs_free /media/Data}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /media/Data}

# Network data (my desktop have only LAN). ETHERNET ring is mostly useless but looks pretty, main info is in the graphs
${voffset 43}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}INTERNET
${voffset 40}             
${offset 15}${color1}${font Ubuntu:size=9,weight:bold}Up: ${alignr}${font Ubuntu:size=9,weight:normal}$color2${upspeed eth0} / ${totalup}
${offset 15}${upspeedgraph eth0 40,285 4B1B0C FF5C2B 100 -l}
${offset 15}${color1}${font Ubuntu:size=9,weight:bold}Down: ${alignr}${font Ubuntu:size=9,weight:normal}$color2${downspeed eth0} / ${totaldown}
${offset 15}${downspeedgraph eth0 40,285 324D23 77B753 100 -l}

${offset 15}${color1}Public IP :${texeci 1000 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}
${offset 15}${color1}Local IP : ${addr eth0} 
${color4}${hr 2}
Modifié en dernier par Jim777 le sam. 7 janv. 2017 08:58, modifié 1 fois.
Linux Mint 20.1 Ulyssa- x64
SSD 970 EVO Plus 250GBs
CPU : Intel Core i5-10600
RAM 16 Go DDR4
Carte Graphique: NVIDIA GP108 [GeForce GT 1030]

Avatar du membre
Robinwood
Messages : 6843
Enregistré le : mar. 28 juil. 2015 20:30
Localisation : Auvergne

Re: parametre transparence

Message par Robinwood »

Bonjour,
tu devrais mettre ton texte précédent entre "balises code", pour une meilleur lisibilité.
Tu peux éditer ton message, sélectionner ton texte et cliquer sur "code" au dessus du message et envoyer ;) .

Code : Tout sélectionner

Merci
Intel nuc8i3phn Xero Linux
Packard Bell Imedia S2110 6Go RAM
linux mint 21 xfce
Firefox Audacious Dragon player

Avatar du membre
lm22
Messages : 121
Enregistré le : jeu. 5 mai 2016 01:36

Re: parametre transparence

Message par lm22 »

Hello !
çà ne peu pas l'faire....!

Code : Tout sélectionner

own_window_transparent yes # ok
own_window_argb_visual yes # ok
#own_window_argb_visual no # si c'est yes çà ne peux pas être no !
#own_window_colour 000000 # le commenter (comme j'ai fais pour le moment)
#own_window_argb_value 0 # ici, su tu mets 0 comme value, çà ne fera rien du tout...
Donc, commente ou supprime les 3 lignes comme je te montres :) , pour le moment...c'est là que se situe le problème ;)
# en début de ligne fait que çà n'est pas pris en compte...
Pour que ce soit "plus lisible" ce serai donc :

Code : Tout sélectionner

#                               conkyrc_seamod
# Date    : 05/02/2012
# Author  : SeaJey
# Version : v0.1
# License : Distributed under the terms of GNU GPL version 2 or later
#
# This version is a modification of conkyrc_lunatico wich is modification of conkyrc_orange
#
# conkyrc_orange:    http://gnome-look.org/content/show.php?content=137503&forumpage=0
# conkyrc_lunatico:  http://gnome-look.org/content/show.php?content=142884
#==============================================================================

background yes
update_interval 1

cpu_avg_samples 1
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 30
gap_y 130
minimum_size 300 900
maximum_width 350

own_window yes
own_window_type normal
own_window_transparent yes
own_window_argb_visual yes
#own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below # ? ici, sticky est en trop...
own_window_hints undecorated,below,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0
alignment top_right


draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=10
xftalpha 0.5
uppercase no

# Defining colors
default_color FFFFFF
# Shades of Gray
color1 DDDDDD
color2 AAAAAA
color3 888888
# Orange
color4 EF5A29
# Green
color5 77B753

# Loading lua script for drawning rings
lua_load /home/eric/toto/conkyseamod.lua
lua_draw_hook_post main

## System information using conky capabilities

# Header with base system info
#own_window_argb_value 0 # à voir par la suite ?
#own_window_colour 000000 # à voir par la suite ?
Je vais copier ton code chez moi... ;)

ÉDIT :
Le rendu transparent de ton conky chez moi (mais bien-sûr pas les infos....pas les mêmes du tout...)
Image
Le conky seul
Image
Voilà ton "nouveau code" (je n'ai rien modifié dans les autres valeurs texte...pour ne pas "te perturber" :lol: )

Code : Tout sélectionner

#                               conkyrc_seamod
# Date    : 05/02/2012
# Author  : SeaJey
# Version : v0.1
# License : Distributed under the terms of GNU GPL version 2 or later
#
# This version is a modification of conkyrc_lunatico wich is modification of conkyrc_orange
#
# conkyrc_orange:    http://gnome-look.org/content/show.php?content=137503&forumpage=0
# conkyrc_lunatico:  http://gnome-look.org/content/show.php?content=142884
#==============================================================================

background no
update_interval 1

cpu_avg_samples 1
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 30
gap_y 130
minimum_size 300 900
maximum_width 350

own_window yes
own_window_type normal
own_window_transparent yes
own_window_argb_visual yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_class Conky

border_inner_margin 0
border_outer_margin 0
alignment top_right


draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=10
xftalpha 0.5
uppercase no

# Defining colors
default_color FFFFFF
# Shades of Gray
color1 DDDDDD
color2 AAAAAA
color3 888888
# Orange
color4 EF5A29
# Green
color5 77B753

# Loading lua script for drawning rings
lua_load /home/eric/toto/conkyseamod.lua
lua_draw_hook_post main

## System information using conky capabilities

# Header with base system info
own_window_argb_value 0
own_window_colour 000000
TEXT
${font Ubuntu:size=10,weight:bold}${color4}SYSTEM ${hr 2}
${offset 15}${font Ubuntu:size=10,weight:normal}${color1}Linux Mint 17.1 Rebecca
${offset 15}${font Ubuntu:size=10,weight:normal}${color1}
${offset 15}${font Ubuntu:size=10,weight:normal}${color1}Démarrer: $uptime

# Showing CPU Graph
${voffset 20}
${offset 120}${cpugraph 40,183 666666 666666}${voffset -25}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}CPU
# Showing TOP 5 CPU-consumers
${offset 105}${font Ubuntu:size=10,weight:normal}${color4}${top name 1}${alignr}${top cpu 1}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color1}${top name 2}${alignr}${top cpu 2}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color2}${top name 3}${alignr}${top cpu 3}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top name 4}${alignr}${top cpu 4}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top name 5}${alignr}${top cpu 5}%

#Showing memory part with TOP 5
${voffset 40}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}MEMOIRE
${offset 105}${font Ubuntu:size=10,weight:normal}${color4}${top_mem name 1}${alignr}${top_mem mem 1}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color1}${top_mem name 2}${alignr}${top_mem mem 2}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color2}${top_mem name 3}${alignr}${top_mem mem 3}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 4}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 5}%

# Showing disk partitions: root, home and Data
${voffset 28}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}DISQUES
${offset 120}${diskiograph 33,183 666666 666666}${voffset -30}
${voffset 20}
${offset 15}${font Ubuntu:size=9,weight:bold}${color1}Free: ${font Ubuntu:size=9,weight:normal}${fs_free /}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /}
${offset 15}${font Ubuntu:size=9,weight:bold}${color1}Free: ${font Ubuntu:size=9,weight:normal}${fs_free /home}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /home}
${offset 15}${font Ubuntu:size=9,weight:bold}${color1}Free: ${font Ubuntu:size=9,weight:normal}${fs_free /media/Data}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /media/Data}

# Network data (my desktop have only LAN). ETHERNET ring is mostly useless but looks pretty, main info is in the graphs
${voffset 43}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}INTERNET
${voffset 40}             
${offset 15}${color1}${font Ubuntu:size=9,weight:bold}Up: ${alignr}${font Ubuntu:size=9,weight:normal}$color2${upspeed eth0} / ${totalup}
${offset 15}${upspeedgraph eth0 40,285 4B1B0C FF5C2B 100 -l}
${offset 15}${color1}${font Ubuntu:size=9,weight:bold}Down: ${alignr}${font Ubuntu:size=9,weight:normal}$color2${downspeed eth0} / ${totaldown}
${offset 15}${downspeedgraph eth0 40,285 324D23 77B753 100 -l}

${offset 15}${color1}Public IP :${texeci 1000 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}
${offset 15}${color1}Local IP : ${addr eth0}
${color4}${hr 2}
;)
Modifié en dernier par lm22 le sam. 7 janv. 2017 15:20, modifié 3 fois.
Manjaro-20.0.3_64 | KDE plasma 5.19.3-1 | Noyau 4.14.188| pilotes nvidia 450.57
:idea: Sauvegarder Mint quand tout va bien | Modifier / disques / partitions à l'aide de Gparted en .pdf, ou en ligne lien 1/2 et lien 2/2
Montage perso PC-tour juin 2015 : Alim modulaire 750 W | SABERTOOTH 990FX R2.0 | AMD FX-8350 Black Edition - 4,0 GHz | GeForce GTX 750 Ti OC - 2 Go | RAM DDR3 1866 Mhz 32Go - 4x8Go
2 SSD-850 pro -128 Go | 1 Disque [hybride] SSHD - 1To + 8 Go SSD |1 Disque externe usb 3.0 - 2To

zeb
Messages : 16473
Enregistré le : ven. 19 juin 2015 22:13
Localisation : plus ici

Re: parametre transparence

Message par zeb »

Salut ;)
Bizarre, à mon avis ça ne vient pas du conky mais plutôt de composition (gestionnaire de fenêtre) ou autre truc du genre (à voir qu'est-ce que tu as comme bureau)
Car voila chez moi un copier/coller de ton code, la transparence y est ;)
Image

Avatar du membre
lm22
Messages : 121
Enregistré le : jeu. 5 mai 2016 01:36

Re: parametre transparence

Message par lm22 »

lm22 a écrit :Hello !
çà ne peut pas l'faire....!

Code : Tout sélectionner

own_window_transparent yes # ok
own_window_argb_visual yes # ok
#own_window_argb_visual no # si c'est yes çà ne peux pas être no !
#own_window_colour 000000 # le commenter (comme j'ai fais pour le moment)
#own_window_argb_value 0 # ici, su tu mets 0 comme value, çà ne fera rien du tout...
@zebulon
si tu prends son code ; çà ne peut pas le faire :
je te mets le couvert...yes, et puis en même temps, je te l'enlève...no
ben, tu manges quoi ? :shock: ; bon, après, oui, il est possible que les variables diffèrent d'un environnement de bureau à un autre...notamment kde...
Un bon lien en fr => faut prendre son temps pour tout lire 8-)
;)
Edit : avec le code de notre ami Jim777
Image
Modifié en dernier par lm22 le sam. 7 janv. 2017 15:48, modifié 3 fois.
Manjaro-20.0.3_64 | KDE plasma 5.19.3-1 | Noyau 4.14.188| pilotes nvidia 450.57
:idea: Sauvegarder Mint quand tout va bien | Modifier / disques / partitions à l'aide de Gparted en .pdf, ou en ligne lien 1/2 et lien 2/2
Montage perso PC-tour juin 2015 : Alim modulaire 750 W | SABERTOOTH 990FX R2.0 | AMD FX-8350 Black Edition - 4,0 GHz | GeForce GTX 750 Ti OC - 2 Go | RAM DDR3 1866 Mhz 32Go - 4x8Go
2 SSD-850 pro -128 Go | 1 Disque [hybride] SSHD - 1To + 8 Go SSD |1 Disque externe usb 3.0 - 2To

Jim777
Messages : 53
Enregistré le : mar. 21 juil. 2015 16:22

Re: parametre transparence

Message par Jim777 »

ok je regarde ça merci a vous.
Linux Mint 20.1 Ulyssa- x64
SSD 970 EVO Plus 250GBs
CPU : Intel Core i5-10600
RAM 16 Go DDR4
Carte Graphique: NVIDIA GP108 [GeForce GT 1030]

Répondre