fredx181 wrote: Tue Mar 25, 2025 7:49 am
Could it be that only new added launchers become 'trusted' after setting XDG_DATA_DIRS env ?
Probably not, since if I do manually
Code: Select all
export XDG_DATA_DIRS=$XDG_DATA_DIRS:/root/Desktop
Thunar --daemon &
and run them, all existing .desktop are okay.
No "Untrusted application launcher" message.
fredx181 wrote: Tue Mar 25, 2025 7:49 am
Perhaps make them all executable at once: chmod +x /root/Desktop/*.desktop
I checked that they are already all executable, but I re-did it anyway...still no luck.
Code: Select all
root@live:~/Desktop# ls -las
total 50
0 drwxr-xr-x 2 root root 396 Mar 12 20:05 .
8 drwxr-xr-x 1 root root 4096 Mar 25 18:52 ..
5 -rwxr-xr-x 1 root root 4150 Mar 12 20:05 audacious.desktop
1 -rwxr-xr-x 1 root root 176 Mar 12 20:05 conkytoggle.desktop
1 -rwxr-xr-x 1 root root 185 Mar 12 20:05 DebianDog-Installer.desktop
1 -rwxr-xr-x 1 root root 158 Mar 12 20:05 DogRadio.desktop
1 -rwxr-xr-x 1 root root 293 Mar 12 20:05 epsonscan2.desktop
4 -rwxr-xr-x 1 root root 3416 Mar 12 20:05 exo-terminal-emulator.desktop
1 -rwxr-xr-x 1 root root 157 Mar 12 20:05 firefox.desktop
9 -rwxr-xr-x 1 root root 8473 Jan 21 2019 google-chrome.desktop
4 -rwxr-xr-x 1 root root 3623 Mar 12 20:05 grsync.desktop
2 -rwxr-xr-x 1 root root 1829 Mar 12 20:05 leafpad.desktop
1 -rwxr-xr-x 1 root root 391 Mar 12 20:05 mtpaint.desktop
1 -rwxr-xr-x 1 root root 198 Mar 12 20:05 Remaster-porteus-wheezy.desktop
8 -rwxr-xr-x 1 root root 7579 Mar 12 20:05 smplayer.desktop
9 -rwxr-xr-x 1 root root 8670 Mar 12 20:05 synaptic.desktop
root@live:~/Desktop# chmod +x *.desktop
root@live:~/Desktop# ls -las
total 96
8 drwxr-xr-x 1 root root 4096 Mar 12 20:05 .
8 drwxr-xr-x 1 root root 4096 Mar 25 18:52 ..
8 -rwxr-xr-x 1 root root 4150 Mar 12 20:05 audacious.desktop
4 -rwxr-xr-x 1 root root 176 Mar 12 20:05 conkytoggle.desktop
4 -rwxr-xr-x 1 root root 185 Mar 12 20:05 DebianDog-Installer.desktop
4 -rwxr-xr-x 1 root root 158 Mar 12 20:05 DogRadio.desktop
4 -rwxr-xr-x 1 root root 293 Mar 12 20:05 epsonscan2.desktop
4 -rwxr-xr-x 1 root root 3416 Mar 12 20:05 exo-terminal-emulator.desktop
4 -rwxr-xr-x 1 root root 157 Mar 12 20:05 firefox.desktop
12 -rwxr-xr-x 1 root root 8473 Jan 21 2019 google-chrome.desktop
4 -rwxr-xr-x 1 root root 3623 Mar 12 20:05 grsync.desktop
4 -rwxr-xr-x 1 root root 1829 Mar 12 20:05 leafpad.desktop
4 -rwxr-xr-x 1 root root 391 Mar 12 20:05 mtpaint.desktop
4 -rwxr-xr-x 1 root root 198 Mar 12 20:05 Remaster-porteus-wheezy.desktop
8 -rwxr-xr-x 1 root root 7579 Mar 12 20:05 smplayer.desktop
12 -rwxr-xr-x 1 root root 8670 Mar 12 20:05 synaptic.desktop
root@live:~/Desktop#
More investigation to do...
The link said that XDG_DATA_DIRS need to exist before Thunar daemon starts.
So maybe, this is the issue? Putting it in .bashrc is already too late (?)
You could try adding that path to your $XDG_DATA_DIRS. Something like:
XDG_DATA_DIRS=$XDG_DATA_DIRS:/media/user/FLASH_DRIVE/apps
...so that is allowed, but how will you do that on a live system? You'd need to set this during Xfce start, or at least before "Thunar --daemon" start.