From: fixx <fixx@bk.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] кодировка в xmms
Date: Sun, 23 Jul 2006 20:09:47 +0400
Message-ID: <44C39F4B.70708@bk.ru> (raw)
In-Reply-To: <op.tc5esaghglg102@post.cnt.ru>
Владимир Гусев пишет:
>>>Я как раз говорил об интерфейсе программы на gtk+ в целом, не только
>>>про тэги...
>>>Вот мой вариант:
>>>style "default-text" {
>>> fontset =
>>>"-*-verdana-medium-r-normal-*-*-80-*-*-p-*-iso10646-1,\
>>> -*-verdana-medium-r-normal-*-*-80-*-*-p-*-iso10646-1"
>>>}
>>>class "GtkWidget" style "default-text"
>>>
>>
>>изменил файл /etc/gtk/gtkrc.ru_RU.utf8, но ничего не изменилось..
>
>
> Точно? Или как в прошлый раз с fstab?
>
> В домашнем каталоге создать файл .gtkrc, в котором записать примерно
> следующее (берите строки, касающиеся шрифтов):
>
> # -- THEME AUTO-WRITTEN DO NOT EDIT
> include "/usr/share/themes/BlueSmooth/gtk/gtkrc"
>
> style "user-font"
> {
> font="-microsoft-tahoma-medium-r-normal-*-*-80-*-*-p-*-koi8-r"
> }
> widget_class "*" style "user-font"
>
> include "/home/vova/.icewm/gtkrc"
>
> include "/home/vova/.gtkrc.mine"
>
> # -- THEME AUTO-WRITTEN DO NOT EDIT
>
> Еще раз, эти 2 файла (gtkrc.ru_RU.utf8 и ~/.gtkrc у меня в таком виде, как
> я приводил - интерфейс XMMS (а так же других программ на gtk+, в т.ч. и
> nerolinux) с нормальными шрифтами, не кракозябры..
>
либо лыжи не едут, либо я что-то не так делаю. итак, что у нас есть:
файл /etc/gtk/gtkrc.ru_RU.utf8 с содержимым:
style "default-text" {
fontset = "-*-verdana-medium-r-normal-*-*-80-*-*-p-*-iso10646-1,\
-*-verdana-medium-r-normal-*-*-80-*-*-p-*-iso10646-1"
}
class "GtkWidget" style "default-text"
м файл /home/denis/.gtkrc с содержим:
style "user-font"
{
font="-microsoft-tahoma-medium-r-normal-*-*-80-*-*-p-*-koi8-r"
}
widget_class "*" style "user-font"
и все равно в xmms из под юзера кракозябры, из под рута все нормально. в
чем я допустил ошибку?
когда я запускаю xmms их под рутовского терминала в нем пишется ошибка:
The font "-adobe-helvetica-bold-r-*-*-10-*" does not support all the
required character sets for the current locale "C"
(Missing character set "ISO8859-1")
** WARNING **: Failed to open font: "-adobe-helvetica-bold-r-*-*-10-*".
когда закрываю:
** CRITICAL **: file configfile.c: line 266 (xmms_cfg_write_string):
assertion `value != NULL' failed.
** CRITICAL **: file configfile.c: line 266 (xmms_cfg_write_string):
assertion `value != NULL' failed.
** CRITICAL **: file configfile.c: line 266 (xmms_cfg_write_string):
assertion `value != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget'
Gtk-CRITICAL **: file gtkwidget.c: line 1387 (gtk_widget_destroy):
assertion `widget != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget'
Gtk-CRITICAL **: file gtkwidget.c: line 1387 (gtk_widget_destroy):
assertion `widget != NULL' failed.
GLib-CRITICAL **: file gmain.c: line 500 (g_source_remove): assertion
`tag > 0' failed.
next prev parent reply other threads:[~2006-07-23 16:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-23 10:56 fixx
2006-07-23 12:47 ` Владимир Гусев
2006-07-23 12:57 ` fixx
2006-07-23 13:40 ` Dmitriy Khanzhin
2006-07-23 13:56 ` Владимир Гусев
2006-07-23 15:17 ` fixx
2006-07-23 15:32 ` Владимир Гусев
2006-07-23 16:09 ` fixx [this message]
2006-07-23 16:30 ` Владимир Гусев
2006-07-23 15:18 ` fixx
2006-07-23 19:24 ` Dmitriy Khanzhin
2006-07-24 14:07 ` spider
2006-07-24 15:30 ` Michael Shigorin
2006-07-25 9:23 ` spider
2006-07-25 9:25 ` Шенцев Алексей Владимирович
2006-07-24 15:52 ` Владимир Гусев
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44C39F4B.70708@bk.ru \
--to=fixx@bk.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git