FVWM myExt collection

Message
Author
User avatar
oops
Posts: 1913
Joined: Tue Apr 10, 2018 5:07 pm

Re: FVWM3 myExt collection

#21 Post by oops »

oops wrote: Tue May 03, 2022 2:35 pm
rasat wrote: Tue May 03, 2022 11:28 am
oops wrote: Mon May 02, 2022 1:00 pm One suggestion, you can optimize all yours bigs .png files with (size divided by 2 or more):
pngquant -f --ext .png --quality 70-95 MyPicture.png
Thanks, this is great. I have been avoiding adding many png (wallpaper) images due to the large size.
Your welcome.
you can do this recusively for all .png by:

Code: Select all

cd /the-baseDir
find . -name '*.png' -exec pngquant -f --ext .png --quality 70-95 {} \;
PS: Maybe you can also provide a custom config for eepc (with small screen like: 1024x600 )
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
rasat
Posts: 650
Joined: Tue Dec 19, 2017 12:19 pm

Re: FVWM3 myExt collection

#22 Post by rasat »

oops wrote: Tue May 03, 2022 2:47 pm PS: Maybe you can also provide a custom config for eepc (with small screen like: 1024x600 )
Yes, for sure. This annoyance of odd-looking wallpaper of large resolution on a small screen can now be solved. There will be a similar script that adjusts panels and buttons as per screen resolution.
https://github.com/rasatpc/FVWM3-myEXT/ ... osition.sh

FVWM myEXT GitHub:
https://github.com/rasatpc/FVWM3-myEXT

User avatar
oops
Posts: 1913
Joined: Tue Apr 10, 2018 5:07 pm

Re: FVWM myExt collection (configs)

#23 Post by oops »

Thanks Rasat, I didn't know.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
pianokeyjoe
Posts: 420
Joined: Thu Jan 31, 2019 11:08 am

Re: FVWM3 myExt collection

#24 Post by pianokeyjoe »

oops wrote: Tue May 03, 2022 2:47 pm
oops wrote: Tue May 03, 2022 2:35 pm
rasat wrote: Tue May 03, 2022 11:28 am
Thanks, this is great. I have been avoiding adding many png (wallpaper) images due to the large size.
Your welcome.
you can do this recusively for all .png by:

Code: Select all

cd /the-baseDir
find . -name '*.png' -exec pngquant -f --ext .png --quality 70-95 {} \;
PS: Maybe you can also provide a custom config for eepc (with small screen like: 1024x600 )
Installed pngquant and experimented with the compression ratios. I wish there was a GUI version to preview the results of the different compression ratios but it all worked eitherway!
Pianokeyjoe
Intel i5 3.10ghz ,8GB ram, Intel onboard everything, 500GB HDD, MX-LINUX 19.3 :penguin:

User avatar
oops
Posts: 1913
Joined: Tue Apr 10, 2018 5:07 pm

Re: FVWM myExt collection (configs)

#25 Post by oops »

Hello,
I have tested a little bit more (the memory side) , and fvmw3 is in the middle range (beetween IceWM and XFCE4 DE), FvwmButtons consumes some extra memory.

All AMD64

20520KB - fvwm3
18936KB - FvwmScript
18844KB - FvwmButtons
18700KB - FvwmButtons
16872KB - FvwmButtons
16816KB - FvwmButtons
16752KB - FvwmButtons
13040KB - FvwmButtons
12908KB - FvwmButtons
12808KB - FvwmButtons
12596KB - FvwmPager
9312KB - FvwmIconMan
652KB - FvwmEvent
648KB - FvwmEvent
648KB - FvwmEvent
------------------------------------
190052KB: Memory used by user 'autre-mx'

//////////////////////////////////////////////////////
------------- bspwm-----------------------
3196KB - bspwm_help.sh
2444KB - bspwm
2336KB - sxhkd
------------------------------------
7976KB: Memory used by user 'autre-mx'

-----------JWM x32-------------------------
26020KB - jwm
------------------------------------
26020KB: Memory used by user 'user-mx'

----------- icewm-session 64bits-------------------------
24896KB - icewm
1960KB - icewm-session
------------------------------------
26856KB: Memory used by user 'autre-mx'
-----------icewm-session 32bits-------------------------
19132KB - icewm
1668KB - icewm-session
------------------------------------
20800KB: Memory used by user autre-mx'

