kdesu ignore users font config

Bug #71937 reported by sedd
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

When an app is run in superuser mode, via gksu or kdesu, the users ~/.fonts.conf file is not used. If ~/.fonts.conf is copy/linked to /root/.fonts.conf for /etc/fonts/local.conf, then the sudoed app respects the users font profile (as far as I can tell, this affects only antialiasing, not choice of font face or size.)

To reproduce, open System - Preferences - Font menu and change the antialiasing to something obviously different from the default. Run gksudo gedit (or whatever) and notice the antialiasing. Does it use the default aa settings? Now run sudo gedit -- the custom antialiasing profile is used, unlike with gksu. Why is this?

This affects both gksu and kdesu, so I don't think it is a bug with either of them.

Revision history for this message
Sebastien Bacher (seb128) wrote :

There is already bug #24280 for gksu, reassigning that one to kdebase for kdesu

Kieran Hogg (xerosis)
Changed in kdebase:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

This is fixed with kdesudo in gutsy, isnt it?

Changed in kdebase:
status: Confirmed → Incomplete
Revision history for this message
wolfger (wolfger) wrote :

Can somebody verify if this is fixed in Gutsy/Hardy, per the above comment?

Revision history for this message
Paul21 (pdvalentini) wrote :

wolfger: I got the same problem on my new Hardy

wolfger (wolfger)
Changed in kdebase:
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.