Lunar Client inability to access external folders

Jul 21, 2025 Closed
N

I recently installed flatpak to use the Lunar Client minecraft launcher using the linux development environment on chromebook however it seems unable to access the resourecepacks folder in .minecraft, so I can’t use resource packs, and it also seems unable to access it’s own mods folder so I can’t install mods anymore either. What is the best way to fix this, if it’s possible?

C

Due to being run in an sandbox, Lunar Client has no access to user files without explicit permission, only to its own files.

To break it down a bit:
Minecraft expects its files under ~/.minecraft. That folder is outside of the sandbox, so it is not accessible by Lunar Client.
Instead, each Flatpak app has an separate folder for data and configuration, located under ~/.var/app, so for Lunar Client it would be ~/.var/app/com.lunarclient.LunarClient. This is where files readable by Lunar Client are located.
Inside this folder, you should find a .minecraft folder. This folder is provided to the app in the sandbox as it would be under ~/.minecraft. So, while it may seem to the app as it accesses ~/.minecraft, it uses ~/.var/app/com.lunarclient.LunarClient/.minecraft instead.
The same applies for the Lunar Client folder, where ~/.lunarclient is found under ~/.var/app/com.lunarclient.LunarClient/.lunarclient.

So, in short:
Due to sandboxing, the folders are in a bit of an different location.
The easy solution is to just use the folders under ~/.var/app/com.lunarclient.LunarClient, as the app will use them.

Though you could use overrides to give the app permission to read ~/.minecraft if you wanted.

N

Thank you so much! That makes total sense.