Trimming the fat

Help for MX Fluxbox
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
rokytnji.1
Global Moderator
Posts: 828
Joined: Sun Apr 13, 2014 9:06 pm

Re: Trimming the fat

#21 Post by rokytnji.1 »

Since you say there is no hope for you.

Code: Select all

harry@scooter:~
$  sudo ps_mem.py 
[sudo] password for harry: 
 Private  +   Shared  =  RAM used	Program

112.0 KiB +  11.5 KiB = 123.5 KiB	runit
132.0 KiB +  11.5 KiB = 143.5 KiB	runsvdir
148.0 KiB +  21.5 KiB = 169.5 KiB	fusermount3
156.0 KiB +  22.5 KiB = 178.5 KiB	seatd
220.0 KiB +  19.5 KiB = 239.5 KiB	gpm
300.0 KiB +  58.5 KiB = 358.5 KiB	cron
364.0 KiB +  57.5 KiB = 421.5 KiB	dbus-launch
256.0 KiB + 196.5 KiB = 452.5 KiB	startup
356.0 KiB +  97.5 KiB = 453.5 KiB	udevil
376.0 KiB +  79.5 KiB = 455.5 KiB	icewm-session
584.0 KiB +  19.5 KiB = 603.5 KiB	acpid
460.0 KiB + 237.5 KiB = 697.5 KiB	rpcbind
652.0 KiB + 163.5 KiB = 815.5 KiB	dconf-service
636.0 KiB + 251.5 KiB = 887.5 KiB	saned
640.0 KiB + 309.5 KiB = 949.5 KiB	devmon
824.0 KiB + 310.5 KiB =   1.1 MiB	desktop-session
840.0 KiB + 304.5 KiB =   1.1 MiB	at-spi-bus-launcher
856.0 KiB + 371.0 KiB =   1.2 MiB	getty (6)
  1.2 MiB + 269.5 KiB =   1.4 MiB	polkitd
  1.3 MiB + 206.5 KiB =   1.5 MiB	upowerd
944.0 KiB + 723.0 KiB =   1.6 MiB	sudo (2)
  1.4 MiB + 447.5 KiB =   1.8 MiB	dbus-daemon (3)
  1.5 MiB + 362.5 KiB =   1.9 MiB	bash
  1.7 MiB + 256.5 KiB =   2.0 MiB	udevd
  1.5 MiB + 479.5 KiB =   2.0 MiB	pipewire-pulse
  2.1 MiB + 136.5 KiB =   2.2 MiB	bluetoothd
  2.2 MiB + 352.0 KiB =   2.5 MiB	runsv (24)
  2.7 MiB + 277.5 KiB =   3.0 MiB	xdg-permission-store
  2.6 MiB + 467.5 KiB =   3.0 MiB	cupsd
  2.9 MiB + 274.5 KiB =   3.1 MiB	at-spi2-registryd
  2.9 MiB + 529.5 KiB =   3.4 MiB	slimski
  2.3 MiB +   1.1 MiB =   3.4 MiB	sshd
  3.8 MiB +  85.5 KiB =   3.9 MiB	connmand
  4.3 MiB +  21.5 KiB =   4.3 MiB	haveged
  4.3 MiB + 386.5 KiB =   4.7 MiB	conky
  5.1 MiB + 276.5 KiB =   5.4 MiB	xdg-document-portal
  5.0 MiB + 895.5 KiB =   5.9 MiB	xdg-desktop-portal
  5.0 MiB +   1.0 MiB =   6.0 MiB	wpa_supplicant
  6.6 MiB + 559.5 KiB =   7.2 MiB	udisksd
  5.5 MiB +   2.2 MiB =   7.7 MiB	volumeicon
  7.0 MiB +   2.0 MiB =   9.0 MiB	xdg-desktop-portal-gtk
  8.9 MiB +   1.0 MiB =   9.9 MiB	pipewire
  6.5 MiB +   4.5 MiB =  10.9 MiB	roxterm
  9.2 MiB +   2.8 MiB =  12.0 MiB	icewm
 11.7 MiB +   1.2 MiB =  12.8 MiB	wireplumber
 43.6 MiB +  11.8 MiB =  55.3 MiB	python3.11
 33.4 MiB +  29.8 MiB =  63.2 MiB	cmst
 56.0 MiB +  24.5 MiB =  80.5 MiB	Xorg
753.2 MiB + 119.1 MiB = 872.2 MiB	firefox-esr (14)
---------------------------------
                          1.2 GiB
=================================

User avatar
Durhammer
Posts: 373
Joined: Tue Nov 24, 2020 9:07 pm

Re: Trimming the fat

#22 Post by Durhammer »

rokytnji.1 wrote: Tue Mar 04, 2025 3:28 pm Since you say there is no hope for you.

Code: Select all

harry@scooter:~
$  sudo ps_mem.py 
[sudo] password for harry: 
 Private  +   Shared  =  RAM used	Program

112.0 KiB +  11.5 KiB = 123.5 KiB	runit
132.0 KiB +  11.5 KiB = 143.5 KiB	runsvdir
148.0 KiB +  21.5 KiB = 169.5 KiB	fusermount3
156.0 KiB +  22.5 KiB = 178.5 KiB	seatd
220.0 KiB +  19.5 KiB = 239.5 KiB	gpm
300.0 KiB +  58.5 KiB = 358.5 KiB	cron
364.0 KiB +  57.5 KiB = 421.5 KiB	dbus-launch
256.0 KiB + 196.5 KiB = 452.5 KiB	startup
356.0 KiB +  97.5 KiB = 453.5 KiB	udevil
376.0 KiB +  79.5 KiB = 455.5 KiB	icewm-session
584.0 KiB +  19.5 KiB = 603.5 KiB	acpid
460.0 KiB + 237.5 KiB = 697.5 KiB	rpcbind
652.0 KiB + 163.5 KiB = 815.5 KiB	dconf-service
636.0 KiB + 251.5 KiB = 887.5 KiB	saned
640.0 KiB + 309.5 KiB = 949.5 KiB	devmon
824.0 KiB + 310.5 KiB =   1.1 MiB	desktop-session
840.0 KiB + 304.5 KiB =   1.1 MiB	at-spi-bus-launcher
856.0 KiB + 371.0 KiB =   1.2 MiB	getty (6)
  1.2 MiB + 269.5 KiB =   1.4 MiB	polkitd
  1.3 MiB + 206.5 KiB =   1.5 MiB	upowerd
944.0 KiB + 723.0 KiB =   1.6 MiB	sudo (2)
  1.4 MiB + 447.5 KiB =   1.8 MiB	dbus-daemon (3)
  1.5 MiB + 362.5 KiB =   1.9 MiB	bash
  1.7 MiB + 256.5 KiB =   2.0 MiB	udevd
  1.5 MiB + 479.5 KiB =   2.0 MiB	pipewire-pulse
  2.1 MiB + 136.5 KiB =   2.2 MiB	bluetoothd
  2.2 MiB + 352.0 KiB =   2.5 MiB	runsv (24)
  2.7 MiB + 277.5 KiB =   3.0 MiB	xdg-permission-store
  2.6 MiB + 467.5 KiB =   3.0 MiB	cupsd
  2.9 MiB + 274.5 KiB =   3.1 MiB	at-spi2-registryd
  2.9 MiB + 529.5 KiB =   3.4 MiB	slimski
  2.3 MiB +   1.1 MiB =   3.4 MiB	sshd
  3.8 MiB +  85.5 KiB =   3.9 MiB	connmand
  4.3 MiB +  21.5 KiB =   4.3 MiB	haveged
  4.3 MiB + 386.5 KiB =   4.7 MiB	conky
  5.1 MiB + 276.5 KiB =   5.4 MiB	xdg-document-portal
  5.0 MiB + 895.5 KiB =   5.9 MiB	xdg-desktop-portal
  5.0 MiB +   1.0 MiB =   6.0 MiB	wpa_supplicant
  6.6 MiB + 559.5 KiB =   7.2 MiB	udisksd
  5.5 MiB +   2.2 MiB =   7.7 MiB	volumeicon
  7.0 MiB +   2.0 MiB =   9.0 MiB	xdg-desktop-portal-gtk
  8.9 MiB +   1.0 MiB =   9.9 MiB	pipewire
  6.5 MiB +   4.5 MiB =  10.9 MiB	roxterm
  9.2 MiB +   2.8 MiB =  12.0 MiB	icewm
 11.7 MiB +   1.2 MiB =  12.8 MiB	wireplumber
 43.6 MiB +  11.8 MiB =  55.3 MiB	python3.11
 33.4 MiB +  29.8 MiB =  63.2 MiB	cmst
 56.0 MiB +  24.5 MiB =  80.5 MiB	Xorg
753.2 MiB + 119.1 MiB = 872.2 MiB	firefox-esr (14)
---------------------------------
                          1.2 GiB
