You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi again @PeterMosmans! 👋 I had a thought while trying out the gnome_fonts variable here for the first time:
The gnome_extensions, gnome_dconf, and gnome_gsettings variables lead to changes for the user, rather than system-wide.
The gnome_files variable seems agnostic—it could have a user or system dest set, I guess.
The gnome_fonts variable installs fonts to a system-wide /usr/local/share/fonts/ location. Do you think it should it instead install them to a user location (such as /home/user/.local/share/fonts) similar to the first pattern above; or at least support installing to such a location, like the second pattern?
Separately, I haven't used the gnome_packages variable, but there are a couple of things that confuse me about it:
It seems specific to apt-based distros, since it uses ansible.builtin.apt directly. This likely wouldn't work on a non-apt system, right? If this is a limitation, would it be useful for me to open a separate issue for it?
The task name that uses the variable says Install (font) packages, but it seems like it doesn't really have anything to do with font packages specifically—it just passes the package list directly to the apt module, right?
The text was updated successfully, but these errors were encountered:
I agree that the current setup can lead to some confusion as to where is installed what. As in: this should be improved (either documentation, but even better, in the code itself)
The current setup indeed only works for apt-based distros. Sometimes fonts can be installed by packages, yet the role now only supports apt.
this should be improved (either documentation, but even better, in the code itself)
I'll try to propose an improvement or two as PRs then :) I'll probably first propose an option to install gnome_fonts to ~/.local/share/fonts (or to a user-specified location?), this way that variable hopefully could work without extra privileges.
Hi again @PeterMosmans! 👋 I had a thought while trying out the
gnome_fonts
variable here for the first time:gnome_extensions
,gnome_dconf
, andgnome_gsettings
variables lead to changes for the user, rather than system-wide.gnome_files
variable seems agnostic—it could have a user or system dest set, I guess.The
gnome_fonts
variable installs fonts to a system-wide/usr/local/share/fonts/
location. Do you think it should it instead install them to a user location (such as/home/user/.local/share/fonts
) similar to the first pattern above; or at least support installing to such a location, like the second pattern?Separately, I haven't used the
gnome_packages
variable, but there are a couple of things that confuse me about it:apt
-based distros, since it usesansible.builtin.apt
directly. This likely wouldn't work on a non-apt system, right? If this is a limitation, would it be useful for me to open a separate issue for it?Install (font) packages
, but it seems like it doesn't really have anything to do withfont
packages specifically—it just passes the package list directly to the apt module, right?The text was updated successfully, but these errors were encountered: