FS#15085 - [gtk] missing rc files in /etc/gtk
Attached to Project:
Arch Linux
Opened by Alessandro Doro (adoroo) - Saturday, 13 June 2009, 10:40 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 10 January 2010, 18:01 GMT
Opened by Alessandro Doro (adoroo) - Saturday, 13 June 2009, 10:40 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 10 January 2010, 18:01 GMT
|
Details
Description:
/etc/gtk doesn't contain rc files for FR, IT and some other countries. This cause some issue with displayed characters; see for example I suggest to add more symlinks: gtkrc.it -> gtkrc.iso-8859-15 * gtk 1.2.10-9 |
This task depends upon
Closed by Eric Belanger (Snowman)
Sunday, 10 January 2010, 18:01 GMT
Reason for closing: No response
Additional comments about closing: If you come up with a solution, ask to re-open this bug.
Sunday, 10 January 2010, 18:01 GMT
Reason for closing: No response
Additional comments about closing: If you come up with a solution, ask to re-open this bug.
What follows assumes that the current locale is xx_XX.utf8.
A gtkrc.utf8 should be created in /etc/gtk. Some testing with manedit and xmms shows that it's ignored (tried with gtkrc.utf-8 too).
$ LANG=it_IT.utf8 xmms # bad
$ LANG=it_IT.iso88591 xmms # good
Is there a way to make gtk libraries read gtkrc.utf8?
http://mandrivausers.org/index.php?/topic/15102-how-to-modifying-ui-font-of-gtk1-and-gtk2-apps/
https://bugs.launchpad.net/ubuntu/+source/gtk+1.2/+bug/71071/+activity
http://www.gentoo-wiki.info/UTF-8#XMMS
suggest that this is possible, but here it doesn't work. I need explicitely /etc/gtk/gtkrc or /etc/gtk/gtkrc.it or /etc/gtk/gtkrc.it_IT.utf8 or ~/.gtkrc when the locale is it_IT.utf8. Note that the file can be identical to, e.g., gtkrc.iso-8859-15.
Proposals:
1. /etc/gtk/gtkrc.xx links to the corresponding gtkrc.iso
or /etc/gtk/gtkrc.xx_XX.utf8 links to the corresponding gtkrc.iso or a new file¹ gtkrc.utf8
2. warn users to create a ~/gtkrc that links to the appropriate rc file in /etc/gtk
3. make sure gtk reads gtkrc.utf8 if it runs under a utf8 locale.
The last is the most desiderable.