=================================
Hey, sir, good to hear from you! We're not that far off now. Don't know about "no hope" but now lots of great help! Nice to see your list including the "slimski" that @AVLinux pointed to. Pretty tiny thing! I'm not quite sure what I need to do to go about implementing it, however. In a way, I'm leery of changing after having the issues with LightDM in my multi-monitor setup, as documented in this ticket. And yes, at some point, I do plan to get down to setting up either IceWM or jwm. Both are light and delightfully so to me. Nice to see udevil in the mix. I had been using udiskie, but it is way bigger. I'll have to give the udevil his due and try it. I don't remember why I didn't like roxterm, but I see I might have to give it another shot, it seems to be half the size of lxterminal. So what's launching Python3.11 on YOUR system?

User avatar
siamhie
Global Moderator
Posts: 3368
Joined: Fri Aug 20, 2021 5:45 pm

Re: Trimming the fat

#23 Post by siamhie »

Durhammer wrote: Tue Mar 04, 2025 3:27 pm Still puzzled about muzzling wmalauncher and idesk without having to remove them altogether.
Edit Startup and comment out this line.

Code: Select all

# add desktop icons
#idesktoggle idesk on 1>/dev/null 2>&1 &
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
Durhammer
Posts: 373
Joined: Tue Nov 24, 2020 9:07 pm

Re: Trimming the fat

#24 Post by Durhammer »

:duh:
siamhie wrote: Tue Mar 04, 2025 4:12 pm
Durhammer wrote: Tue Mar 04, 2025 3:27 pm Still puzzled about muzzling wmalauncher and idesk without having to remove them altogether.
Edit Startup and comment out this line.

Code: Select all

# add desktop icons
#idesktoggle idesk on 1>/dev/null 2>&1 &
Well that's embarrasing! :duh: Somehow I completely overlooked that. Thanks!

BTW, mpd was a system service. I had a vague recollection of that from when I installed it, and it kept having errors on startup and whenever I did anything with apt. I just ran "sudo systemctl disable mpd" and now it doesn't launch at boot time. Getting better, y'all! Thanks!

EDIT: okay, that got rid of idesk but not wmalauncher. Down to 342 MB and still working fine. Interesting side note -- I booted up with systemd, which added about 100 MB, a little of which was the pavuctl volume icon on the systray. I now see why it doesn't show up unless I boot with systemd....
Last edited by Durhammer on Tue Mar 04, 2025 4:33 pm, edited 1 time in total.

User avatar
siamhie
Global Moderator
Posts: 3368
Joined: Fri Aug 20, 2021 5:45 pm

Re: Trimming the fat

#25 Post by siamhie »

Durhammer wrote: Tue Mar 04, 2025 4:22 pm :duh:
siamhie wrote: Tue Mar 04, 2025 4:12 pm
Durhammer wrote: Tue Mar 04, 2025 3:27 pm Still puzzled about muzzling wmalauncher and idesk without having to remove them altogether.
Edit Startup and comment out this line.

Code: Select all

# add desktop icons
#idesktoggle idesk on 1>/dev/null 2>&1 &
Well that's embarrasing! :duh: Somehow I completely overlooked that. Thanks!
:toast:

BTW, mpd was a system service. I had a vague recollection of that from when I installed it, and it kept having errors on startup and whenever I did anything with apt. I just ran "sudo systemctl disable mpd" and now it doesn't launch at boot time. Getting better, y'all! Thanks!
If your not using the daemon, why not just remove mpd?
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
Durhammer
Posts: 373
Joined: Tue Nov 24, 2020 9:07 pm

Re: Trimming the fat

#26 Post by Durhammer »

@siamhie asked:
If your not using the daemon, why not just remove mpd?
I'm not using it as a daemon. It gets loaded as a "personal" server when I use Cantata. I really like Cantata, but I am getting used to Audacious, though it's not as easy to use and doesn't have the niceties of Cantata such as eye candy (album and artist art, Wiki or FM notes, etc.) whilst streaming. It only seems to show album art (no lyrics or other info) when playing files (.mp3, .wav, etc.). Among other reasons to keep Cantata around is that Audacious doesn't have any radio plugins to search for local or named stations.

