Is there a way to refresh the in-memory font cache?

Ralf Mardorf ralf.mardorf at alice-dsl.net
Wed Dec 3 11:57:55 CET 2014


On Wed, 2014-12-03 at 10:08 +0100, Ralf Mardorf wrote:
> On Tue, 2 Dec 2014 20:59:53 -0800
> John W <jwdevel at gmail.com> wrote:
> 
> > http://unix.stackexchange.com/questions/14494/screen-corruption-after-hibernate-is-there-another-way-to-refresh-the-x11-disp
> 
> The hint's e.g. to use the xrefresh command don't work?
> 
> Perhaps xfwm4 --replace does the job.
> 
> [rocketmouse at archlinux ~]$ pidof xfwm4
> 25484
> [rocketmouse at archlinux ~]$ xfwm4 --replace
> Waiting for current window manager (Xfwm4) on screen :0.0 to exit: Done
> 
> Then push ctrl+c.
> 
> [rocketmouse at archlinux ~]$ pidof xfwm4
> 25561

PS: JFTR

[rocketmouse at archlinux ~]$ grep font .config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml 
    <property name="title_font" type="string" value="Sans Bold 11"/>

You could grep all config files for the fonts and test if switching
between configs automatically is applied. IOW make e.g. xfwm4.xml a link
switching between xfwm4.xml.1 and xfwm4.xml.2.



More information about the Xfce mailing list