You are not logged in.

#1 2010-07-31 07:39:26

hawk
Member
From: Australia
Registered: 2006-07-14
Posts: 7

Zombie ~/.fonts.conf

For some reason, no matter how many times I delete it, a new .fonts.conf keeps appearing in my home directory. I'm using KDE 4 at the moment, any ideas what may be recreating this, or how to go about figuring that out? The file disables subpixel rendering for some resaon, and overrides my hinting settings in /etc/fonts/local.conf.

Offline

#2 2010-07-31 12:35:26

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Zombie ~/.fonts.conf

KDE's systemsettings overwrites it.
Everytime you go on the fonts tab, it rewrites its settings to your local .fonts.conf.

Offline

#3 2010-08-01 02:30:04

hawk
Member
From: Australia
Registered: 2006-07-14
Posts: 7

Re: Zombie ~/.fonts.conf

You're right, it's every time I got to System Settings -> Appearance.
That's really, really stupid. Is there any way to prevent this, other than just deleting every time I change a setting?

Offline

#4 2010-08-01 03:19:02

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Zombie ~/.fonts.conf

Well, you can make it unwritable by the user (with chmod or chown or attrib) but then the font settings through SystemSettings wouldn't be applied then.

Last edited by flamelab (2010-08-01 03:19:27)

Offline

#5 2010-08-01 04:06:10

hawk
Member
From: Australia
Registered: 2006-07-14
Posts: 7

Re: Zombie ~/.fonts.conf

Tried that... set permissions to 640, and it still overwrote it.
Then I chown'd it to root:root with permissions again set to 640, and it still replaced it! ...How is that even possible?

Offline

#6 2010-08-01 05:09:37

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: Zombie ~/.fonts.conf

640 = -rw-r----- so it's still got write permission, try 400 or 440

Offline

#7 2010-08-01 05:50:25

hawk
Member
From: Australia
Registered: 2006-07-14
Posts: 7

Re: Zombie ~/.fonts.conf

Ugh, you're right. Brainfart. Doesn't seem to make a difference though.
440, owned by me, the file gets overwritten.
440, owned by root, system settings crashes.
444, owned by root, the file gets replaced with one owned by me.

Last edited by hawk (2010-08-01 05:57:08)

Offline

#8 2010-08-01 05:55:30

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: Zombie ~/.fonts.conf

It's bad that kde behaves this way. Maybe fill a bug upstream? I don't think this behaviour should be acceptable.

Offline

#9 2010-08-01 06:04:25

hawk
Member
From: Australia
Registered: 2006-07-14
Posts: 7

Re: Zombie ~/.fonts.conf

Looks like there already is one...
https://bugs.kde.org/show_bug.cgi?id=245664

Offline

#10 2010-08-01 06:22:02

hawk
Member
From: Australia
Registered: 2006-07-14
Posts: 7

Re: Zombie ~/.fonts.conf

Okay, I've added my 0.02 to the bug, guess all I can do for now is just keep on deleting it every time I open up system settings-> appearance.

Offline

#11 2010-08-01 06:45:41

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Zombie ~/.fonts.conf

hawk wrote:

Okay, I've added my 0.02 to the bug, guess all I can do for now is just keep on deleting it every time I open up system settings-> appearance.

I cant let you do that - http://github.com/trapd00r/rmshit

Offline

#12 2010-08-01 07:06:24

hawk
Member
From: Australia
Registered: 2006-07-14
Posts: 7

Re: Zombie ~/.fonts.conf

dmz wrote:
hawk wrote:

Okay, I've added my 0.02 to the bug, guess all I can do for now is just keep on deleting it every time I open up system settings-> appearance.

I cant let you do that - http://github.com/trapd00r/rmshit

Mate, you're a bloody legend!

Offline

Board footer

Powered by FluxBB