Okay, I just got a reminder (that you don't see) of why I was using touchpad-indicator. Sigh....

EDIT: and somewhat surprised that f-box has no "native" settings app for the mouse and touchpad. The only thing that shows up in the system settings app is the touchpad-indicator (I suppose it doesn't show up if I hadn't installed it).

User avatar
Durhammer
Posts: 373
Joined: Tue Nov 24, 2020 9:07 pm

Re: Trimming the fat

#27 Post by Durhammer »

Still wondering where "wmalauncher" is getting launched. Here's a hint that I don't quite know where to go to change anything:

Code: Select all

$ ps -ef | grep "wmalauncher"
xxxxxxxx    6404       1  0 16:28 ?        00:00:00 wmalauncher --desktop-file mx-tools.desktop --tooltip-text MX Tools --background-color #1d2324 --border-color #1d2324 --hover-background-color #29353b --hover-border-color #0f56d9 --window-size 48 --tooltip-show-delay 250 --tooltip-text-padding 3 --tooltip-border-size 1 --tooltip-foreground-color #1d2324 --tooltip-background-color #cacdd0
xxxxxxxx    6406       1  0 16:28 ?        00:00:00 wmalauncher --desktop-file mxfb-help.desktop --tooltip-text Help --background-color #1d2324 --border-color #1d2324 --hover-background-color #29353b --hover-border-color #0f56d9 --window-size 48 --tooltip-show-delay 250 --tooltip-text-padding 3 --tooltip-border-size 1 --tooltip-foreground-color #1d2324 --tooltip-background-color #cacdd0
xxxxxxxx    6408       1  0 16:28 ?        00:00:00 wmalauncher --desktop-file custom-toolbox-mxfb.desktop --background-color #1d2324 --border-color #1d2324 --hover-background-color #29353b --hover-border-color #0f56d9 --window-size 48 --tooltip-text Settings manager --tooltip-show-delay 250 --tooltip-text-padding 3 --tooltip-border-size 1 --tooltip-foreground-color #1d2324 --tooltip-background-color #cacdd0
I DO remember early on, that the MX Help and MX tools icons were loitering around on my desktop, but I "deleted" them. Guess that doesn't get rid of them entirely, hmmmm? How do I do that? (But I don't remember about the third one.)

User avatar
Melber
Developer
Posts: 1311
Joined: Tue Mar 23, 2021 4:19 pm

Re: Trimming the fat

#28 Post by Melber »

Durhammer wrote: Tue Mar 04, 2025 5:16 pm Still wondering where "wmalauncher" is getting launched. Here's a hint that I don't quite know where to go to change anything:
iirc, wmalauncher is the mxfb dock (those 3 buttons on the left side, which is what you are finding with the ps -ef | grep "wmalauncher")

Does commenting out this line in fluxbox startup file help?

Code: Select all

#set the default dock
$HOME/.fluxbox/scripts/DefaultDock.mxdk

User avatar
Durhammer
Posts: 373
Joined: Tue Nov 24, 2020 9:07 pm

Re: Trimming the fat

#29 Post by Durhammer »

Melber wrote: Tue Mar 04, 2025 5:51 pm
Durhammer wrote: Tue Mar 04, 2025 5:16 pm Still wondering where "wmalauncher" is getting launched. Here's a hint that I don't quite know where to go to change anything:
iirc, wmalauncher is the mxfb dock (those 3 buttons on the left side, which is what you are finding with the ps -ef | grep "wmalauncher")

Does commenting out this line in fluxbox startup file help?

Code: Select all

#set the default dock
$HOME/.fluxbox/scripts/DefaultDock.mxdk
It might help, but it's not in my f-box startup file! I am not using the Fluxbox panel. I use tint2. But maybe I didn't completely disable the panel???

Meanwhile, woo-hoo! My startup footprint is now down to 317 MB (see below). One thing that changed this time is that for some strange reason, my wallpaper is different. I was using a "field of lights" (love it) but now I have this mountain range scene. Strange!

I'm going to try to find out how to replace lightdm with slimski, even if it only saves a little over 4 MB. And I'll look for the f-box panel thing if it's possibly defined elsewhere.

Code: Select all

$ sudo ps_mem.py
   
 Private  +   Shared  =  RAM used	Program

188.0 KiB +  25.5 KiB = 213.5 KiB	acpid
200.0 KiB +  32.5 KiB = 232.5 KiB	init
232.0 KiB +   4.5 KiB = 236.5 KiB	acpi_fakekeyd
224.0 KiB +  25.5 KiB = 249.5 KiB	sh
292.0 KiB +  43.5 KiB = 335.5 KiB	cron
436.0 KiB +  97.5 KiB = 533.5 KiB	rpc.statd
520.0 KiB +  28.5 KiB = 548.5 KiB	rpc.idmapd
564.0 KiB +  33.5 KiB = 597.5 KiB	cgmanager
584.0 KiB + 125.5 KiB = 709.5 KiB	rpcbind
136.0 KiB + 641.0 KiB = 777.0 KiB	saned (2)
564.0 KiB + 496.0 KiB =   1.0 MiB	avahi-daemon (2)
  1.1 MiB +  13.5 KiB =   1.1 MiB	ssh-agent
