Portál AbcLinuxu, 13. května 2025 23:54

Dotaz: Qt (i KDE) aplikace startují extrémně dlouho

David Watzke avatar 16.10.2006 06:29 David Watzke | skóre: 74 | blog: Blog... | Praha
Qt (i KDE) aplikace startují extrémně dlouho
Přečteno: 152×
Odpovědět | Admin
Ahoj,

začalo to z ničeho nic. Kontroloval jsem DMA, konfigurák X, ale když jsem si všimnul, že to dělají jen Qt aplikace, pustil jsem na ně strace - tím jsem zjistil, že se snaží načíst všechny fonty (hádám, že jsou to ty z xorg.conf), což trvá strašně dlouho a i po několikátém načtení aplikace to není rychlejší. Nechápu proč se to děje a netuším jak to vypnout/opravit. Nějaké nápady? Díky...
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
Nástroje: Začni sledovat (2) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

David Watzke avatar 16.10.2006 06:39 David Watzke | skóre: 74 | blog: Blog... | Praha
Rozbalit Rozbalit vše Re: Qt (i KDE) aplikace startují extrémně dlouho
Odpovědět | | Sbalit | Link | Blokovat | Admin
Aha, dělaj to i GTK+ aplikace, nachytal mě Firefox, který to nedělal. OpenOffice jsou taky v pořádku. Platí to asi jen pro nativní aplikace...
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
16.10.2006 09:22 Luboš Luňák | skóre: 19 | blog: Seli
Rozbalit Rozbalit vše Re: Qt (i KDE) aplikace startují extrémně dlouho
Odpovědět | | Sbalit | Link | Blokovat | Admin
$ su -
$ fc-cache -f
David Watzke avatar 16.10.2006 14:40 David Watzke | skóre: 74 | blog: Blog... | Praha
Rozbalit Rozbalit vše Re: Qt (i KDE) aplikace startují extrémně dlouho
# fc-cache -f
/usr/share/fonts: failed to write cache
/usr/share/fonts/100dpi: failed to write cache
/usr/share/fonts/75dpi: failed to write cache
/usr/share/fonts/TTF: failed to write cache
/usr/share/fonts/Type1: failed to write cache
/usr/share/fonts/corefonts: failed to write cache
/usr/share/fonts/cyrillic: failed to write cache
/usr/share/fonts/default: failed to write cache
/usr/share/fonts/default/ghostscript: failed to write cache
/usr/share/fonts/dejavu: failed to write cache
/usr/share/fonts/encodings: failed to write cache
/usr/share/fonts/encodings/large: failed to write cache
/usr/share/fonts/local: failed to write cache
/usr/share/fonts/misc: failed to write cache
/usr/share/fonts/ttf-bitstream-vera: failed to write cache
/usr/share/fonts/ukr: failed to write cache
/usr/share/fonts/util: failed to write cache
/usr/X11R6/lib/X11/fonts: failed to write cache
/usr/X11R6/lib/X11/fonts/100dpi: failed to write cache
/usr/X11R6/lib/X11/fonts/75dpi: failed to write cache
/usr/X11R6/lib/X11/fonts/TTF: failed to write cache
/usr/X11R6/lib/X11/fonts/Type1: failed to write cache
/usr/X11R6/lib/X11/fonts/corefonts: failed to write cache
/usr/X11R6/lib/X11/fonts/cyrillic: failed to write cache
/usr/X11R6/lib/X11/fonts/default: failed to write cache
/usr/X11R6/lib/X11/fonts/default/ghostscript: failed to write cache
/usr/X11R6/lib/X11/fonts/dejavu: failed to write cache
/usr/X11R6/lib/X11/fonts/encodings: failed to write cache
/usr/X11R6/lib/X11/fonts/encodings/large: failed to write cache
/usr/X11R6/lib/X11/fonts/local: failed to write cache
/usr/X11R6/lib/X11/fonts/misc: failed to write cache
/usr/X11R6/lib/X11/fonts/ttf-bitstream-vera: failed to write cache
/usr/X11R6/lib/X11/fonts/ukr: failed to write cache
/usr/X11R6/lib/X11/fonts/util: failed to write cache
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
16.10.2006 10:32 Boogie
Rozbalit Rozbalit vše Re: Qt (i KDE) aplikace startují extrémně dlouho
Odpovědět | | Sbalit | Link | Blokovat | Admin
Jestli mas prava tak skus vytvorit uplne noveho uzivatele, prihlasit se s jeho kontem a spustit aplikace. Jestli je tady rychlsotne vsetko v poradku tak je nekde bordel v bodkovanych souborech nebo adresarich (neviditelne, zacinaji teckou, uvidis je pomoci cd ~; ls -la ). Pak pomuze jejich vymazani.
David Watzke avatar 16.10.2006 14:46 David Watzke | skóre: 74 | blog: Blog... | Praha
Rozbalit Rozbalit vše Re: Qt (i KDE) aplikace startují extrémně dlouho
Odpovědět | | Sbalit | Link | Blokovat | Admin
Už asi vím, měnil jsem v konfiguráku něco, na co Wine nadávalo a souviselo to právě s cache... Přeinstaluju fontconfig a ozvu se.
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
David Watzke avatar 16.10.2006 14:48 David Watzke | skóre: 74 | blog: Blog... | Praha
Rozbalit Rozbalit vše Re: Qt (i KDE) aplikace startují extrémně dlouho
No jo, bylo to tím. Achjo.

Stačilo
emerge -1 fontconfig
Díky za hint, Seli ;-)
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.