From: "Владимир Гусев" <myquest@narod.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Как настроить внешний вид gtk-приложений?
Date: Fri, 03 Oct 2003 00:15:40 -0000
Message-ID: <oprwfxoev3to48qk@post.cnt.ru> (raw)
In-Reply-To: <200310022050.39671.dead_m@list.ru>
On Thu, 2 Oct 2003 20:50:39 +0400, DM <dead_m@list.ru> wrote:
> Здравствуйте!
>
> Пытаюсь настраивать внешность (конкретно --- шрифт) gtk-приложений.
> Запускаю gnome-control-center, устанавливаю, что надо, закрываю. Всё в
> порядке, настройки воспринимаются. Но стоит выйти из иксов, все
> параметры сбрасываются в исходное состояние. Никаких сообщений на тему
> <<невозможно записать файл>> в логах не нашёл. Файлов, недоступных мне
> на запись в ~/ и глубже нет. В чём может быть проблема?
>
GTK - приложения, а точнее шрифт, я менял путем правки файла
/etc/gtk/gtkrc.ru_RU.koi8-r (или другой, смотря какая у тебя кодировка по
дефолту)... Вот образец моего файла gtkrc.ru_RU.koi8-r:
style "gtk-default-koi8-r" {
fontset = "-*-tahoma-medium-r-normal--11-*-75-75-*-*-koi8-*,\
-*-tahoma-medium-r-normal--11-*-75-75-*-*-koi8-*"
}
class "GtkWidget" style "gtk-default-koi8-r"
А чтобы в КДЕ шрифт gtk- и kde-приложений был одинакового размера (есть
некоторые программы, где есть такое недоразумение), то мне тут, на форуме,
подсказали простую, но эффективную вещь... Цитирую:
"Настраивается в ~/.gtkrc-2.0 параметром gtk-font-name.
Пример:
gtk-font-name = "Verdana 12""
Если такого файла нет, его стоит создать и прописать нужный шрифт и его
размер...
--
С уважением, Владимир Гусев
next prev parent reply other threads:[~2003-10-03 0:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-02 16:50 DM
2003-10-02 18:31 ` Sergey Lizogub
2003-10-03 0:15 ` Владимир Гусев [this message]
2003-10-06 19:28 ` DM
2003-10-08 13:33 ` Grigory Tuboltsev
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=oprwfxoev3to48qk@post.cnt.ru \
--to=myquest@narod.ru \
--cc=community@altlinux.ru \
/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