How get rid of Desktop, Playlists, Public and Templates in your $HOME?

It seems that no reboot is necessary to recreate the directories.

Steps to duplicate:

  1. remove Desktop directory
  2. launch an app with enforced sandboxing(?)
  3. see Desktop directory pop back by some firejail-thingie

Parts of a log showing the thing in action, tested with sailtrix and whisperfish.

[defaultuser@Xperia10III ~]$ devel-su journalctl SYSLOG_IDENTIFIER=invoker -f
Password:
– Logs begin at Mon 2025-08-25 11:25:50 EEST. –
elo 25 11:36:20 Xperia10III invoker[29482]: warning: enforcing sandboxing for ‘/usr/bin/harbour-sailtrix’
elo 25 11:36:20 Xperia10III invoker[29482]: constructing /run/firejail/mnt/privileged: Images …
elo 25 11:36:20 Xperia10III invoker[29482]: mounting /run/firejail/mnt/privileged @ /home/defaultuser/.local/share/system/privileged
elo 25 11:36:20 Xperia10III invoker[29482]: hiding /run/firejail/mnt/privileged
elo 25 11:42:12 Xperia10III invoker[29917]: warning: enforcing sandboxing for ‘/usr/bin/harbour-whisperfish’
elo 25 11:42:12 Xperia10III invoker[29917]: constructing /run/firejail/mnt/privileged: Images,Contacts …
elo 25 11:42:12 Xperia10III invoker[29917]: mounting /run/firejail/mnt/privileged @ /home/defaultuser/.local/share/system/privileged
elo 25 11:42:12 Xperia10III invoker[29917]: hiding /run/firejail/mnt/privileged

I wonder if this firejail is documented somewhere? Search on https://docs.sailfishos.org/ gives me firewall :stuck_out_tongue: