* [sisyphus] Gtk ( или gnome)
@ 2003-10-10 7:26 Епифанов Сергей
2003-10-10 7:59 ` Sergey V Turchin
0 siblings, 1 reply; 12+ messages in thread
From: Епифанов Сергей @ 2003-10-10 7:26 UTC (permalink / raw)
To: Рассылка Sisyphus
Есть вопрос.
Я сижу в локали cp1251, после обновления Сизифом все приложения с gtk стали
брать печатать просто ерунду вместо русских букв. Похоже, нарушилось
определение локали, так как если набрать команду типа
LC_ALL=ru_RU.KOI8-R gqview
как русский текст начинает нормально появляться. По strace видно, что
запускается перекодировка из KOI8-R в CP1251 для текста в cp1251. Как это
можно исправить? Хотя бы где посмотреть или ключевое слово для поиска.
Можно ли это исправить через /etc/gtk/gtkrc* и где можно выставить шрифты
для gtk?
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk ( или gnome)
2003-10-10 7:26 [sisyphus] Gtk ( или gnome) Епифанов Сергей
@ 2003-10-10 7:59 ` Sergey V Turchin
2003-10-10 8:07 ` Епифанов Сергей
0 siblings, 1 reply; 12+ messages in thread
From: Sergey V Turchin @ 2003-10-10 7:59 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 356 bytes --]
В сообщении от 10 Октябрь 2003 11:26 Епифанов Сергей написал(a):
> Есть вопрос.
>
> Я сижу в локали cp1251, после обновления Сизифом все приложения с
> gtk стали брать печатать просто ерунду вместо русских букв.
Запускаете из KDE ?
--
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk ( или gnome)
2003-10-10 7:59 ` Sergey V Turchin
@ 2003-10-10 8:07 ` Епифанов Сергей
2003-10-10 9:18 ` Sergey V Turchin
0 siblings, 1 reply; 12+ messages in thread
From: Епифанов Сергей @ 2003-10-10 8:07 UTC (permalink / raw)
To: sisyphus
В сообщении от 10 Октябрь 2003 11:59 Sergey V Turchin написал:
> В сообщении от 10 Октябрь 2003 11:26 Епифанов Сергей написал(a):
> > Есть вопрос.
> >
> > Я сижу в локали cp1251, после обновления Сизифом все приложения с
> > gtk стали брать печатать просто ерунду вместо русских букв.
>
> Запускаете из KDE ?
Да. Пробовал из Enlightment, тоже самое. Сама оболочка показывает русский
текст нормально, а эти программы - чепуху. Попытался в Gnome - при запуске
простой экран и непонятно, как там что-либо запустить. До обновления все
было в порядке. Сейчас играюсь с /etc/gtk/gtkrc*, но пока ничего.
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk ( или gnome)
2003-10-10 8:07 ` Епифанов Сергей
@ 2003-10-10 9:18 ` Sergey V Turchin
2003-10-10 10:26 ` Епифанов Сергей
2003-10-10 11:23 ` Епифанов Сергей
0 siblings, 2 replies; 12+ messages in thread
From: Sergey V Turchin @ 2003-10-10 9:18 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 707 bytes --]
В сообщении от 10 Октябрь 2003 12:07 Епифанов Сергей написал(a):
> В сообщении от 10 Октябрь 2003 11:59 Sergey V Turchin написал:
> > В сообщении от 10 Октябрь 2003 11:26 Епифанов Сергей написал(a):
> > > Есть вопрос.
> > >
> > > Я сижу в локали cp1251, после обновления Сизифом все
> > > приложения с gtk стали брать печатать просто ерунду вместо
> > > русских букв.
> >
> > Запускаете из KDE ?
>
> Да.
Если приложение GTK-1,
то можно
unset GTK_RC_FILES,
я еще не нашел, как поправить.
KDE экспортирует 2 переменные
set| grep GTK
Ошибка проявляется только с GTK-1 и в ru_RU.CP1251
--
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk ( или gnome)
2003-10-10 9:18 ` Sergey V Turchin
@ 2003-10-10 10:26 ` Епифанов Сергей
2003-10-10 13:45 ` [sisyphus] Gtk (тема Geramik) Епифанов Сергей
2003-10-10 16:03 ` [sisyphus] Gtk ( или gnome) Sergey V Turchin
2003-10-10 11:23 ` Епифанов Сергей
1 sibling, 2 replies; 12+ messages in thread
From: Епифанов Сергей @ 2003-10-10 10:26 UTC (permalink / raw)
To: sisyphus
В сообщении от 10 Октябрь 2003 13:18 Sergey V Turchin написал:
> Если приложение GTK-1,
> то можно
> unset GTK_RC_FILES,
> я еще не нашел, как поправить.
> KDE экспортирует 2 переменные
> set| grep GTK
> Ошибка проявляется только с GTK-1 и в ru_RU.CP1251
$set|grep GTK
GTK2_RC_FILES=/usr/share/themes/Geramik/gtk-2.0/gtkrc:/etc/gtk-2.0/gtkrc:/home/pif/.gtkrc-2.0
GTK_RC_FILES=/usr/share/themes/Geramik/gtk/gtkrc:/etc/gtk/gtkrc:/home/pif/.gtkrc
Спасибо, я нашел в чем была причина. В теме Geramic (которая у меня
прописана в GTK_RC_FILES) есть файл gtkrc:
/usr/share/themes/Geramic/gtk/gtkrc
Если в этот файл в раздел "style "Default" " вписать строки из
/etc/gtk/gtkrc.cp1251 про шрифты:
fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-*,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-microsoft-cp1251"
то все встает на свои места. Вопрос только как автоматически это
настраивать...
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk (тема Geramik)
2003-10-10 10:26 ` Епифанов Сергей
@ 2003-10-10 13:45 ` Епифанов Сергей
2003-10-10 16:03 ` [sisyphus] Gtk ( или gnome) Sergey V Turchin
1 sibling, 0 replies; 12+ messages in thread
From: Епифанов Сергей @ 2003-10-10 13:45 UTC (permalink / raw)
To: sisyphus
В сообщении от 10 Октябрь 2003 14:26 Епифанов Сергей написал:
> Если в этот файл в раздел "style "Default" " вписать строки из
> /etc/gtk/gtkrc.cp1251 про шрифты:
> fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-*,\
> -*-helvetica-medium-r-normal--12-*-*-*-*-*-microsoft-cp1251"
> то все встает на свои места. Вопрос только как автоматически это
> настраивать...
Облом... Но заработало после выставления переменной. Кстати, Geramik
привязана к qt и kde (почему и появилась эта переменная).
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk ( или gnome)
2003-10-10 10:26 ` Епифанов Сергей
2003-10-10 13:45 ` [sisyphus] Gtk (тема Geramik) Епифанов Сергей
@ 2003-10-10 16:03 ` Sergey V Turchin
2003-10-10 17:29 ` Sergey V Turchin
1 sibling, 1 reply; 12+ messages in thread
From: Sergey V Turchin @ 2003-10-10 16:03 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 345 bytes --]
В сообщении от 10 Октябрь 2003 14:26 Епифанов Сергей написал(a):
<skip/>
> то все встает на свои места. Вопрос только как автоматически это
> настраивать...
Видимо исправить geramik, чтобы правильно кодировку определял
--
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk ( или gnome)
2003-10-10 16:03 ` [sisyphus] Gtk ( или gnome) Sergey V Turchin
@ 2003-10-10 17:29 ` Sergey V Turchin
2003-10-13 5:57 ` Андрей Осипов
0 siblings, 1 reply; 12+ messages in thread
From: Sergey V Turchin @ 2003-10-10 17:29 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 464 bytes --]
В сообщении от 10 Октябрь 2003 20:03 Sergey V Turchin написал(a):
> В сообщении от 10 Октябрь 2003 14:26 Епифанов Сергей написал(a):
>
> <skip/>
>
> > то все встает на свои места. Вопрос только как автоматически
> > это настраивать...
>
> Видимо исправить geramik, чтобы правильно кодировку определял
fixed in gtk-engines-geramik-0.26-alt1
--
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk ( или gnome)
2003-10-10 17:29 ` Sergey V Turchin
@ 2003-10-13 5:57 ` Андрей Осипов
0 siblings, 0 replies; 12+ messages in thread
From: Андрей Осипов @ 2003-10-13 5:57 UTC (permalink / raw)
To: sisyphus
В сообщении от Пятница 10 Октябрь 2003 21:29 Sergey V Turchin написал(a):
> В сообщении от 10 Октябрь 2003 20:03 Sergey V Turchin написал(a):
> > В сообщении от 10 Октябрь 2003 14:26 Епифанов Сергей написал(a):
> >
> > <skip/>
> >
> > > то все встает на свои места. Вопрос только как автоматически
> > > это настраивать...
> >
> > Видимо исправить geramik, чтобы правильно кодировку определял
>
> fixed in gtk-engines-geramik-0.26-alt1
а где бы этот пакет надыбать?
--
-------------------------
с уважением,
Андрей Осипов
mailto:admin@krico.komi.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk ( или gnome)
2003-10-10 9:18 ` Sergey V Turchin
2003-10-10 10:26 ` Епифанов Сергей
@ 2003-10-10 11:23 ` Епифанов Сергей
2003-10-10 16:02 ` Sergey V Turchin
1 sibling, 1 reply; 12+ messages in thread
From: Епифанов Сергей @ 2003-10-10 11:23 UTC (permalink / raw)
To: sisyphus
В сообщении от 10 Октябрь 2003 13:18 Sergey V Turchin написал:
> В сообщении от 10 Октябрь 2003 12:07 Епифанов Сергей написал(a):
> > В сообщении от 10 Октябрь 2003 11:59 Sergey V Turchin написал:
> > > В сообщении от 10 Октябрь 2003 11:26 Епифанов Сергей написал(a):
> > > > Есть вопрос.
> > > >
> > > > Я сижу в локали cp1251, после обновления Сизифом все
> > > > приложения с gtk стали брать печатать просто ерунду вместо
> > > > русских букв.
> > >
> > > Запускаете из KDE ?
> >
> > Да.
>
> Если приложение GTK-1,
> то можно
> unset GTK_RC_FILES,
> я еще не нашел, как поправить.
> KDE экспортирует 2 переменные
> set| grep GTK
> Ошибка проявляется только с GTK-1 и в ru_RU.CP1251
Решение: выставить переменную среды QT_GTK_ENC=cp1251
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk ( или gnome)
2003-10-10 11:23 ` Епифанов Сергей
@ 2003-10-10 16:02 ` Sergey V Turchin
2003-10-13 6:46 ` Епифанов Сергей
0 siblings, 1 reply; 12+ messages in thread
From: Sergey V Turchin @ 2003-10-10 16:02 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 998 bytes --]
В сообщении от 10 Октябрь 2003 15:23 Епифанов Сергей написал(a):
> В сообщении от 10 Октябрь 2003 13:18 Sergey V Turchin написал:
> > В сообщении от 10 Октябрь 2003 12:07 Епифанов Сергей написал(a):
> > > В сообщении от 10 Октябрь 2003 11:59 Sergey V Turchin написал:
> > > > В сообщении от 10 Октябрь 2003 11:26 Епифанов Сергей
написал(a):
> > > > > Есть вопрос.
> > > > >
> > > > > Я сижу в локали cp1251, после обновления Сизифом все
> > > > > приложения с gtk стали брать печатать просто ерунду
> > > > > вместо русских букв.
> > > >
> > > > Запускаете из KDE ?
> > >
> > > Да.
> >
> > Если приложение GTK-1,
> > то можно
> > unset GTK_RC_FILES,
> > я еще не нашел, как поправить.
> > KDE экспортирует 2 переменные
> > set| grep GTK
> > Ошибка проявляется только с GTK-1 и в ru_RU.CP1251
>
> Решение: выставить переменную среды QT_GTK_ENC=cp1251
О! Спасибо за наводку.
--
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [sisyphus] Gtk ( или gnome)
2003-10-10 16:02 ` Sergey V Turchin
@ 2003-10-13 6:46 ` Епифанов Сергей
0 siblings, 0 replies; 12+ messages in thread
From: Епифанов Сергей @ 2003-10-13 6:46 UTC (permalink / raw)
To: sisyphus
В сообщении от 10 Октябрь 2003 20:02 Sergey V Turchin написал:
> > > Если приложение GTK-1,
> > > то можно
> > > unset GTK_RC_FILES,
> > > я еще не нашел, как поправить.
> > > KDE экспортирует 2 переменные
> > > set| grep GTK
> > > Ошибка проявляется только с GTK-1 и в ru_RU.CP1251
> >
> > Решение: выставить переменную среды QT_GTK_ENC=cp1251
>
> О! Спасибо за наводку.
Кстати, ответ я обнаружил в самом конце в файле
/usr/share/doc/gtk-engines-geramik-0.23/README:
----Insert-------
Engine
------
...
FONTS: For GTK1 apps, if you are having problems with font encodings, set
the
QT_GTK_ENC to your required encoding. e.g.
export QT_GTK_ENC=iso8859-2
-----/Insert------
Это действует только для этой темы.
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2003-10-13 6:46 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-10 7:26 [sisyphus] Gtk ( или gnome) Епифанов Сергей
2003-10-10 7:59 ` Sergey V Turchin
2003-10-10 8:07 ` Епифанов Сергей
2003-10-10 9:18 ` Sergey V Turchin
2003-10-10 10:26 ` Епифанов Сергей
2003-10-10 13:45 ` [sisyphus] Gtk (тема Geramik) Епифанов Сергей
2003-10-10 16:03 ` [sisyphus] Gtk ( или gnome) Sergey V Turchin
2003-10-10 17:29 ` Sergey V Turchin
2003-10-13 5:57 ` Андрей Осипов
2003-10-10 11:23 ` Епифанов Сергей
2003-10-10 16:02 ` Sergey V Turchin
2003-10-13 6:46 ` Епифанов Сергей
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git