Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
w gnome-terminal śmiga wszystko jak trzeba. Jednak podoba mi się Eterm. Nie wiem jednak ja zapodać mu polskie znaczki. Obecnie mam coś takiego:
[URL=http://imageshack.us][img]http://img58.imageshack.us/img58/1701/zrzuteterm7bk.jpg[/img][/URL]
Te dziwolągi co wpisałem to właśnie ą ę ź ż ć ...
W configu w ~/.Eterm/themes/smoked_glass/theme.cfg:[code]misiozolek@debilek:~/.Eterm/themes/smoked_glass$ cat theme.cfg
<Eterm-0.9.2>
begin color
foreground #aaaaaa
background black
cursor #ffff00
cursor_text #880000
pointer white
video normal
end color
begin attributes
title "smokedglass"
name Eterm
font default 2
font 0 -misc-fixed-medium-r-normal--7-70-75-75-c-50-ISO8859-2
font 1 -misc-fixed-medium-r-normal--10-100-75-75-c-60-ISO8859-2
font 2 -misc-fixed-medium-r-normal--13-120-75-75-c-70-ISO8859-2
font 3 -misc-fixed-medium-r-normal--13-120-75-75-c-80-ISO8859-2
font 4 -misc-fixed-medium-r-normal--15-140-75-75-c-90-ISO8859-2
font 5 -misc-fixed-medium-r-normal--20-200-75-75-c-100-*-2
font 6 -misc-fixed-medium-r-normal--18-120-100-100-c-90-*-2
end attributes
begin imageclasses
path "./pix:~/.Eterm:~/.Eterm/pix:/usr/share/Eterm/pix"
begin image
type background
mode trans allow trans auto
state normal
cmod image 0x75
bevel up 2 2 2 2
end image
begin image
type trough
mode trans allow trans auto
state normal
bevel down 2 2 2 2
end image
begin image
type anchor
mode trans allow trans auto
state normal
cmod red 0xc0
cmod green 0xc0
bevel up 2 2 2 2
state selected
cmod image 0x120
cmod blue 0x120
bevel up 2 2 2 2
state clicked
cmod image 0x120
cmod blue 0x120
bevel down 2 2 2 2
end image
begin image
type up_arrow
mode trans allow trans auto
state normal
cmod red 0xc0
cmod green 0xc0
bevel up 2 2 2 2
state selected
cmod image 0x120
cmod blue 0x120
bevel up 2 2 2 2
state clicked
cmod image 0x120
cmod blue 0x120
bevel down 2 2 2 2
end image
begin image
type down_arrow
mode trans allow trans auto
state normal
cmod red 0xc0
cmod green 0xc0
bevel up 2 2 2 2
state selected
cmod image 0x120
cmod blue 0x120
bevel up 2 2 2 2
state clicked
cmod image 0x120
cmod blue 0x120
bevel down 2 2 2 2
end image
begin image
type menu
mode trans allow trans auto
state normal
color white black
cmod image 0xc0
bevel up 2 2 2 2
state selected
color white black
cmod image 0x120
bevel up 2 2 2 2
state clicked
color white black
cmod image 0x120
bevel down 2 2 2 2
end image
begin image
type submenu
mode trans allow trans auto
state normal
color white black
cmod image 0xc0
bevel up 2 2 2 2
state selected
color white black
cmod image 0x120
bevel up 2 2 2 2
state clicked
color white black
cmod image 0x120
bevel down 2 2 2 2
end image
end
%include "menus.cfg"
begin actions
bind ctrl button1 to string "e]5;a"
bind ctrl button2 to string "e[?30t"
bind ctrl button3 to menu Eterm
end actions
begin toggles
map_alert on
visual_bell on
login_shell true
scrollbar on
utmp_logging on
iconic false
home_on_input 1
home_on_output 1
scrollbar_right true
scrollbar_floating true
borderless false
itrans true
end toggles
begin keyboard
smallfont_key LessThan
bigfont_key GreaterThan
end keyboard
begin misc
save_lines 64
cut_chars "t\`\"'&() *,;<=>?@[]{|}"
border_width 5
term_name Eterm
end misc
[code]
Czyli powinno grać, czyż nie? Jednak coś jest nie tak. Proszę o pomoc.
Offline
Widocznie nie masz odpowiednich xfontów. Sprawdź xfontsel'em czy masz czcionki z konfigu.
Offline
mam te czcionki, bo właśnie xfontselem je dobrałem ;)
locales mam wszędzie pl_PL
Offline
Dziwne bo u mnie działa ;-).
Ja mam Eterm 0.9.3 + takie ustawienia:
dominik@m31-3:~/.Eterm/themes/Eterm$ cat /etc/locale.gen pl_PL ISO-8859-2 dominik@m31-3:~/.Eterm/themes/Eterm$ cat /etc/environment LANGUAGE="pl_PL ISO-8859-2" LC_ALL="pl_PL" LANG=pl_PL dominik@m31-3:~/.Eterm/themes/Eterm$
Dodatkowo dodaje takie cóś do ~/.bashrc (choc bez tego chodzi na kontach reszty mojej rodzinki)
dominik@m31-3:~/.Eterm/themes/Eterm$ cat ~/.bashrc |grep pl_PL export LANG='pl_PL ISO-8859-2' export LC_ALL='pl_PL' dominik@m31-3:~/.Eterm/themes/Eterm$
Offline
No ja mam troszkę inaczej. Zrobiłem dpkg-reconfigure locales i mam errory jakieś (wybrałem pl_PL):
debilek:~# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "pl_PL:pl:en_GB:en", LC_ALL = (unset), LANG = "pl_PL.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory Generating locales (this might take a while)... pl_PL.ISO-8859-2... done Generation complete. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "pl_PL:pl:en_GB:en", LC_ALL = (unset), LANG = "pl_PL.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "pl_PL:pl:en_GB:en", LC_ALL = (unset), LANG = "pl_PL.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").
Mam ustawione:
debilek:~# cat /etc/environment LANG="pl_PL.UTF-8" LANGUAGE="pl_PL:pl:en_GB:en" debilek:~# cat /etc/environment cat /etc/locale.gen LANG="pl_PL.UTF-8" LANGUAGE="pl_PL:pl:en_GB:en" cat: cat: No such file or directory #pl_PL.UTF-8 UTF-8 pl_PL ISO-8859-2
Offline
Spróbuj na moim /etc/enviroment. Wygląda na to że eterm widzi ustawione kodowanie unicode, którego nie ma w configu i dla tego masz grekę.
Offline
Zapodałem twoje configi, wykonałem [b]locale-gen[/b], restartnąłem X-y... I nie działa, choć teraz inne znaczki wypisuje, hehe. Do tego we fluxbox menu mam też kraczki (wcześniej na polskiej literce kończyło się wogóle ;P - w menu autogenerowanym - np. Prze = Przełącz pulpit ;P)
Eterm już działa - reinstala locales zrobiłem i śmiga z PL. Tylko teraz menu fluxboxa... :/
Offline
W takim razie odpadam.
Jesli to nie wina ustawień środowiska, czy lokalizacji to może jednak wina czcionek?
Offline
Nie mam pojęcia czego to wina, ale już mam okej wszystko - Eterma i menu fluxa :D Samo się zrobiło w trakcie jak mana do fluxa czytałem!
Debian testing/Etch
Offline
dpkg-reconfigure locales to jest dziwny problem bo mi nigdy nie chodzi ladnie przy ustawieniach LANGUAGE = "pl_PL:pl:en_GB:en",
LC_ALL = (unset),
LANG = "pl_PL.UTF-8"
Tylko przy takich
LANGUAGE="pl_PL ISO-8859-2"
LC_ALL="pl_PL"
LANG=pl_PL
i dopiero smiga pozatym zapodaje jeszcze aspell-p i myspell-pl i juz mam wszystkie ogony i.t.d
Offline
Strony: 1
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00089 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.222.98.29' WHERE u.id=1 |
0.00067 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.222.98.29', 1733000212) |
0.00044 | SELECT * FROM punbb_online WHERE logged<1732999912 |
0.00044 | SELECT topic_id FROM punbb_posts WHERE id=33396 |
0.00005 | SELECT id FROM punbb_posts WHERE topic_id=4237 ORDER BY posted |
0.00047 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=4237 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00112 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=4237 ORDER BY p.id LIMIT 0,25 |
0.00085 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=4237 |
Total query time: 0.00512 s |