Fonts: Difference between revisions
imported>Phrogg Added instructions on how to not expose the whole drive to flatpaks for using cursors and fonts |
imported>Phrogg mNo edit summary |
||
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 | Now you have two options, either allow the Flatpaks to access the font folder to use the fonts. By using the Flatpak CLI or the Flatseal Flatpak make the following directory available to all Flatpaks <code>$HOME/.local/share/fonts</code> and <code>$HOME/.icons</code> the appropriate commands for this are: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 137: | Line 136: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Or allow them access the WHOLE filesystem of yours: <code>All system files</code> in Flatseal or equivalently <code>filesystem=host</code> available to your application, the command for this is: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> |