Where are the XFCE4 appearance/font settings stored in Xubuntu 16.04?
Solution 1
Found it! It's in ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
. Most of the settings will be set to "empty" if they haven't been changed, otherwise they'll be set to the value. For example, the DPI is set with <property name="DPI" type="int" value="96"/>
under Xft
, while the font is set to a string with <property name="FontName" type="string" value="Noto Sans 11"/>
under Gtk
.
Solution 2
The default directory in which fonts can be kept is:
/usr/share/fonts
/usr/local/share/fonts
The easiest place for people to put their fonts is /home/user/.fonts
. If you have not already done so, create this folder:
mkdir ~/.fonts
Backup those directory to new machine, then update your font cache:
sudo fc-cache -fv
Related videos on Youtube
Aaron Franke
Frequent contributor to Godot Engine. I manage the demos, moderate the asset library, work on platform support, and help maintain C# support. I can usually be reached easily on Reddit, username is aaronfranke. I only speak English fluently.
Updated on September 18, 2022Comments
-
Aaron Franke over 1 year
Running Xubuntu 16.04.1 LTS 64-bit.
Hello, I was wondering if I could just make a copy of my Appearance (specifically, font) settings because I want to be able to place the file into a LiveCD and make these settings the default on a new installation. If not that, at least I could bulk-copy it to the installations in question.Thank you in advance.
-
Aaron Franke over 7 yearsI'm not looking for the font files themselves, I'm looking for the config file that says which one is displayed and what size it is and what DPI my screen is etc.
-
Liso over 7 yearsProbably
~/.config/xfce4
is the one you looking for? -
Aaron Franke over 7 yearsI spent awhile looking in all the subfolders and files and such until I found it, I've posted it as an answer.