[Resolved] Unable to remove fonts

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[Resolved] Unable to remove fonts

Postby mark9117 » Jun 30th, '14, 23:36

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
Last edited by mark9117 on Jul 1st, '14, 04:09, edited 1 time in total.
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Unable to remove fonts

Postby jiml8 » Jun 30th, '14, 23:59

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.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Unable to remove fonts

Postby mark9117 » Jul 1st, '14, 00:16

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.
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Unable to remove fonts

Postby Ken-Bergen » Jul 1st, '14, 00:28

What happens if you move ~/.config/fontconfig/fonts.conf out of the way?
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Unable to remove fonts

Postby mark9117 » Jul 1st, '14, 01:38

Yup. Moved it to "not_fonts.conf" and that leaves me with system fonts only.

Coolness.

Thanks Jim.

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Unable to remove fonts

Postby ghmitch » Jul 1st, '14, 03:41

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".
ghmitch
 
Posts: 325
Joined: Mar 30th, '11, 03:05
Location: Eureka California USA

Re: Unable to remove fonts

Postby mark9117 » Jul 1st, '14, 04:08

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
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Unable to remove fonts

Postby doktor5000 » Jul 2nd, '14, 18:15

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.10
http://fedoraproject.org/wiki/Checking_fontconfig_rules
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [Resolved] Unable to remove fonts

Postby mark9117 » Jul 2nd, '14, 20:09

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
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: [Resolved] Unable to remove fonts

Postby doktor5000 » Jul 2nd, '14, 23:11

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [Resolved] Unable to remove fonts

Postby mark9117 » Jul 2nd, '14, 23:26

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
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron