Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57883 - [xosd] missing runtime dependency

Attached to Project: Community Packages
Opened by lvs (refracted_manifold) - Sunday, 18 March 2018, 08:41 GMT
Last edited by Antonio Rojas (arojas) - Monday, 09 September 2019, 17:22 GMT
Task Type Bug Report
Category Packages
Status Assigned   Reopened
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description: In an attempt to remove packages I never used, I noticed that osd_cat from xosd stopped working after uninstalling xorg-fonts-misc.

Looking at xosd's code I noticed that osd_cat sets a default font to "-misc-fixed-medium-r-semicondensed--*-*-*-*-c-*-*-*" and if that font isn't found osd_cat fails with: "Error initializing osd: Default font not found". You can't get around this by using the "--font=FONT" option, as the code checks for the default font first and errors out if the font isn't found without even considering the user supplied font.

So xosd in its current form needs a package that supplies "-misc-fixed-medium-r-semicondensed--*-*-*-*-c-*-*-*" (I'm not aware if there are packages other than xorg-fonts-misc that supply it) for osd_cat to run.

* package version: xosd 2.2.14-8


This task depends upon

Comment by Charles Banas (greyfade) - Monday, 09 September 2019, 17:22 GMT
  • Field changed: Percent Complete (100% → 0%)
xorg-fonts-misc does not seem to provide the "fixed" font any more, and xosd is unusable as a result.
Comment by Sergej Pupykin (sergej) - Tuesday, 21 January 2020, 18:48 GMT
That is strange:

$ cd /usr/share/fonts/misc

$ grep -E '^fixed' fonts.alias
fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

$ grep '\-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1' fonts.dir
6x13-ISO8859-1.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

$ pacman -Qo 6x13-ISO8859-1.pcf.gz
/usr/share/fonts/misc/6x13-ISO8859-1.pcf.gz is owned by xorg-fonts-misc 1.0.3-6
Comment by Arthur Huillet (ahuillet) - Saturday, 25 September 2021, 16:17 GMT
This is still a problem with xorg-fonts-misc-otb, but rebuilding libxosd with default font string "6x13" instead of the one used seems to workaround the problem.

Loading...