Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384685 - Xorg fonts should warn about needing a re-login
Summary: Xorg fonts should warn about needing a re-login
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo X packagers
Depends on:
Blocks: 384521
  Show dependency tree
Reported: 2011-09-27 16:50 UTC by Siim Ainsaar
Modified: 2018-05-26 20:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Siim Ainsaar 2011-09-27 16:50:59 UTC
There should be a warning at the end of the installation and uninstallation of Xorg fonts: they need a re-login, if they are going to be used in non-fontconfig applications.

To see the difference before and after re-login:

emerge -C media-fonts/font-adobe-100dpi
emerge -1 media-fonts/font-bitstream-100dpi
  (this is because of bug 384649 to regerenerate fonts.{scale,dir})
Log out of X
Log in
emerge -1 media-fonts/font-adobe-100dpi
xlsfonts -fn '-*-helvetica-bold-r-normal--*-*-100-100-*-*-*-*'
  (I see:
  I don't know where the leftovers are from.)
Log out of X
Log in
xlsfonts -fn '-*-helvetica-bold-r-normal--*-*-100-100-*-*-*-*'
  (I see many more fonts listed.)

Expected result:

the emerging of media-fonts/font-adobe-100dpi should have reminded me to re-login. Without doing it, games-board/xboard fails to start (bug 384521). So, I propose to add an ewarn to xorg-2.eclass.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2011-10-02 23:09:45 UTC
$ xset fp rehash
Comment 2 Siim Ainsaar 2011-10-03 12:01:24 UTC
Sweet! This probably cannot be automatized as emerge may be run from outside an X, but a warning should still be added to xorg-2.eclass, into setup_fonts(), I suppose.
Comment 3 Larry the Git Cow gentoo-dev 2018-05-26 20:30:43 UTC
The bug has been closed via the following commit(s):

commit 053b9d09dda24d2968c31c52d6898e62183f1fc4
Author:     Matt Turner <>
AuthorDate: 2018-05-26 20:02:27 +0000
Commit:     Matt Turner <>
CommitDate: 2018-05-26 20:29:46 +0000

    xorg-2.eclass: Notify users to run 'xset fp rehash' when fonts change

 eclass/xorg-2.eclass | 2 ++
 1 file changed, 2 insertions(+)