You are not logged in.

#1 2024-04-10 06:38:19

loutch
Member
Registered: 2015-12-12
Posts: 848

dzen2 & transparency

Hello

Since conky moved to version 1.10 any conky-clic don't work & i have found dzen2 it work great but it's not transparent i have a small black square .

Here script

#!/bin/sh
dzen2 -x 680 -y 260 -w 20 -h 20 -p -title-name barographe -e 'button1=exec:~/Vidéos/adni181baro.sh;button3=exit;onstart=exec:transset-df -n barographe 0.0' & 

Capture-d-cran-2024-04-10-08-35-02.png

here after mouse clic it open two other conky.

Capture-d-cran-2024-04-10-08-32-33.png

If anyone have the solution for making it transparent.

Many tanks

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2 2024-04-10 08:56:15

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,640

Re: dzen2 & transparency

I do not use dzen2.
I can only make your observation with conkyV1.10 when using the variable:

own_window_type = 'desktop', --and ovveride

confirm.
But I assume you know that yourself and that was already the case with 1.9. If this is mageia, what rpm packages does conky have?

Offline

#3 2024-04-10 13:48:21

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: dzen2 & transparency

@ unklar

No Mageia , it is Ubuntu xfce 22.04 & conky version

conky -v
conky 1.12.2 compiled 2022-02-23 for Linux x86_64

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky


 General:
  * math
  * hddtemp
  * portmon
  * IPv6
  * IRC
  * Curl
  * RSS
  * ICal
  * iconv
  * Weather (METAR)
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * OSS mixer support
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support
  * PulseAudio

 Lua bindings:
  * Cairo
  * Imlib2
  * RSVG
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * Xshape extension (click through)
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual
  * Own window
  * HSV Gradient

 Music detection:
  * Audacious
  * CMUS
  * MPD
  * MOC
  * XMMS2

 Default values:
  * Netdevice: eno1
  * Local configfile: $HOME/.conkyrc
  * Localedir: /usr/share/locale
  * Maximum netdevices: 256
  * Maximum text size: 16384
  * Size text buffer: 256

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#4 2024-04-10 15:00:11

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,640

Re: dzen2 & transparency

Bonjour, mon ami.

Je peux te confirmer l'erreur avec la conkyV12.2.

Pour cela, j'ai encore ici dans Debian une ancienne installation de Lilidog avec la 12.2. sur laquelle je peux reproduire l'erreur.
Je te recommande d'utiliser la 'conky-all 1.18' de ce site. Tout en bas, tu peux télécharger l'architecture amd64.


Si apt est impliqué, cela devrait être possible via

sudo apt install ./conky-all_1.18.0-1_amd64.deb

dans le répertoire de votre choix. apt te dira s'il a des problèmes.

-------------------------------
Hello, my friend.

I can confirm the error with conkyV12.2.

I also have an older Lilidog installation with 12.2 here in Debian, on which I can reproduce the error.
I recommend you to use the 'conky-all 1.18' from this page. At the bottom you can download the amd64 architecture.

If apt is in play here, this should then be done via

sudo apt install ./conky-all_1.18.0-1_amd64.deb

in the directory of your choice. Whereby apt will tell you if it has problems.

Offline

#5 2024-04-11 08:54:22

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: dzen2 & transparency

Hello


Danke  mein freund ,lässt sich nicht installieren, da zu viele Abhängigkeiten fehlen

--------------------------------------------------
Tanks for helping but this version does not install because it lacks too many dependencies

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#6 2024-04-11 14:01:35

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,640

Re: dzen2 & transparency

loutch wrote:

Tanks for helping but this version does not install because it lacks too many dependencies

Qu'en est-il de la version 1.10.8 ?

La 12.2 n'exécute effectivement aucun clic.

-------------------------------------------
What about version 1.10.8 then?

The 12.2 actually does not execute a click.

Offline

#7 2024-04-11 17:16:49

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: dzen2 & transparency

@loutch

I have never used dzen2.

Maybe this will help:
https://github.com/minos-org/dzen2/blob … EADME.dzen

I can't reproduce it but I would try like this:

dzen2 -x 680 -y 260 -w 20 -h 20 -p -title-name barographe ^bg(red) -e 'button1=exec:~/Vidéos/adni181baro.sh;button3=exit;onstart=exec:transset-df -n barographe 0.0' &

I also see this being used as well:

-bg '#ff0000'

Has the black square changed color to red?

P.S.
I don't know if the 'transparent' option is possible in both cases.

Last edited by marens (2024-04-11 17:19:28)


If people would know how little brain is ruling the world, they would die of fear.

Offline

#8 2024-04-12 07:25:49

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: dzen2 & transparency

Hello guys

@ unklar keine clic mit conky 1.10.8

@marens

Square is now red with -bg'#ff0000' & with a small black shadow

Capture-d-cran-2024-04-12-09-15-46.png


@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#9 2024-04-12 17:26:56

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: dzen2 & transparency

^ Unfortunately, I can't reproduce it, but I hope you find a solution that works for you.

Test 1

dzen2 -bg darkred -x 680 -y 260 -w 20 -h 20 -p -title-name barographe -e 'button1=exec:~/Vidéos/adni181baro.sh;button3=exit;onstart=exec:transset-df -n barographe 0.0' &

Or a combinations to see what happens:

Test 2

dzen2 ^^ib(1) -x 680 -y 260 -w 20 -h 20 -p -title-name barographe -bg darkred -e 'button1=exec:~/Vidéos/adni181baro.sh;button3=exit;onstart=exec:transset-df -n barographe 0.0' &

Test 3

dzen2 ^^bg(blue) -x 680 -y 260 -w 20 -h 20 -p -title-name barographe -bg darkred -e 'button1=exec:~/Vidéos/adni181baro.sh;button3=exit;onstart=exec:transset-df -n barographe 0.0' &

Test 4

dzen2 -bg darkgreen -x 680 -y 260 -w 20 -h 20 -p -title-name barographe -bg darkred -e 'button1=exec:~/Vidéos/adni181baro.sh;button3=exit;onstart=exec:transset-df -n barographe 0.0' &

Did the black shadow disappear in any combination?


If people would know how little brain is ruling the world, they would die of fear.

Offline

#10 2024-04-12 18:07:23

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: dzen2 & transparency

Hello

Test 1 & 4 are working but square black shadow don't disappear.

Test 2&3 don't work

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#11 2024-04-12 21:21:53

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: dzen2 & transparency

You can try lemonbar.
It supports transparency (compositor must be running) so you can set the alpha channel when you define the background color.

https://github.com/LemonBoy/bar


You must unlearn what you have learned.
    -- yoda

Offline

Board footer

Powered by FluxBB