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
AVLinux
Posts: 2922
Joined: Wed Jul 15, 2020 1:15 am

Re: MX Fluxbox Screenshots

#961 Post by AVLinux »

@ceeslans

As usual, it looks tremendous! Is that your own jgmenu config? Unfortunately the latest jgmenu update broke the custom menu I had done for MXDE (Enlightenment-based) and I haven't come up with a new design I'm happy with, I would be interested in your config for my next Bookworm version if that would be possible?

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

Re: MX Fluxbox Screenshots

#962 Post by siamhie »

I learned something new in fluxbox. I can swap out the solid line separator with keyboard symbols using the [nop] code.

Code: Select all

*[nop]* ('label') <'icon'>;;
    Insert a non-operational item into the current menu. This is much like
    *[separator]*, but instead of a line, it inserts a 'label'. This can be used
    to help format the menu into blocks or sections if so desired. The 'label' is
    optional, and if omitted a blank item will be inserted.

This is my main menu config now.

Code: Select all

#the default versions of the submenus are located in /usr/share/mxflux/menu

[begin] (MX Fluxbox)
	    [submenu] (All Apps)
            [include] (~/.fluxbox/submenus/full_menu)
            [separator]
            [exec] (Update)  {/usr/bin/mxfb-menu-generator}
            [exec] (Disable) {mx-tweak --other}
   [end]
	[submenu] (Recent files) 
			[include] (~/.fluxbox/submenus/recent_files_menu)
			[separator]
			[exec] (Update) {~/.fluxbox/scripts/recentfiles-fbmenu}
		[end]	
    [nop] (**********)
    [nop] (**********)
    [exec] (Librewolf) {librewolf}
    [exec] (Thunar) {exo-open $HOME}
    [exec] (Terminal) {xfce4-terminal}
    [exec] (Run) {mxfb-rofirun}
    [submenu] (Emby)
			[exec] (Start) {systemctl start emby-server.service}
			[exec] (Stop)  {systemctl stop emby-server.service}
			[end]
	[submenu] (VPN)
			[exec] (Start) {systemctl start nordvpnd.service}
			[exec] (Stop)  {systemctl stop nordvpnd.service}
			[end]
    [exec] (UMS) {sh /home/siamhie/ums-10.17.1/UMS.sh}
    [exec] (XMMS) {xmms}
    [exec] (Weather) {mxfb-simple-weather} 
    [nop] (**********)
    [nop] (**********)
    [submenu] (Appearance)
    [include] (~/.fluxbox/submenus/appearance)
    [end]
    [submenu] (Settings)
    [include] (~/.fluxbox/submenus/settings)
    [end]
    [submenu] (Out of sight)
        [include] (~/.fluxbox/submenus/out-of-sight)
    [end]
    [submenu] (Leave)
        [exec] (Refresh) {fluxbox-remote restart; idesktoggle idesk refresh }
        [exec] (Suspend) {sudo 'pm-suspend'}
        [exit] (Logout) 
        [exec] (Reboot) {sudo /sbin/reboot} 
        [exec] (Shutdown) {sudo /sbin/halt}
    [end]
[end]


Image
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
Jerry3904
Administrator
Posts: 23046
Joined: Wed Jul 19, 2006 6:13 am

Re: MX Fluxbox Screenshots

#963 Post by Jerry3904 »

Nice flexibility.
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

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

Re: MX Fluxbox Screenshots

#964 Post by ceeslans »

AVLinux wrote: Thu Jul 20, 2023 7:59 pm@ceeslans
As usual, it looks tremendous! Is that your own jgmenu config? Unfortunately the latest jgmenu update broke the custom menu I had done for MXDE (Enlightenment-based) and I haven't come up with a new design I'm happy with, I would be interested in your config for my next Bookworm version if that would be possible?
Sure! Attached is the archive with my jgmenu config files; these need to be placed in ~/.config/jgmenu folder. And below also a small script called 'exitcmd' , that the append.csv file calls for. (I use this script systemwide for init-agnostic logout/exit commands).

Please note that I'm basically only using jgmenu for application launching from a tint2 button, and is configured to apply the color- and font settings of the running tint2 panel. If running as standalone rightclick desktop menu, you will need to set independent colors yourself.
Default iconsize is set at 16px , but you can override this in the tint2 exec command e.g.

Code: Select all

jgmenu --icon-size=20     or:
jgmenu --icon-size=24
## or if you want to disable icons altogether:
jgmenu --icon-size=0
(note that this --icon-size= option does not work in combination with the 'jgmenu_run' command ...).

