Page 1 of 1

Mageia 7 Xfce Drakfont problem

PostPosted: Aug 9th, '19, 06:38
by thorh
I installed Mageia 7 and most things I have tested so far seem to work. While trying to uninstall some unused fonts using drakfont, it crashed and gave this:
Code: Select all
The "drakfont" program has segfaulted with the following error:

  SEGV
  Glibc's trace:
  4: /lib64/libperl.so.5.28(Perl_sighandler+0x226) [0x7f98184778a6]
  5: /lib64/libc.so.6(+0x3caf0) [0x7f9818212af0]
  6: /lib64/libgtk-3.so.0(+0x198fe3) [0x7f980bc04fe3]
  7: /lib64/libgtk-3.so.0(+0xd4f0e) [0x7f980bb40f0e]
  8: /lib64/libgtk-3.so.0(+0x19366d) [0x7f980bbff66d]
  9: /lib64/libgtk-3.so.0(+0x18f744) [0x7f980bbfb744]
  10: /lib64/libgtk-3.so.0(gtk_style_properties_set_valist+0x1b3) [0x7f980bb41233]
  11: /lib64/libgtk-3.so.0(gtk_style_properties_set+0xb9) [0x7f980bb41499]
  12: /lib64/libgtk-3.so.0(+0x24af94) [0x7f980bcb6f94]
  13: /lib64/libgtk-3.so.0(+0xb8429) [0x7f980bb24429]
  14: /lib64/libgtk-3.so.0(+0xb891f) [0x7f980bb2491f]
  15: /lib/../lib64/libgobject-2.0.so.0(+0x13fc6) [0x7f980c726fc6]
  16: /lib/../lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xe8e) [0x7f980c742c9e]
  17: /lib/../lib64/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7f980c7431b2]
  18: /lib64/libgtk-3.so.0(+0x34e6b7) [0x7f980bdba6b7]
  19: /lib64/libgtk-3.so.0(+0x351ca4) [0x7f980bdbdca4]
 
  Perl's trace:
  drakbug::bug_handler() called from /usr/lib/libDrakX/drakbug.pm:41
  drakbug::__ANON__() called from /usr/share/perl5/vendor_perl/Gtk3.pm:578
  (eval)() called from /usr/share/perl5/vendor_perl/Gtk3.pm:578
  Gtk3::main() called from /usr/share/perl5/vendor_perl/Gtk3.pm:523
  Gtk3::__ANON__() called from /usr/libexec/drakfont:621
  main::dialog() called from /usr/libexec/drakfont:544
  main::appli_choice() called from /usr/share/perl5/vendor_perl/Gtk3.pm:578
  (eval)() called from /usr/share/perl5/vendor_perl/Gtk3.pm:578
  Gtk3::main() called from /usr/share/perl5/vendor_perl/Gtk3.pm:523
  Gtk3::__ANON__() called from /usr/lib/libDrakX/mygtk3.pm:1550
  mygtk3::main() called from /usr/lib/libDrakX/ugtk3.pm:857
  ugtk3::main() called from /usr/libexec/drakfont:512
  main::interactive_mode() called from /usr/libexec/drakfont:516

Used theme: Adwaita-Xfce

Is there any other way to manage fonts?

Thor

Re: Mageia 7 Xfce Drakfont problem

PostPosted: Aug 9th, '19, 08:52
by doktor5000
Why don't you simply uninstall the package which contains those fonts? Apart from that, what do you think to gain by uninstalling fonts ?
From what I can tell, the uninstall function does not really remove those fonts from your system, it just changes fontconfig to ignore those fonts.

Regarding your question on how to manage fonts, usually desktop environments bring their own tool to manage fonts.
For KDE, that would be under systemsettings > fonts: https://userbase.kde.org/System_Setting ... Management
For XFCE, I don't know.

Re: Mageia 7 Xfce Drakfont problem

PostPosted: Aug 9th, '19, 16:04
by vinylninja
In Xfce you can manage font settings from the system settings under 'Appearance'.

If you want to remove actually some packages I would use the package manager (command line or graphical).

Re: Mageia 7 Xfce Drakfont problem

PostPosted: Aug 13th, '19, 17:03
by thorh
Thank you for the replies, the "Appearance" settings wasn't much help. The reason for removing unused fonts is simple, hard drives are always too small. I tried XUbuntu and they had a font-manager among their packages and I also found instructions on how to remove fonts from the hard drive.

Thor

Re: Mageia 7 Xfce Drakfont problem

PostPosted: Aug 13th, '19, 17:31
by vinylninja
If you want to search with a GUI for fonts and know their names you can open Rpmdrake and type the name of the font package and remove them from there.
I do not use any font manager so I cannot comment on that.

Urpmi is what I use. For example

Code: Select all
urpmf liberation


will search for packages with the name liberation.

Re: Mageia 7 Xfce Drakfont problem

PostPosted: Aug 14th, '19, 09:40
by doktor5000
If you want to free up space then there are more effective ways to do that. I'd check the installed packages, and go through the list of those that require the most space and remove those that I don't need.

Code: Select all
rpm -qa --queryformat '%{size} %{name}\n' | sort -rn | head -75

This will show you the 75 biggest packages, sorted descending by size.

You can also check if there are some directories on your / filesystem (or also in your /home filesystem or wherever else you required more space)
Code: Select all
du -mx / | sort -rn | head -25

will show you the 25 biggest folders in the / filesystem