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
When I added japanese fonts to fonts.fonts it took a reboot to display the new glyphs (instead of just boxes). An xserver restart might be enough, though I didn’t try that.
Update: The specific program was chromium, I don’t know which other programs were affected.
xserver is not restarted by default under changes, and I think this is right
what is wrong, is that nothing is echo-ed into console when some user actions are required after nixos-rebuild. There are "preactions", like "download this file yourself because it is non-free", but no "postactions"
though these are thoughts only on "An xserver restart might be enough" part, not on bug itself
NOT restarting the following changed units: display-manager.service
as
Guy, I do some magic, and for that magic I require display-manager.service NOT to restart. Don't bother me on that stuff
Would be better:
Some services are not auto restarted. You can restart them manually with 'systemctl restart service'
- changed attributes <list of changed attributes> may require display-manager.service restart
- changed attributes <list of changed attributes> require postgresql.service restart
...
I'm fairly certain display-manager is a red herring. Nowadays, fonts are provided by /etc/fonts, which is set up in our default to be re-scanned every 30 seconds. (When FcFontSetList is called; beware of applications caching such results.) Running fc-list might be a good way to find out the status.
@danbst: there may be other things changed than just attributes (e.g. implementation, versions of dependencies, anything). Note that restarting display-manager would kill all graphical programs and force you to re-log, which is why we don't do it by default.
Activity
danbst commentedon Jul 31, 2015
xserver is not restarted by default under changes, and I think this is right
what is wrong, is that nothing is echo-ed into console when some user actions are required after
nixos-rebuild. There are "preactions", like "download this file yourself because it is non-free", but no "postactions"though these are thoughts only on "An xserver restart might be enough" part, not on bug itself
edolstra commentedon Jul 31, 2015
Surely this is only the case for server-side font rendering, which hardly any modern application uses anymore?
Also,
nixos-rebuilddoes show a warning:However, it would be good if such changes took effect on X logout/login (rather than requiring a
systemctl restart display-manager).danbst commentedon Jul 31, 2015
@edolstra as a beginner, I read
as
Would be better:
vcunat commentedon Jul 31, 2015
I'm fairly certain display-manager is a red herring. Nowadays, fonts are provided by
/etc/fonts, which is set up in our default to be re-scanned every 30 seconds. (When FcFontSetList is called; beware of applications caching such results.) Runningfc-listmight be a good way to find out the status.vcunat commentedon Jul 31, 2015
@danbst: there may be other things changed than just attributes (e.g. implementation, versions of dependencies, anything). Note that restarting display-manager would kill all graphical programs and force you to re-log, which is why we don't do it by default.
Profpatsch commentedon Jul 31, 2015
For Chromium it didn’t pick up the changes.
No idea how font configuration works on Linux, so I’m not much of help with the internals.
Profpatsch commentedon Mar 8, 2016
Can’t reproduce anymore.