Sort and improve readability of init
Re: Sort and improve readability of init
Confirm Cees' toolbar placement rewrites the init file.
Changing the fb-style with mx-tweak also results in an unordered init
Changing the fb-style with mx-tweak also results in an unordered init
Re: Sort and improve readability of init
Thank you (thought I'd gone bonkers)Melber wrote: Sun Feb 23, 2025 2:39 pmConfirm Cees' toolbar placement rewrites the init file.
Changing the fb-style with mx-tweak also results in an unordered init
Last edited by ceeslans on Sun Feb 23, 2025 3:22 pm, edited 1 time in total.
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+
-
- Posts: 338
- Joined: Fri Jul 17, 2020 10:32 am
Re: Sort and improve readability of init
Confirmed here as well!
The behavior seems to be: if configuring Fluxbox via the textfiles (i.e. changing the toolbar.placement directly in a text editor) it just never mucks up the init when reloading. Otherwise this would have been evident here as I configure directly via textfiles. Conversely, it seems when configuring it using the menu, it mucks the init up immediately :P when clicking on the menu entry (i.e. a new position for the toolbar), no reloading required.
The behavior seems to be: if configuring Fluxbox via the textfiles (i.e. changing the toolbar.placement directly in a text editor) it just never mucks up the init when reloading. Otherwise this would have been evident here as I configure directly via textfiles. Conversely, it seems when configuring it using the menu, it mucks the init up immediately :P when clicking on the menu entry (i.e. a new position for the toolbar), no reloading required.
Last edited by Nokkaelaein on Sun Feb 23, 2025 3:04 pm, edited 1 time in total.
Re: Sort and improve readability of init
seems like rootMenu --> Settings --> Configure --> anything results in an init rewrite
-
- Posts: 338
- Joined: Fri Jul 17, 2020 10:32 am
Re: Sort and improve readability of init
Yeah it looks like just blurts out all settings anew into the file, in the predetermined order it's made to do so :-]Melber wrote: Sun Feb 23, 2025 3:04 pm seems like rootMenu --> Settings --> Configure --> anything results in an init rewrite
Re: Sort and improve readability of init
I have always just used the text files + , so have never seen this problem.
BTW
1) the problem is not in the refresh/reconfigure coding, as I first thought, because if I open the init file and make a change using the menu path, I see that the scramble has already taken place.
2) it also doesn't seem to be a return to fundamental template, as far as I can tell: the init in /etx/X11/Fluxbox is very simple
BTW
1) the problem is not in the refresh/reconfigure coding, as I first thought, because if I open the init file and make a change using the menu path, I see that the scramble has already taken place.
2) it also doesn't seem to be a return to fundamental template, as far as I can tell: the init in /etx/X11/Fluxbox is very simple
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
-
- Posts: 338
- Joined: Fri Jul 17, 2020 10:32 am
Re: Sort and improve readability of init
Yep, same here.Jerry3904 wrote: Sun Feb 23, 2025 3:48 pm I have always just used the text files + , so have never seen this problem.
Re: Sort and improve readability of init
@Melber's observation should be reason enough to disregard the categorized structure for MX25 - or at least for now, until one can find out how to address this basic fluxbox rewrite processChanging the fb-style with mx-tweak also results in an unordered init
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+
Re: Sort and improve readability of init
I never had that entire submenu in MXFB until MX-23, and am now thinking of taking it back out--at least for myself.
The entries in our Menu > Settings > Configure (except the last)all bring up the relevant file in the text editor, where changes do not rearrange init that I have seen. Rearrangement only happens if you go through Menu > Settings > Configure > Window, that name being my renaming of the Fluxbox "Configure."
I could imagine a script "config_init_restore" that began by backing up the current init to ~/.restore/fluxbox/ then launched that handy little Window/Configure entry (moved out of the menu to ~/.fluxbix/submenus/) and then finished by restoring the backed up init after using sed to update the changed values. Not sure ATM how that would co-exist with the text editor method.
The entries in our Menu > Settings > Configure (except the last)all bring up the relevant file in the text editor, where changes do not rearrange init that I have seen. Rearrangement only happens if you go through Menu > Settings > Configure > Window, that name being my renaming of the Fluxbox "Configure."
I could imagine a script "config_init_restore" that began by backing up the current init to ~/.restore/fluxbox/ then launched that handy little Window/Configure entry (moved out of the menu to ~/.fluxbix/submenus/) and then finished by restoring the backed up init after using sed to update the changed values. Not sure ATM how that would co-exist with the text editor method.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Sort and improve readability of init
I prefer going through the root menu as apposed to editing the init file directly.
When setting the opacity of menus, windows and toolbars, it's a simple as scrolling the mouse wheel up and down.

When setting the opacity of menus, windows and toolbars, it's a simple as scrolling the mouse wheel up and down.

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.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.