Fonts: Difference between revisions
imported>Minion3665 m This snippet uses `with pkgs;`, so the extra `pkgs` qualifiers are redundant |
imported>Phrogg Added instructions on how to not expose the whole drive to flatpaks for using cursors and fonts |
||
| Line 129: | Line 129: | ||
$ ln -s /run/current-system/sw/share/X11/fonts ~/.local/share/fonts | $ ln -s /run/current-system/sw/share/X11/fonts ~/.local/share/fonts | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Now you have two options, either allow the Flatpaks to access the font folder to use the fonts: | |||
Either by using the Flatpak CLI or the Flatseal Flatpak make the following directory available to Flatpaks <code>$HOME/.local/share/fonts</code> and <code>$HOME/.icons</code> the appropriate commands for this are: | |||
<syntaxhighlight lang="bash"> | |||
flatpak --user override --filesystem=$HOME/.local/share/fonts | |||
flatpak --user override --filesystem=$HOME/.icons | |||
</syntaxhighlight> | |||
or allow them access the WHOLE filesystem of yours: <code>All system files</code> or equivalently <code>filesystem=host</code> available to your application, the command for this is: | |||
<syntaxhighlight lang="bash"> | |||
flatpak --user override --filesystem=host | |||
</syntaxhighlight> | |||
<hr /> | <hr /> | ||
[[Category:Configuration]] | [[Category:Configuration]] | ||