MX Fluxbox Screenshots

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
ceeslans
Posts: 851
Joined: Sun Apr 14, 2019 3:48 am

Re: MX Fluxbox Screenshots

#1431 Post by ceeslans »

Jerry3904 wrote: Thu Aug 21, 2025 7:42 am What does your hash button launch?
left click = terminal // right click = root terminal
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+

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

Re: MX Fluxbox Screenshots

#1432 Post by Melber »

@ceeslans Have you found a way to get the glyphs centered in the button rather than left justified?

User avatar
Jerry3904
Administrator
Posts: 23443
Joined: Wed Jul 19, 2006 6:13 am

Re: MX Fluxbox Screenshots

#1433 Post by Jerry3904 »

ceeslans wrote: Thu Aug 21, 2025 8:35 am
Jerry3904 wrote: Thu Aug 21, 2025 7:42 am What does your hash button launch?
left click = terminal // right click = root terminal
Thanks. I didn't know we had right-click available as an option.
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

User avatar
ceeslans
Posts: 851
Joined: Sun Apr 14, 2019 3:48 am

Re: MX Fluxbox Screenshots

#1434 Post by ceeslans »

Melber wrote: Thu Aug 21, 2025 8:48 am@ceeslans Have you found a way to get the glyphs centered in the button rather than left justified?
Yep... I've removed the toolbar.button.borderWidth (or you can set its value to 0) - and using the fluxbox' toolbar spacer_[pixels] setting instead:

Code: Select all

session.screen0.toolbar.tools:	spacer_8,button.homenu,spacer_12,button.filmgr,spacer_6,button.termin,spacer_8,button.browsr,spacer_6,prevworkspace,workspacename,nextworkspace,spacer_6,iconbar,spacer_6, systemtray, clock, spacer_6,button.calndr,spacer_8,button.volume,spacer_8,button.dsktop,spacer_8,button.logout,spacer_8

Fyi: Using different button names, but take it you get the picture...
Last edited by ceeslans on Thu Aug 21, 2025 10:36 am, 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+

User avatar
ceeslans
Posts: 851
Joined: Sun Apr 14, 2019 3:48 am

Re: MX Fluxbox Screenshots

#1435 Post by ceeslans »

Jerry3904 wrote: Thu Aug 21, 2025 9:44 am>snip<Thanks. I didn't know we had right-click available as an option.
Well, not only left- and rightclick, but also mousewheel-up and -down.
Check out how my button.volume is configured:

Code: Select all

session.screen0.toolbar.button.volume.label:	\357\200\250
session.screen0.toolbar.button.volume.commands:	:exec volumeControl mute :  :exec pavucontrol  :exec volumeControl up :exec volumeControl down
Even possible to apply middleclick, but I left this one open (I don't particularly like that action...)
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+

User avatar
Jerry3904
Administrator
Posts: 23443
Joined: Wed Jul 19, 2006 6:13 am

Re: MX Fluxbox Screenshots

#1436 Post by Jerry3904 »

Very cool, thanks.
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

User avatar
Jerry3904
Administrator
Posts: 23443
Joined: Wed Jul 19, 2006 6:13 am

Re: MX Fluxbox Screenshots

#1437 Post by Jerry3904 »

@ceeslans @Melber So how would I add a right-click function to a button? Is there a standard reference now for toolbar buttons? I'm only finding scattered posts.

I'm thinking about documentation here, and have added a new entry to the Wiki to beef up support for the "traditional" mode MXFB; want to include a good section on the new toolbar (will also be doing a video). ATM that entry simply repeats the minimal text that is in the MXFB Manual.
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

User avatar
ceeslans
Posts: 851
Joined: Sun Apr 14, 2019 3:48 am

Re: MX Fluxbox Screenshots

#1438 Post by ceeslans »

Jerry3904 wrote: Fri Aug 22, 2025 6:47 am@ceeslans @Melber So how would I add a right-click function to a button? Is there a standard reference now for toolbar buttons? I'm only finding scattered posts.
Was struggling with the correct setup myself (hence your 'scattered posts' remark ;) ) but it is actually quite simple:

Code: Select all

session.screen0.toolbar.button.[name].label:	[glyph/text]
session.screen0.toolbar.button.[name].commands:   :[leftclick] {command}   :[middleclick] {command}  :[rightclick] {command}  :[wheelup] {command}  :[wheeldown] {command}
Note the existence of the colon ' : ' even for mouse actions without an assigned {command}
if you want to enable only leftclick and rightclick for two internet applications (e.g firefox and thunderbird), it could look like this:

Code: Select all

session.screen0.toolbar.button.internet.label:     (or: internet)
session.screen0.toolbar.button.internet.commands:   :exec firefox  :  :exec thunderbird
HTH

[EDIT] corrected some errors in the quoted session.screen0.toolbar.button.[name].commands code...
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+

User avatar
Jerry3904
Administrator
Posts: 23443
Joined: Wed Jul 19, 2006 6:13 am

Re: MX Fluxbox Screenshots

#1439 Post by Jerry3904 »

Thanks. I was actually referring to the absence of information online.
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

User avatar
Jerry3904
Administrator
Posts: 23443
Joined: Wed Jul 19, 2006 6:13 am

Re: MX Fluxbox Screenshots

#1440 Post by Jerry3904 »

So I just realized that @Melber has a right-click on the Appfinder icon of the MX toolbar that brings up the settings app for it:

Code: Select all

session.screen0.toolbar.button.appfinder.commands:	:exec rofi -show drun -theme ~/.config/rofi/themes/appfinder/mxfb-appfinder.rasi : :exec appfinder-settings
It never even occurred to me to test that ...

So that colon: in the instance above, how does Fluxbox know that

Code: Select all

 : :exec appfinder-settings
indicates a right-click and not some other mouse action?
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

Post Reply

Return to “MX Fluxbox Official Release”