Skip to content

Commit

Permalink
Better documentation for GNOME, Flatpak, and Snap apps.
Browse files Browse the repository at this point in the history
  • Loading branch information
dumol committed Feb 5, 2024
1 parent d29a622 commit 06bfc73
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions README.rst
Expand Up @@ -37,10 +37,22 @@ Installation
``~/.local/share/fonts/``.
3. Logout and login again.

To have this working for Flatpak apps::
To set GNOME fonts from command line (adjust the size of 10 if needed)::

flatpak override --user --filesystem=xdg-config/fontconfig
flatpak override --user --filesystem=xdg-data/fonts
gsettings set org.gnome.desktop.interface font-name 'system-ui 10'
gsettings set org.gnome.desktop.interface monospace-font-name 'monospace 10'

To have this setup working for Flatpak apps::

flatpak override --user --filesystem=xdg-config/fontconfig:ro
flatpak override --user --filesystem=xdg-data/fonts:ro

To have this setup working for a Snap package such as Firefox::

ln -s ~/.local/share/fonts ~/snap/firefox/current/.local/share/fonts
mv -v ~/snap/firefox/current/.config/fontconfig{,.orig}
ln -s ~/.config/fontconfig ~/snap/firefox/current/.config/fontconfig
fc-cache -f -r


Development
Expand Down

0 comments on commit 06bfc73

Please sign in to comment.