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/.
Witam,
mam taki drobny problem z fluxboxem ktorego dopiero co zainstalowalem. Nie wyswietla jakich kolwiek fontow (menu, naglowki, okien itp). Fluxboxa zainstalowalem z paczki, z wszelkimi zaleznosciami. Nawet zciagnolem xfonts-artwiz od sarga oraz nainstalowalem kupe paczek z fontami. Nie pomaga nawet rekompilacja paczki z fluxboxem (sposobem z apt-howto).
Zalaczam kilka ostatnich linijek z Xorg.1.log:
(**) Configured Mouse: Device: "/dev/input/mice" (**) Configured Mouse: Protocol: "ImPS/2" (**) Option "CorePointer" (**) Configured Mouse: Core Pointer (**) Option "Device" "/dev/input/mice" (**) Option "Emulate3Buttons" "true" (**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50 (**) Configured Mouse: ZAxisMapping: buttons 4 and 5 (**) Configured Mouse: Buttons: 9 (II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE) (II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD) (II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other) xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compatibility { include "complete" }; xkb_symbols { include "pc(pc105)+pl" }; xkb_geometry { include "pc(pc104)" }; (II) Configured Mouse: ps2EnableDataReporting: succeeded xkb_types { include "%" }; xkb_compatibility { include "%" }; xkb_symbols { include "%" }; xkb_geometry { include "%" }; (EE) Error loading keymap /var/tmp/server-1.xkm
powyzsze EE to jedyny blad jaki jest w logu. plik xorg.conf:
Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" 0 0 InputDevice "Generic Keyboard" InputDevice "Configured Mouse" EndSection Section "Files" # path to defoma fonts FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dbe" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "pl" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" EndSection Section "Monitor" Identifier "SyncMaster" HorizSync 30.0 - 70.0 VertRefresh 50.0 - 160.0 Option "DPMS" EndSection Section "Device" Identifier "nVidia Corporation NV20 [GeForce3 Ti 200]" Driver "nvidia" BusID "PCI:2:0:0" Option "NoLogo" "0" EndSection Section "Screen" Identifier "Default Screen" Device "nVidia Corporation NV20 [GeForce3 Ti 200]" Monitor "SyncMaster" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1152x864" "1024x768" "800x600" EndSubSection EndSection
Offline
nano -w ~/.fonts.conf
Kod:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="autohint" mode="assign"><bool>true</bool></edit>
</match>
<match target="font">
<edit name="antialias" mode="assign"><bool>true</bool></edit>
</match>
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig>
Kod:
grep antialias ~/.fluxbox/init
session.screen0.antialias: true
http://endel.ovh.org/?page_id=24#Styl
Offline
antialias jest ustawiony, stworzenie .fonts.conf nic nie dalo, ale podsunoles mi dobry pomysl. zajrzalem do pliku init w poszukiwaniu stylu i okazalo sie ze ten domyslny artwiz chce jakas czcionke ktorej nie mam (nie tylko z reszta on jeden ale znalazlem styl ktory uzywa innych czcionek i teraz dziala ok). zaraz pogrzebie w poszukiwaniu tych brakujacych czcionek.
W pliku stylu artwiz odnosnie czcionek jest to:
*Font: -*-lucidatypewriter-medium-r-*-*-*-100-*-*-*-*-*-* !*Font: vera-7
dzieki za odzew :)
Offline
w menu
tak podaje do przykladu
Kod:
[begin] ( Debian GNU/Linux) {}
[encoding] {UTF-8}
i jeszcze jedno
http://debian.linux.pl/printview.php?t=579&start=0&sid=a5f351756f7a951fb3bd1c72ab578f0a
Powinno śmiatać i wybierz jakies tematy no chodzi mi o style z czcionami pl
EDIT
fluxbox-generate_menu
Offline
zmienilem w tym temacie artwiz czcionke na helvetica-12, sa polskie znaczki ale antialias jest jakis taki malo swietny. Niby w pliku init jest "true" a fonty jakies takie chropowate :( pobawie sie troche z roznymi fontami i zobacze co wyjdzie
Offline
jakie paczki z czcionkami zainstalowałeś?
Offline
$ apt-show-versions |grep fonts xfonts-scalable/etch uptodate 1:1.0.0-6 xfonts-mplus/etch uptodate 2.2.4-1 xfonts-artwiz 1:1.3-2 installed: No available version in archive xfonts-efont-unicode/etch uptodate 0.4.0-4.1 xfonts-utils/etch uptodate 1:1.0.1-1 texmacs-extra-fonts/etch uptodate 0.1 sun-java5-fonts/etch uptodate 1.5.0-10-3 x11proto-fonts-dev/etch uptodate 2.0.2-5 xfonts-base/etch uptodate 1:1.0.0-4 xfonts-intl-european/etch uptodate 1.2.1-6 xfonts-nexus/etch uptodate 0.0.2-12 texlive-fonts-extra/etch uptodate 2005.dfsg.3-1 texlive-fonts-recommended/etch uptodate 2005.dfsg.3-1 xfonts-100dpi/etch uptodate 1:1.0.0-3 xfonts-biznet-100dpi/etch uptodate 3.0.0-19 xfonts-biznet-75dpi/etch uptodate 3.0.0-19 xfonts-tipa/etch uptodate 2:1.3-4 xfonts-efont-unicode-ib/etch uptodate 0.4.0-4.1 xfonts-terminus-dos/etch uptodate 4.20-5.1 xfonts-terminus/etch uptodate 4.20-5.1 ttf-sjfonts/etch uptodate 2.0.1-2 xfonts-terminus-oblique/etch uptodate 4.20-5.1 xfonts-encodings/etch uptodate 1:1.0.0-6 xfonts-100dpi-transcoded/etch uptodate 1:1.0.0-3 xfonts-75dpi-transcoded/etch uptodate 1:1.0.0-3 xfonts-75dpi/etch uptodate 1:1.0.0-3 xfonts-biznet-base/etch uptodate 3.0.0-19 gsfonts/etch uptodate 1:8.11+urwcyr1.0.7~pre41-1 msttcorefonts/etch uptodate 1.8 gsfonts-x11/etch uptodate 0.20
zmienilem czcionke stylu na Andale-12 i wszystko sie ladnie wygladzilo, i wyglada nawet ze polskie znaczki tez sa... tylko sie musze dokladnie przyjrzec czy wszystkie bo to roznie bywa ;)
pytanko mam jeszcze jedno, odnosnie tego linku ktory podal Ryszard w pierwszej odpowiedzi. Jak buduje paczke deb z paczki zrodlowej (debianowej) to wydaje tylko polecenie dpkg-buildpackage -uc -b
a na tej stronie w rozdzial o konfiguracji radza zeby wlaczyc dodatkowe opcje przy wywolywaniu ./configure:
./configure --enable-imlib2 --enable-nls
jak to zrobic budujac paczke po "debianowemu"?
Offline
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00006 | SET NAMES latin2 |
0.00094 | 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='3.145.12.5' WHERE u.id=1 |
0.00085 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.145.12.5', 1731291532) |
0.00047 | SELECT * FROM punbb_online WHERE logged<1731291232 |
0.00073 | SELECT topic_id FROM punbb_posts WHERE id=64167 |
0.00051 | SELECT id FROM punbb_posts WHERE topic_id=8403 ORDER BY posted |
0.00064 | 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=8403 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00080 | 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=8403 ORDER BY p.id LIMIT 0,25 |
0.00085 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=8403 |
Total query time: 0.00599 s |