------------I3------------------------
17356KB - i3
15192KB - i3bar
6668KB - i3status
------------------------------------
39216KB: Memory used by user 'autre-mx'

-------------only fluxbox - amd64-----------------------
15920KB - fluxbox
------------------------------------
15920KB: Memory used by user 'autre-mx'
------------fluxbox X32------------------------
29428KB - tint2
25508KB - wmalauncher
24544KB - wmalauncher
24524KB - wmalauncher
24476KB - wmalauncher
24420KB - wmalauncher
24384KB - wmalauncher
24352KB - wmalauncher
24324KB - wmalauncher
24256KB - wmalauncher
19964KB - wmalauncher
10240KB - fluxbox
------------------------------------
280420KB: Memory used by user 'user-mx'


------------XFCE4 with xfwm4 ------------------------
90920KB - xfwm4
52660KB - xfce4-panel
47960KB - xfce4-clipman
31016KB - xfce4-session
27212KB - xfce4-power-man
24772KB - xfce4-notifyd
2060KB - xfce-superkey
------------------------------------
276600KB: Memory used by user 'autre-mx'

------------XFCE4 with compiz (only)------------------------
147596KB - compiz
------------------------------------
147596KB: Memory used by user 'user-mx'
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
rasat
Posts: 650
Joined: Tue Dec 19, 2017 12:19 pm

Re: FVWM myExt collection (configs)

#26 Post by rasat »

oops wrote: Fri May 06, 2022 7:30 pm FvwmButtons consumes some extra memory.
Can you identify which FvwmButtons?

User avatar
oops
Posts: 1913
Joined: Tue Apr 10, 2018 5:07 pm

Re: FVWM myExt collection (configs)

#27 Post by oops »

... Yes I guess from:
/home/user/.fvwm/extraEXT/MODULES/DashToDock/dashToD.sys
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
rasat
Posts: 650
Joined: Tue Dec 19, 2017 12:19 pm

Re: FVWM myExt collection (configs)

#28 Post by rasat »

oops wrote: Sat May 07, 2022 5:36 pm ... Yes I guess from:
/home/user/.fvwm/extraEXT/MODULES/DashToDock/dashToD.sys
So, you compared the memory usage with the extensions? Do the test with the default Fvwm3.... empty .fvwm folder.

User avatar
oops
Posts: 1913
Joined: Tue Apr 10, 2018 5:07 pm

Re: FVWM myExt collection (configs)

#29 Post by oops »

rasat wrote: Sun May 08, 2022 6:15 am
oops wrote: Sat May 07, 2022 5:36 pm ... Yes I guess from:
/home/user/.fvwm/extraEXT/MODULES/DashToDock/dashToD.sys
So, you compared the memory usage with the extensions? Do the test with the default Fvwm3.... empty .fvwm folder.
Yes, without this extension (dock like or buttons), fvwm has the ~ same footprint as Icewm, or Fluxbox (without dock too by default), or I3.
It is nice, it was just to advise (with only tint2 the footprint is better).
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
rasat
Posts: 650
Joined: Tue Dec 19, 2017 12:19 pm

Re: FVWM myExt collection (configs)

#30 Post by rasat »

oops wrote: Sun May 08, 2022 9:05 am Yes, without this extension (dock like or buttons), fvwm has the ~ same footprint as Icewm, or Fluxbox (without dock too by default), or I3.
This means optimizing the extensions for lower memory usage.

About the wallpaper of different screen resolutions. At last, after breaking my head in creating a script, I found the solution.... tiled wallpaper. The default Fvwm wallpapers (480x480) are tiled.

With Gimp you can create your own seamless images.
https://www.linuxtopia.org/online_books ... ode83.html

Click menu bar: Filters → Map → Tile Seamless

I did a test on .fvwm/images/background/myExt-1920x1080.png
https://rasatpc.net/screenshot/myExt/Ti ... 00x675.png

Tiled image (seamless) 900x506 that will work well on a screen 3840x2160 and 1024x600.
https://rasatpc.net/screenshot/myExt/Ti ... 00x506.png

Another method of creating a wallpaper is with xsetroot by using different numbers. For example, run this in terminal:

Code: Select all

xsetroot -bg \#555555 -mod 4 4
Last edited by rasat on Fri Mar 17, 2023 6:06 am, edited 2 times in total.

Post Reply

Return to “Community Submissions”