MXFB Tips n Tricks
MXFB Tips n Tricks
I thought it might be useful and fun to run a thread on small and handy tips and tricks that are not in the documentation.
Production: 5.10, 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: MXFB Tips n Tricks
So here's what made me think of this: I often want to turn off the monitor but leave everything else running. A web search quickly gave me code that works:I mapped it to a free Fn key like this in the keys file:To restore the monitor: press Esc, move the mouse or tap the touchpad.
Code: Select all
sleep 1 ; xset dpms force off
Code: Select all
# turn off monitor
none F12 :Exec sleep 1 ; xset dpms force off
Production: 5.10, 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: MXFB Tips n Tricks
What if you like to use the standard window decorations, but to remove only the titlebar from apps that have their own minimize/maximize/close buttons?
Here's my tip for Firefox:
Right click on the toolbar and select Customize toolbar
Uncheck the Title Bar checkbox.
Edit your ~/.fluxbox/apps file.
Under:
add the line:
And now you've got this - Firefox with borders, grip and handle on the bottom, but without the titlebar.

Here's my tip for Firefox:
Right click on the toolbar and select Customize toolbar
Uncheck the Title Bar checkbox.
Edit your ~/.fluxbox/apps file.
Under:
Code: Select all
[app] (class=Firefox)
Code: Select all
[Deco] {0x6}

Last edited by kobaian on Sun Nov 07, 2021 8:17 am, edited 1 time in total.
Desktop PC: AMD Ryzen 5 5600 3.5GHz, MSI B550M PRO-VDH, 32GB RAM, Gigabyte RX 570. Laptop: MacBook Late 2008, Core2Duo 2.0GHz, 8GB RAM. Netbook: Asus EEEPC Intel Atom 1.6GHz, 2GB RAM. System: MX23 64bit/32bit Fluxbox.
Re: MXFB Tips n Tricks
Great thread, @Jerry3904 !!
Asus Prime X570-Pro | AMD Ryzen 7 3700X
16 Gig DDR4 3600 | Radeon RX 5600 XT Graphics
Samsung 860 500GB SSDs (2)
Re: MXFB Tips n Tricks
Hi @Paul.., thanks! Have you had a chance to look at MX-21 Fluxbox? I'd be interested in your reaction, if yes.
Production: 5.10, 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: MXFB Tips n Tricks
Not yet, @Jerry3904 ...will get a moment during this coming week...I was a big fan of crunchbang#!...they also had a wonderfully helpful forum (while it lasted).
Asus Prime X570-Pro | AMD Ryzen 7 3700X
16 Gig DDR4 3600 | Radeon RX 5600 XT Graphics
Samsung 860 500GB SSDs (2)
Re: MXFB Tips n Tricks
I already shared this on the forum, but here it goes:
A on-liner script that displays the current weather in your location, in your language:
@kobaian
-great tip, any for users that have netbooks with tiny screens!
P.
A on-liner script that displays the current weather in your location, in your language:
Code: Select all
geoip="$(wget -O- -q http://geoip.ubuntu.com/lookup)" ; area="$(sed -r 's/.*<RegionName>(.*?)<\/RegionName>.*/\1/g' <<< $geoip)"; corrected_area=$(echo "${area// /_}"); langu=$(locale | grep LANG | cut -d= -f2 | cut -d. -f1); l1=$(echo $langu |cut -d_ -f1); curl http://wttr.in/$corrected_area?lang=$l1
-great tip, any for users that have netbooks with tiny screens!
P.
Re: MXFB Tips n Tricks
Thanks!PPC wrote: Sun Nov 07, 2021 11:22 am @kobaian
-great tip, any for users that have netbooks with tiny screens!
So if we are talking about the low-screen-resolution netbooks, why not get rid off the titlebar for all applications and move the minimize/maximize/close buttons to the panel?
All you need is just to add to the tint2-panel buttons with the following commands:
fluxbox-remote minimize
fluxbox-remote maximize
fluxbox-remote close
Here are the buttons I have added to the top tint2-panel on my own EEEPC-netbook:
Code: Select all
#-------------------------------------
# Button 2
button = new
button_icon = /usr/share/icons/Papirus-Dark/16x16/actions/xfce-wm-minimize.svg
button_text =
button_tooltip = Minimize
button_lclick_command = fluxbox-remote minimize
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #000000 100
button_padding = 0 0
button_background_id = 0
button_centered = 0
button_max_icon_size = 16
#-------------------------------------
# Button 3
button = new
button_icon = /usr/share/icons/Papirus-Dark/16x16/actions/xfce-wm-maximize.svg
button_text =
button_tooltip = Maximize
button_lclick_command = fluxbox-remote maximize
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #000000 100
button_padding = 0 0
button_background_id = 0
button_centered = 0
button_max_icon_size = 16
#-------------------------------------
# Button 4
button = new
button_icon = /usr/share/icons/Papirus-Dark/16x16/actions/xfce-wm-close.svg
button_text =
button_tooltip = Close
button_lclick_command = fluxbox-remote close
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #ffffff 100
button_padding = 0 0
button_background_id = 0
button_centered = 0
button_max_icon_size = 16

Desktop PC: AMD Ryzen 5 5600 3.5GHz, MSI B550M PRO-VDH, 32GB RAM, Gigabyte RX 570. Laptop: MacBook Late 2008, Core2Duo 2.0GHz, 8GB RAM. Netbook: Asus EEEPC Intel Atom 1.6GHz, 2GB RAM. System: MX23 64bit/32bit Fluxbox.
Re: MXFB Tips n Tricks
Interesting, let's look at that!
Production: 5.10, 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
- darknetmatrix
- Posts: 79
- Joined: Mon Sep 28, 2015 2:59 am
Re: MXFB Tips n Tricks
autohide the tint2 panel:
https://darknetmatrix.blogspot.com/2021 ... panel.html
https://darknetmatrix.blogspot.com/2021 ... panel.html
HP Z400 Workstation HP Z210 Workstation
Intel Xeon W3565 (4) @ 3.1GHz & Intel Xeon E31225 (4) @ 3.4Ghz
Intel Xeon W3565 (4) @ 3.1GHz & Intel Xeon E31225 (4) @ 3.4Ghz