MX-21 MX-Fluxbox
Re: MX-21 MX-Fluxbox
@Jerry3904
Ok- I found a bug on my propose script to toggle xfce-appfinder on/off - it checks if a window called, you guessed it "xfce4-appfinder" is running... But, if the wmadock is running, a file called xfce4-appfinder.desktop appears on the listed windows, so, the script assumes xfce4-appfinder is already running...
So, my script needs a cleanup routine, to remove all lines containing " wmalauncher --command", before it can be fully usable with MXFB... (my bad, because I don't usually run the default dock)
P.
Ok- I found a bug on my propose script to toggle xfce-appfinder on/off - it checks if a window called, you guessed it "xfce4-appfinder" is running... But, if the wmadock is running, a file called xfce4-appfinder.desktop appears on the listed windows, so, the script assumes xfce4-appfinder is already running...
So, my script needs a cleanup routine, to remove all lines containing " wmalauncher --command", before it can be fully usable with MXFB... (my bad, because I don't usually run the default dock)
P.
Re: MX-21 MX-Fluxbox
@Jerry3904
Here you have, a patched version of that script:
Here you have, a patched version of that script:
Code: Select all
#! /bin/bash
# run "xlsclients" to see if appfinder is running
xlsclients > /tmp/current_windows
# remove all wmalauncher references from the list
grep -v "wmalauncher" /tmp/current_windows > /tmp/current_windows-parsed
current_windows=$(cat /tmp/current_windows-parsed)
#check if appfinder is running
if [[ ${current_windows} != *"xfce4-appfinder"* ]];then
echo "appfinder is not running, starting it" & xfce4-appfinder ; exit
else
echo appfinder is already running, checking if it has focus
#check if appfinder is active:
app_name="xfce4-appfinder"
focused_app=$(cat /proc/$(xdotool getwindowpid $(xdotool getwindowfocus))/comm)
if [ "$focused_app" = "$app_name" ]; then
echo "appfinder has focus, killing it." & killall xfce4-appfinder
else
echo "appfinder is running but has no focus, changing focus to it" & killall xfce4-appfinder && xfce4-appfinder
fi
fi
Re: MX-21 MX-Fluxbox
I installed MXFB 5 days ago and have found no concerns at all, I have only added things I wanted such as starting bluetooth at login, but I am really enjoying using it. There are all the things I love about MX and all the best things I love about window managers. Very adaptable, thanks for all your work in putting this together for us.
Regards
Dave H

Dave H

Re: MX-21 MX-Fluxbox
Thanks for the feedback--it's our only reward!
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-21 MX-Fluxbox
Well Jerry you deserve a large beer on me, however, as I cannot do that I made a donation to the project.
Dave H
Dave H
Regards
Dave H

Dave H

Re: MX-21 MX-Fluxbox
Thanks, Dave! I'm just The Mouth. There is a whole team working on this, and they're terrific.
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-21 MX-Fluxbox
Hi Jerry, I have been on a week's holiday and just wanted to say again what a brilliant distribution this is - all accolades to the team. Loving Fluxbox
Regards
Dave H

Dave H

Re: MX-21 MX-Fluxbox
I found some problem with managing default apps in MXFB. The "exo-open" command works well with MXFB21 beta, but I cannot find how to change the preferred file-manager from thunar to pcmanfm-qt. The command exo-preferred-applications does not exist and probably the only way to have it is to install the full xfce4-settings package. Other tips I found in Internet to change the default apps don't work either for me.
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-21 MX-Fluxbox
A quick&dirty way would be to set it via pcmanfm-qt itself...
When in pcmanfm-qt, does rightclicking a folder offer you an 'Open with...' menu ?? if so, does the 'Other Applications' menu item open up a tree-list of application categories? If it doesn't, you need to install lxmenu-data (so pcmanfm-qt can access the desktop files in /usr/share/applications).
From there you should be able to set pcmanfm-qt as default application.
commandline alternative :
to check current default application for opening folderswhich will probably show you: thunar.desktop
to set 'pcmanfm-qt' as default application for opening folders
Suggest you check the 'xdg-mime' manpage for more options and details
When in pcmanfm-qt, does rightclicking a folder offer you an 'Open with...' menu ?? if so, does the 'Other Applications' menu item open up a tree-list of application categories? If it doesn't, you need to install lxmenu-data (so pcmanfm-qt can access the desktop files in /usr/share/applications).
From there you should be able to set pcmanfm-qt as default application.
commandline alternative :
to check current default application for opening folders
Code: Select all
$ xdg-mime query default inode/directory
to set 'pcmanfm-qt' as default application for opening folders
Code: Select all
$ xdg-mime default pcmanfm-qt.desktop inode/directory
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-21 MX-Fluxbox
I tried both solutions, none of them solves the problem.ceeslans wrote: Tue Oct 05, 2021 4:31 am A quick&dirty way would be to set it via pcmanfm-qt itself...
When in pcmanfm-qt, does rightclicking a folder offer you an 'Open with...' menu ?? if so, does the 'Other Applications' menu item open up a tree-list of application categories? If it doesn't, you need to install lxmenu-data (so pcmanfm-qt can access the desktop files in /usr/share/applications).
From there you should be able to set pcmanfm-qt as default application.
commandline alternative :
to check current default application for opening folderswhich will probably show you: thunar.desktopCode: Select all
$ xdg-mime query default inode/directory
to set 'pcmanfm-qt' as default application for opening foldersSuggest you check the 'xdg-mime' manpage for more options and detailsCode: Select all
$ xdg-mime default pcmanfm-qt.desktop inode/directory
Code: Select all
$ xdg-mime query default inode/directory
pcmanfm-qt.desktop
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.