MX Fluxbox Screenshots
Re: MX Fluxbox Screenshots
What exactly is the object in the upper right corner?
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: MX Fluxbox Screenshots
In the very very right top, there is an artefact caused by 2nd monitor when screenshot near conky, if is that what you mean.
The panel below that artefact is a conky instance.
MXMLGO
The panel below that artefact is a conky instance.
MXMLGO
Re: MX Fluxbox Screenshots
I hope this solution will end the eternal war between the House of Rofi and the House of Appfinder. 



How does it work?
I have created three files in the ~/.config/tint2/scripts directory: tint2launcher, defaultlauncher and switchlauncher.
The first one - tint2launcher is a short bash script that replaces the command under the MX-Logo on the Tint2 panel:
The second one - defaultlauncher - stores the variable that indicates the preferred application-launcher:
The third one - switchlauncher - is the bash script that allows to switch between the two launchers:
And the last thing is to create the button that contains the following lines to execute the new commands:




How does it work?
I have created three files in the ~/.config/tint2/scripts directory: tint2launcher, defaultlauncher and switchlauncher.
The first one - tint2launcher is a short bash script that replaces the command under the MX-Logo on the Tint2 panel:
Code: Select all
#!/bin/bash
tint2launch=$(cat ~/.config/tint2/scripts/defaultlauncher)
if [[ $tint2launch -eq 1 ]] ; then
rofi -show drun && exit 0
else
xfce4-appfinder & exit 0
fi
Code: Select all
1
Code: Select all
#!/bin/bash
tint2launch=$(cat ~/.config/tint2/scripts/defaultlauncher)
TITLE=$"Change your app-launcher"
MESSAGE1=$"Your current application-launcher is <b>Rofi</b>.
Do you want to switch to <b>XFCE4-Appfinder</b>?"
MESSAGE2=$"Your current application-launcher is <b>XFCE4-Appfinder</b>.
Do you want to switch to <b>Rofi?</b>"
BUTTON1=$"Yes"
BUTTON2=$"No"
if [[ $tint2launch -eq 1 ]] ; then
yad --title="$TITLE" --borders=18 --center --on-top --image=dialog-question-symbolic --skip-taskbar --window-icon=dialog-question \
--text=" $MESSAGE1" \
--button="$BUTTON1!dialog-yes!:1" \
--button="$BUTTON2!dialog-no!:0" \
else
yad --title="$TITLE" --borders=18 --center --on-top --image=dialog-question-symbolic --skip-taskbar --window-icon=dialog-question \
--text=" $MESSAGE2" \
--button="$BUTTON1!dialog-yes!:2" \
--button="$BUTTON2!dialog-no!:0" \
fi
ret=$?
[[ $ret -eq 0 ]] && exit 0
if [[ $ret -eq 1 ]]; then
sed -i 's/1/0/' ~/.config/tint2/scripts/defaultlauncher && exit 0
elif [[ $ret -eq 2 ]]; then
sed -i 's/0/1/' ~/.config/tint2/scripts/defaultlauncher && exit 0
fi
Code: Select all
button_lclick_command = bash ~/.config/tint2/scripts/tint2launcher
button_rclick_command = bash ~/.config/tint2/scripts/switchlauncher
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.
Re: MX Fluxbox Screenshots
That's fantastic.
Just hope all the ecosystem to have some king of telestransporting module like the bridge you have extended. The utility is highly spicy. The environment is flavored.
I've heard good things about rofi at codely.tv. It seems rofi is making few mac developer returning to linux, just because the launch utility, among others.
I personally appreciate, what you made.
Just one last question. What about to have both, is there any inter-dependency between appfinder and rofi ?
Nowadays, and depending to my anime state y use both in several manner at a time. Usually appfinder at a time almost always opened on the bottom left column and rofi at the bottom right modulus. I wish to have a picture but rofi jumps off as soon I pressed print screen.
MX-FB is even more acrobatic now.
Thanks for your help.