exitcmd (make it executable and place it in your $path)

Code: Select all

#!/bin/bash

### simple script to set correct exit-option commands 
### for MX-21 Fluxbox --> booting 'sysvinit' or 'systemd'

### options
# -f : reFresh fluxbox
# -l : Logout user
# -k : locK screen
# -s : Suspend
# -h : Hibernate
# -r : Reboot
# -p : Poweroff
# no option selected: --> will invoke notify-send

###=========================================================

cmd_rfresh="fluxbox-remote restart"
cmd_lgout="pkill -KILL -u $USER "
cmd_lck="dm-tool switch-to-greeter"

if [[ ! -x /run/systemd/system ]];then
	cmd_sspend="sudo pm-suspend"
	cmd_hibern="sudo pm-hibernate"
	cmd_rboot="sudo reboot"
	cmd_pdown="sudo poweroff"
else
	cmd_sspend="systemctl suspend"
	cmd_hibern="systemctl hibernate"
	cmd_rboot="systemctl reboot"
	cmd_pdown="systemctl poweroff"
fi

case "$1" in
    -f) $cmd_rfresh 
		;;
    -l) $cmd_lgout 
		;;
    -k) $cmd_lck 
		;;
    -s) $cmd_sspend 
		;;
    -h) $cmd_hibern 
		;;
    -r) $cmd_rboot 
		;;
    -p) $cmd_pdown 
		;;
    *) notify-send -t 5000 "no exit-option specified" -i "/usr/share/icons/Papirus-Dark/24x24/actions/gtk-cancel.svg"
		;;

esac
 
You do not have the required permissions to view the files attached to this post.
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
i_ri
Posts: 1070
Joined: Tue Jun 30, 2015 12:26 am

Re: MX Fluxbox Screenshots

#965 Post by i_ri »

[nop] (hello )
everyone and siamhie
With the font DejaVu Sans
nop found a bookworm bowtie, mrowkoob bowtie.

Bracket {text} and [nop] in submenu extend message.
An empty submenu text compare to nop.

[nop] (↓⇊ ➴➶ ♪♩♫♬ ⧓ bookworm )
[nop] (№②③➁➂)
[submenu] (trial∷∷∷∷∷∷∷∷♩) {empty}
[end]
[nop] (∺∷)

my system rolls with UTF8 encoding, so it works at UTF8 without any tags.
If ever You need to change from what you run , to a different temporary encoding, tags look like
this sample

[encoding] {UTF-8}
[nop] (↓⇊ ➴➶ ♪♩♫♬ ⧓ bookworm )
[endencoding]
You do not have the required permissions to view the files attached to this post.
Last edited by i_ri on Sat Jul 22, 2023 3:13 am, edited 2 times in total.

User avatar
AVLinux
Posts: 2922
Joined: Wed Jul 15, 2020 1:15 am

Re: MX Fluxbox Screenshots

#966 Post by AVLinux »

@ceeslans

Thanks so much, will experiment with it this weekend!

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

Re: MX Fluxbox Screenshots

#967 Post by ceeslans »

Current MX23 based fluxbox desktop.

Running picom-9.1-1 as compositor. This version is rock-stable on my (rather old) hardware, no more flashing of cli-apps during open/close actions.
It offers smooth fading, beautiful shadowing and really nice rounding of menu+application windows. Yes, it does consume a good 30Mb more ram than compton (see the 'ps_mem' command output of startup items in stjerm dropdown terminal at rightside of the screen) - but it's definitely worth it.
gtk-theme, fluxbox-style and tint2 panel are all 'crunchbang' styled.
The calendar shown is a yad script by PPC that allows to enter and view events (thanks @PPC)
Also showing the jgmenu-based auto-updated recent-files popup menu, initiated by rightclicking the tint2 button.
Background image is a Void wallpaper (with text removed).

Image
Last edited by ceeslans on Wed Jul 26, 2023 10:47 am, edited 2 times 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
Jerry3904
Administrator
Posts: 23046
Joined: Wed Jul 19, 2006 6:13 am

Re: MX Fluxbox Screenshots

#968 Post by Jerry3904 »

Really smooth! I don't remember that PPC script (though I have a lot of his): do you have a link?
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

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

Re: MX Fluxbox Screenshots

#969 Post by ceeslans »

