Thunar-Shares-Plugin 0.5 new release - managed to get it built and working with Samba but a real pain - works well
Posted: Mon Sep 01, 2025 3:24 am
For those that don't know thunar-shares-plugin allows you to share your folders by right clicking within thunar (windows style - see pics below). It uses the usershares feature in Samba (like MX-Samba-Config), and gives non-root users the capability to add, modify, and delete their own share definitions.
What's the point when we have MX-Samba-Config, I hear you ask? Well this is more for quick sharing as it allows you to do it with just a right click in thunar.
I think it was broken for a while but there was a new release in May of 2025.
I managed to build and compile the latest version (released 2025/05/20 16:31) albeit on a test Devuan VM setup (supposed to mimic MX25), but it was a right PITA.
The xfce docs are wrong/incomplete for the installation part and also wrong on the Samba setup
https://docs.xfce.org/xfce/thunar/thunar-shares-plugin
I had to install so many dependencies and dev packages and then run the build script multiple times each time before the installation worked.
Then came the samba setup which was even worse. If you follow the xfce docs and add this
into the [global] section of the /etc/samba/smb.conf, the samba server (smbd) will fail to start at boot time and you also won't be able to start it afterwards either!!!!! It will just fail.
Follow the arch wiki instead:
https://wiki.archlinux.org/title/Samba
section 1.3.3 Enable Usershares
Anyhow, it would be nice to have a pre-packaged version if @Stevo could make it available in the repos somehow. Should work with MX23.
Don't forget you need all the usual samba stuff too first. This just makes sharing easy (and don't believe it if you see "it's only for local file sharing with local users", because it works across the network).
Also, whilst I'm here, the same technical notes that apply to MX-Samba-Config, apply here as well:
https://mxlinux.org/wiki/help-files/he ... ba-config/




What's the point when we have MX-Samba-Config, I hear you ask? Well this is more for quick sharing as it allows you to do it with just a right click in thunar.
I think it was broken for a while but there was a new release in May of 2025.
I managed to build and compile the latest version (released 2025/05/20 16:31) albeit on a test Devuan VM setup (supposed to mimic MX25), but it was a right PITA.
The xfce docs are wrong/incomplete for the installation part and also wrong on the Samba setup
https://docs.xfce.org/xfce/thunar/thunar-shares-plugin
I had to install so many dependencies and dev packages and then run the build script multiple times each time before the installation worked.
Then came the samba setup which was even worse. If you follow the xfce docs and add this
Code: Select all
security = share
Follow the arch wiki instead:
https://wiki.archlinux.org/title/Samba
section 1.3.3 Enable Usershares
Anyhow, it would be nice to have a pre-packaged version if @Stevo could make it available in the repos somehow. Should work with MX23.
Don't forget you need all the usual samba stuff too first. This just makes sharing easy (and don't believe it if you see "it's only for local file sharing with local users", because it works across the network).
Also, whilst I'm here, the same technical notes that apply to MX-Samba-Config, apply here as well:
https://mxlinux.org/wiki/help-files/he ... ba-config/