Just hope all the ecosystem to have some king of telestransporting module like the bridge you have extended. The utility is highly spicy. The environment is flavored.
I've heard good things about rofi at codely.tv. It seems rofi is making few mac developer returning to linux, just because the launch utility, among others.
I personally appreciate, what you made.
Just one last question. What about to have both, is there any inter-dependency between appfinder and rofi ?
Nowadays, and depending to my anime state y use both in several manner at a time. Usually appfinder at a time almost always opened on the bottom left column and rofi at the bottom right modulus. I wish to have a picture but rofi jumps off as soon I pressed print screen.

MX-FB is even more acrobatic now.

Thanks for your help.
Re: MX Fluxbox Screenshots
@kobaian that is absolutely lovely. Tried it out (of course adapting the necessary code to call 'jgmenu' instead of absent 'xfce4-appfinder' ) and it works a treat.kobaian wrote: ↑Thu Jan 05, 2023 8:26 pm I hope this solution will end the eternal war between the House of Rofi and the House of Appfinder.
...
How does it work?
I have created three files in the ~/.config/tint2/scripts directory: tint2launcher, defaultlauncher and switchlauncher.
The first one - tint2launcher is a short bash script that replaces the command under the MX-Logo on the Tint2 panel
The second one - defaultlauncher - stores the variable that indicates the preferred application-launcher
The third one - switchlauncher - is the bash script that allows to switch between the two launchers
...
And the last thing is to create the button that contains the following lines to execute the new commands:Code: Select all
button_lclick_command = bash ~/.config/tint2/scripts/tint2launcher button_rclick_command = bash ~/.config/tint2/scripts/switchlauncher
The nice thing is that the switch can be applied in any tint2rc theme. Will have to look how to accomodate calls for different rofi themes/config.rasi files (like e.g your iconic theme, which I guess is different for bottom- or top position?)
In any case: thanks for this clever solution!
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: MX Fluxbox Screenshots
Wow, that looks great! Clever concept and coding. Haven't tried it yet b/c it's still early in the morning over here, but will later.
The larger question IMO is whether we need to supply both in the first place. I was sort of thinking, once we have tested the rofi-as-applauncher, that we would just have one. Appfinder could then always be installed via Package Installer (not currently possible), and the Debian menu is installed anyway by default with mxfb-accessories and would just need to be activated.
Have to think about that some more...
The larger question IMO is whether we need to supply both in the first place. I was sort of thinking, once we have tested the rofi-as-applauncher, that we would just have one. Appfinder could then always be installed via Package Installer (not currently possible), and the Debian menu is installed anyway by default with mxfb-accessories and would just need to be activated.
Have to think about that some more...
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: MX Fluxbox Screenshots
@kobaian very nicely done
Re: MX Fluxbox Screenshots
I know that many roads lead to Rome and having a choice is also a good thing.
I can't even remember the last time I used fbrun or xfce4-appfinder.
Even my guests use either rofi or the root menu.
I probably wouldn't even notice if the appfinder and fbrun were gone.
When I switched from xfce to fluxbox, it was different for the first few months, but then it disappeared from my focus:)
I can't even remember the last time I used fbrun or xfce4-appfinder.
Even my guests use either rofi or the root menu.
I probably wouldn't even notice if the appfinder and fbrun were gone.
When I switched from xfce to fluxbox, it was different for the first few months, but then it disappeared from my focus:)
my working horse Desktop AMD Ryzen 9 3900x, 32GB Ram // SSD ... enough
mx-fluxbox, what else?
In nature there are neither rewards nor punishments.
There are consequences.
my wallpaper gallery
mx-fluxbox, what else?
In nature there are neither rewards nor punishments.
There are consequences.
my wallpaper gallery
Re: MX Fluxbox Screenshots
Amiga-MX wrote: ↑Thu Jan 05, 2023 9:31 pm
Nowadays, and depending to my anime state y use both in several manner at a time. Usually appfinder at a time almost always opened on the bottom left column and rofi at the bottom right modulus. I wish to have a picture but rofi jumps off as soon I pressed print screen.![]()
I use gimp for that specific purpose. It has a screenshot utility built-in with a timed delay. (File>Create>Screenshot)
You do not have the required permissions to view the files attached to this post.
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.
Re: MX Fluxbox Screenshots
I use Screenshot (xfce4-screenshoter) which is much faster and easier than going through Gimp for a delayed shot.
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