Jerry, I know I found it on the antiX forum; however, unable to trace the relevant forum post. If I'm not mistaken, it ultimately received upgrades for added notifications and/or alarms.
If you're interested: below is the "EventCalendar" script (no alarms or notitications), slightly modified and englishified ;) by me.

Code: Select all

#!/bin/bash
################################
# Yad calendar that allows to enter and view events, created for use with antiX Linux
#Version 2- 14/01/2022, by PPC, GPL license, use as you wish, but please keep this atribution lines 

Add_event(){
# Day without event, add one...
event=$(yad --window-icon="/usr/share/icons/Papirus/24x24/apps/calendar.svg" --width=400 --form --center --title="Add event for $day " --field="") && event=${event%|*}
space=" "
text=$day$space$event
echo $text >> $HOME/yad-calendar.txt
exit
}

Edit_event(){
# Day with existing event, edit it...
entrada=$(grep -h $day $HOME/yad-calendar.txt)
line=($(grep -n $day $HOME/yad-calendar.txt | head -n 1 | cut -d: -f1))
altered_entry=$(yad --window-icon="/usr/share/icons/Papirus/24x24/apps/calendar.svg" --width=400 --center --title="Edit event for $day " --button="OK" --form --field="" "$entrada")
#remove last unecessary character
entry=${altered_entry%|*}
#save text into the original line
awk -v line=$line -v texto="$entry" 'NR=='line' {$0='texto'} { print }' $HOME/yad-calendar.txt > $HOME/yad-calendar.txt.TEMP
cp $HOME/yad-calendar.txt.TEMP $HOME/yad-calendar.txt
exit
}

Search_event(){
 ###future entry to search for events:
  event_to_search=$( yad --window-icon="/usr/share/icons/Papirus/24x24/apps/calendar.svg" --title="Search Events..." --center --width=350 --entry --entry-label="" --button="Find")
  rm /tmp/agenda_search_results.txt
 #Display results, only if something was searched
 if [ -z ${event_to_search} ]; then exit; else grep -i $event_to_search $HOME/yad-calendar.txt > /tmp/agenda_search_results-desorganized.txt
   grep -i $event_to_search $HOME/yad-calendar.txt > /tmp/agenda_search_results-desorganized.txt
   sort -n -t"/" -k3 -k2 -k1 /tmp/agenda_search_results-desorganized.txt > /tmp/agenda_search_results.txt
   yad --window-icon="/usr/share/icons/Papirus/24x24/apps/calendar.svg" --title="Event(s) found" --no-buttons  --width=420 --height=280 --center --separator=" " --list  --column=""  < /tmp/agenda_search_results.txt
    #pkill yad
    exit 1
 fi    
}

#import functions and make sure that the default config file exists
export -f Add_event Edit_event Search_event
touch ~/yad-calendar.txt && [ -s ~/yad-calendar.txt ] || echo "28/06/2020 This is how yad-calendar entries work! Add ONLY ONE line per day, starting with the date. If nothing shows up in the calendar, try another date format like dd-mm-yyyy" > $HOME/yad-calendar.txt

#Main part of the script:
#New section: on the top of the month view, display todays event's if any;
today=$(date +%x)
todays_events=$(grep $today $HOME/yad-calendar.txt)
#Draw main window
day=$(yad --class=EventCalendar --calendar --center --width=280 --borders=7 --window-icon="/usr/share/icons/Papirus/24x24/apps/calendar.svg" --title="Calendar" --details=$HOME/yad-calendar.txt --buttons-layout=spread --button="Search":"bash -c Search_event" --button="Close":1)
if [[ $foo -eq 1 ]]; then
    exit 1
  fi
#If no date selected, just exit
[ -z "$day" ] && exit

#If a date was selected, see if has an event and run the corresponding function
if grep -q $day $HOME/yad-calendar.txt; then
   Edit_event
   else
   Add_event
fi
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
kobaian
Posts: 365
Joined: Fri Jan 03, 2020 5:49 am

Re: MX Fluxbox Screenshots

#970 Post by kobaian »

First MXFB-23 Final desktop

Image


Theme: Yaru-olive-dark
Appfinder: Southern-dark
Desktop PC: Intel Core i5-4670K, Gigabyte H81M-S2PV, 16GB RAM, NVIDIA Quadro K2000. Laptop: MacBook Late 2008, Core2Duo 2.0GHz, 8GB RAM. Netbook: Asus EEEPC Intel Atom 1.6GHz, 2GB RAM. System: MX23 64bit/32bit Fluxbox.

Post Reply

Return to “MX Fluxbox Official Release”