844.0 KiB + 423.0 KiB =   1.2 MiB	getty (6)
  1.1 MiB + 287.5 KiB =   1.4 MiB	accounts-daemon
624.0 KiB + 924.0 KiB =   1.5 MiB	chronyd (2)
944.0 KiB + 650.5 KiB =   1.6 MiB	dbus
  1.3 MiB + 257.5 KiB =   1.6 MiB	dbus-launch (3)
888.0 KiB + 958.0 KiB =   1.8 MiB	sudo (2)
  2.0 MiB +  16.5 KiB =   2.0 MiB	smartd
  2.0 MiB +  55.5 KiB =   2.1 MiB	rsyslogd
  2.0 MiB + 321.5 KiB =   2.3 MiB	bluetoothd
  1.7 MiB + 740.5 KiB =   2.4 MiB	pipewire-pulse
  2.6 MiB + 106.5 KiB =   2.7 MiB	bash
  2.7 MiB + 365.5 KiB =   3.0 MiB	nmbd
  2.9 MiB + 263.5 KiB =   3.2 MiB	xdg-permission-store
  3.2 MiB +  13.5 KiB =   3.2 MiB	haveged
  2.9 MiB + 346.5 KiB =   3.3 MiB	polkitd
  2.6 MiB + 719.5 KiB =   3.3 MiB	cupsd
  3.1 MiB + 325.5 KiB =   3.4 MiB	gvfsd-fuse
  2.9 MiB + 577.5 KiB =   3.5 MiB	dbus-daemon (5)
  3.5 MiB + 328.5 KiB =   3.8 MiB	gvfsd
  3.6 MiB + 397.5 KiB =   3.9 MiB	systemd-udevd
  3.8 MiB + 498.5 KiB =   4.3 MiB	systemd-logind
  3.7 MiB + 598.5 KiB =   4.3 MiB	dunst
  4.1 MiB + 947.5 KiB =   5.0 MiB	fluxbox
  4.2 MiB + 945.0 KiB =   5.2 MiB	lightdm (2)
  5.1 MiB + 342.5 KiB =   5.4 MiB	at-spi-bus-launcher
  5.7 MiB + 490.5 KiB =   6.2 MiB	colord
  5.8 MiB +   1.1 MiB =   6.8 MiB	wpa_supplicant
  4.1 MiB +   2.8 MiB =   6.9 MiB	polkit-gnome-authentication-agent-1
  4.3 MiB +   2.9 MiB =   7.2 MiB	tint2
  6.3 MiB +   1.1 MiB =   7.4 MiB	cups-browsed
  7.5 MiB +   1.2 MiB =   8.7 MiB	NetworkManager
  8.3 MiB + 769.5 KiB =   9.0 MiB	conky
  6.4 MiB +   3.3 MiB =   9.7 MiB	pipewire
  5.0 MiB +   5.8 MiB =  10.8 MiB	smbd (3)
  9.3 MiB +   2.6 MiB =  11.8 MiB	parcellite
  7.2 MiB +   5.9 MiB =  13.1 MiB	wmalauncher (3)
 18.7 MiB +   6.4 MiB =  25.1 MiB	lxterminal
 23.1 MiB +   4.2 MiB =  27.3 MiB	wireplumber
 88.2 MiB +   1.0 MiB =  89.2 MiB	Xorg
---------------------------------
                        321.0 MiB
=================================

User avatar
Durhammer
Posts: 373
Joined: Tue Nov 24, 2020 9:07 pm

Re: Trimming the fat

#30 Post by Durhammer »

Hey, @Melber -- I used xfe file manager to search for "wmalauncher" in files under ~/.fluxbox and found three:

DefaultDock.mxdk
out-of-sight
slitlist

...and quite obviously, DefaultDock.mxdk appears to be the culprit. For one thing, it's executable, and the other thing is that it has all three of the problem wmalauncher items. Where does it get actually launched? Is it outside of MY (~/.fluxbox) realm?

EDIT: NEVERMIND!!!! Happily, the same search tool got me right to where you tried to point me to -- the startup file! Now I'm duh-bly ( :duh: ) embarrassed at missing it the first time around! THANKS!!!!
Last edited by Durhammer on Tue Mar 04, 2025 6:23 pm, edited 1 time in total.

Post Reply

Return to “MX Fluxbox Official Release”