MX-21 MX-Fluxbox

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
PPC
Posts: 362
Joined: Tue Sep 11, 2018 8:22 am

Re: MX-21 MX-Fluxbox

#131 Post by PPC »

@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.

PPC
Posts: 362
Joined: Tue Sep 11, 2018 8:22 am

Re: MX-21 MX-Fluxbox

#132 Post by PPC »

@Jerry3904

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

User avatar
bubba66
Posts: 6
Joined: Tue Mar 12, 2019 4:59 pm

Re: MX-21 MX-Fluxbox

#133 Post by bubba66 »

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

:happy:

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

Re: MX-21 MX-Fluxbox

#134 Post by Jerry3904 »

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

User avatar
bubba66
Posts: 6
Joined: Tue Mar 12, 2019 4:59 pm

Re: MX-21 MX-Fluxbox

#135 Post by bubba66 »

Well Jerry you deserve a large beer on me, however, as I cannot do that I made a donation to the project.


Dave H
Regards

Dave H

:happy:

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

Re: MX-21 MX-Fluxbox

#136 Post by Jerry3904 »

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

User avatar
bubba66
Posts: 6
Joined: Tue Mar 12, 2019 4:59 pm

Re: MX-21 MX-Fluxbox

#137 Post by bubba66 »

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

:happy:

User avatar
kobaian
Posts: 365
Joined: Fri Jan 03, 2020 5:49 am

Re: MX-21 MX-Fluxbox

#138 Post by kobaian »

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.

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

Re: MX-21 MX-Fluxbox

#139 Post by ceeslans »

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 folders

Code: Select all

$ xdg-mime query default inode/directory
which will probably show you: thunar.desktop

to set 'pcmanfm-qt' as default application for opening folders

Code: Select all

$ xdg-mime default pcmanfm-qt.desktop inode/directory
Suggest you check the 'xdg-mime' manpage for more options and details
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-21 MX-Fluxbox

#140 Post by kobaian »

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 folders

Code: Select all

$ xdg-mime query default inode/directory
which will probably show you: thunar.desktop

to set 'pcmanfm-qt' as default application for opening folders

Code: Select all

$ xdg-mime default pcmanfm-qt.desktop inode/directory
Suggest you check the 'xdg-mime' manpage for more options and details
I tried both solutions, none of them solves the problem.

Code: Select all

$ xdg-mime query default inode/directory
pcmanfm-qt.desktop
But exo-open $HOME still opens Thunar, not PCManFM-qt.
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”