Page 1 of 1
[Resolved] Unable to remove fonts

Posted:
Jun 30th, '14, 23:36
by mark9117
I misclicked in Fontmatrix yesterday and managed to install a lot of fonts. A whole lot of font, almost all of which I do not need. I am unable to deactivae those fonts with Fontmatrix. It may be me, but I deactive fonts and they continue to show up in appliacations.
I've tried uninstalling with drakefont, but it keeps crashing:
- Code: Select all
The "drakfont" program has crashed with the following error:
Can't call method "get_selected_rows" on an undefined value at /usr/libexec/drakfont line 664.
Perl's trace:
standalone::bug_handler() called from /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm:295
Gtk3::__ANON__() called from /usr/lib/libDrakX/mygtk3.pm:1501
mygtk3::main() called from /usr/lib/libDrakX/ugtk3.pm:748
ugtk3::main() called from /usr/libexec/drakfont:512
main::interactive_mode() called from /usr/libexec/drakfont:516
Used theme: oxygen-gtk
To submit a bug report, click on the report button.
This will open a web browser window on Bugzilla where you'll find a form to fill in. The information displayed above will be transferred to that server
It would be very useful to attach to your report the output of the following command: 'lspcidrake -v'.
I reported the bug, but that's no help. I need to get these fonts out of the way so tha Libre writer will actually open.
Any ideas?
Thanks.
Mark
Re: Unable to remove fonts

Posted:
Jun 30th, '14, 23:59
by jiml8
If you look in /usr/share, you will find many different font directories, notably including fontconfig/. If you look in /etc/fonts, you will find a directory called conf.d which has many many symlinks pointing to font configs in /usr/share/fontconfig/.
To remove fonts manually, you would remove the links from /etc/fonts/conf.d, remove the fontconfig files from /usr/share/fontconfig, and remove the relevant fonts from their individual directories (someplace in /usr/share.
Note that I have not done this myself; I am always adding new fonts and I never remove them. So I cannot absolutely guarantee that this will work, but I have followed the chain through and this does look like the right way to do it.
Re: Unable to remove fonts

Posted:
Jul 1st, '14, 00:16
by mark9117
Thanks for the reply Jim.
I've run accross similar info on the web and it doesn't seem to apply. The fonts that I'm finding linked in those directries are fonts installed as system fonts and they're all fine. There is a file in ~/.config/fontconfig/fonts.conf that lists those system fonts as well, but my user has literally thousands of fonts installed and I need to get the uninstalled.
The fonts in question are contained in a directory on my file server. Unmounting the share containing those files allows Libre writer, etc. to open in a timely fashion, but the fonts still appear in the list.
I'm leaning toward reinstalling the OS. Any further ideas are welcome.
Re: Unable to remove fonts

Posted:
Jul 1st, '14, 00:28
by Ken-Bergen
What happens if you move ~/.config/fontconfig/fonts.conf out of the way?
Re: Unable to remove fonts

Posted:
Jul 1st, '14, 01:38
by mark9117
Yup. Moved it to "not_fonts.conf" and that leaves me with system fonts only.
Coolness.
Thanks Jim.
Mark
Re: Unable to remove fonts

Posted:
Jul 1st, '14, 03:41
by ghmitch
Always remember that a lot of things you configure at a system level, can also be configured at a user level, and as such, may not be configurable (or unconfigurable) with system tools later in the game. So always a good idea to check on local configuration files in your own home directory before giving up hope.
Now please go back and re-edit your original post to something like "[SOLVED] Unable to remove fonts".
Re: Unable to remove fonts

Posted:
Jul 1st, '14, 04:08
by mark9117
I've been using Linux for more than 10 years. I have no issue making those kinds of edits, but this last release of Mageia has changed a lot of things and everything I'm finding about fonts seems inapplicable to what I've got here. I'm a bit skittish about making changes I don't understand. This one, for example, makes very little sense to me.
But what works, works.
Thanks again
Re: Unable to remove fonts

Posted:
Jul 2nd, '14, 18:15
by doktor5000
mark9117 wrote:this last release of Mageia has changed a lot of things and everything I'm finding about fonts seems inapplicable to what I've got here. I'm a bit skittish about making changes I don't understand. This one, for example, makes very little sense to me.
What exactly don't you understand about this issue? You installed fonts for your user, those are not accessible to the tools which are only about the systemwide configuration.
This also applies the other way around: Eg. as root you change something in root's KDE settings (pretty stupid example) or in the default KDE configurations, those changes would also not apply to existing users and their settings.
What you wwant to read about is probably about fontconfig, depending which Mageia release you're having this issue with you need the latest documentation
https://www.happyassassin.net/2014/01/1 ... your-hats/http://fedoraproject.org/wiki/Features/Fontconfig2.10http://fedoraproject.org/wiki/Checking_fontconfig_rules
Re: [Resolved] Unable to remove fonts

Posted:
Jul 2nd, '14, 20:09
by mark9117
I don't have details at hand, but the last time I dealt with font issues in KDE, and this was years ago, it was simpler.
I'm just saying.
Mark
Re: [Resolved] Unable to remove fonts

Posted:
Jul 2nd, '14, 23:11
by doktor5000
Errr, KDE font management vs. drakfont is exactly the issue I was talking about. With drakfont, you can only manage system-wide fonts.
With KDE you can manage both types of fonts.
Apart from that, your issue from the initial post is probably not related to fonts at all, simply select a different theme
then oxygen/oxygen-gtk and drakfont should be able to run. drakfont works fine here.
Re: [Resolved] Unable to remove fonts

Posted:
Jul 2nd, '14, 23:26
by mark9117
Not talking specifically about drakfont (which I couldn't use because
https://bugs.mageia.org/show_bug.cgi?id=13627), but falling back and working from the command line. In all fairness, it might have something to do with Fontconfig. I'm not entirely sure.
At any rate, I'm pretty much back where I need to be. I don't have the time to spend with it because I've got a summer project to rebuild my file server and my backup server. Next upgrade, I'll do a fresh install and see if that resolves some of the issues I'm seeing.
Thanks for the input. I do appreciate the attention.
Mark