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


Członek DUG



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]
[/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



Moderator




Widocznie nie masz odpowiednich xfontów. Sprawdź xfontsel'em czy masz czcionki z konfigu.
Offline


Członek DUG



mam te czcionki, bo właśnie xfontselem je dobrałem ;)
locales mam wszędzie pl_PL

Offline



Moderator




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


Członek DUG



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



Moderator




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


Członek DUG



Zapodałem twoje configi, wykonałem locale-gen, 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



Moderator




W takim razie odpadam.
Jesli to nie wina ustawień środowiska, czy lokalizacji to może jednak wina czcionek?
Offline



Członek DUG


Członek DUG



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



Piwo DUG




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