Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Zmiana styli QT w Gnome
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
ro-x
Apprentice
Apprentice


Joined: 14 Oct 2006
Posts: 167
Location: Poland, Lodz

PostPosted: Sun Nov 05, 2006 8:50 pm    Post subject: [SOLVED] Zmiana styli QT w Gnome Reply with quote

Czy jest jakas mozliwosc konfiguracji styli QT, czcionek itp dla aplikacji pod QT bez potrzeby instalowania kdebase w ktorego sklad wchodzi kcontrol? Uzywam gnome i srednio mi sie widzi mergowanie wlasciwie calego srodowiska aby zmienic wyglad kadu i k3b..

Last edited by ro-x on Tue Nov 07, 2006 9:37 am; edited 3 times in total
Back to top
View user's profile Send private message
KeyBi
Apprentice
Apprentice


Joined: 26 Mar 2005
Posts: 163
Location: Jaworzno [PL]

PostPosted: Sun Nov 05, 2006 8:55 pm    Post subject: Reply with quote

Możesz skorzystać z polecenia qtconfig, które należy do pakietu qt.
_________________
Gentoo Linux Blog
Back to top
View user's profile Send private message
ro-x
Apprentice
Apprentice


Joined: 14 Oct 2006
Posts: 167
Location: Poland, Lodz

PostPosted: Sun Nov 05, 2006 9:53 pm    Post subject: Reply with quote

Code:
/usr/qt/3/bin/qtconfig

dokladnie o to mi chodzilo :)))

[SOLVED]
Back to top
View user's profile Send private message
ro-x
Apprentice
Apprentice


Joined: 14 Oct 2006
Posts: 167
Location: Poland, Lodz

PostPosted: Mon Nov 06, 2006 8:26 am    Post subject: Reply with quote

Jednak nie do konca solved bo nie ma polskich znakow. ustawiam rozne fonty i bez skutku, K3b uruchamia sie z domyslna czcionka bez polskich literek ;/ Co zrobic z tym fantem?
Back to top
View user's profile Send private message
KeyBi
Apprentice
Apprentice


Joined: 26 Mar 2005
Posts: 163
Location: Jaworzno [PL]

PostPosted: Mon Nov 06, 2006 10:46 am    Post subject: Reply with quote

Stwórz plik ~/.kderc i tam umieść definicje fontów. U mnie ten plik prezentuje się w ten sposób :
Code:

[General]
StandardFont=Arial,10,-1,5,50,0,0,0,0,0
activeFont=Arial,11,-1,5,50,0,0,0,0,0
background=239,239,239
fixed=Terminus,12,-1,5,50,0,0,0,0,0
font=Trebuchet MS,12,-1,5,50,0,0,0,0,0
menuFont=Trebuchet MS,12,-1,5,50,0,0,0,0,0
selectBackground=103,141,178
selectForeground=255,255,255
taskbarFont=Arial,10,-1,5,50,0,0,0,0,0
toolBarFont=Arial,12,-1,5,50,0,0,0,0,0
windowBackground=255,255,255
windowForeground=0,0,0

_________________
Gentoo Linux Blog
Back to top
View user's profile Send private message
ro-x
Apprentice
Apprentice


Joined: 14 Oct 2006
Posts: 167
Location: Poland, Lodz

PostPosted: Mon Nov 06, 2006 6:07 pm    Post subject: Reply with quote

nie działa.. k3b dalej uruchamia sie z ta sama czcionka i bez polskich znakow ;/
Back to top
View user's profile Send private message
KeyBi
Apprentice
Apprentice


Joined: 26 Mar 2005
Posts: 163
Location: Jaworzno [PL]

PostPosted: Mon Nov 06, 2006 6:41 pm    Post subject: Reply with quote

Możesz jeszcze spróbować wedytować plik ~/.kde/share/config/k3brc być może w nim będzie jakiś wpis o fontach (nie wiem bo nie mam k3b). Jeśli nie to chyba pozostaje tylko zainstalowanie pakietu kcontrol...
_________________
Gentoo Linux Blog
Back to top
View user's profile Send private message
ro-x
Apprentice
Apprentice


Joined: 14 Oct 2006
Posts: 167
Location: Poland, Lodz

PostPosted: Mon Nov 06, 2006 9:28 pm    Post subject: Reply with quote

niestety nie ma w tym pliku nic nt. czcionek. zauwazylem tez ze k3b zawsze uruchamia sie ze stylem plastik ktorego w systemie nie ma.. chyba nie da rady zmienic tego bez kcontrol, a mnie pozostaje pogodzic sie z kwadracikami zamiast "ogonków", bo 60 mega kde instalowac nie bede..
dzieki za dobre checi..
Back to top
View user's profile Send private message
ffurbo
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2005
Posts: 112
Location: Poland/Radom

PostPosted: Mon Nov 06, 2006 9:32 pm    Post subject: Reply with quote

U mnie qtconfig jakby w ogóle nie działał. Tzn. tylko on sam używa stylu, który się w nim ustawi. Kadu i psi wciąż wyglądają tak jak wyglądały.
Back to top
View user's profile Send private message
dziadu
Guru
Guru


Joined: 04 May 2006
Posts: 467
Location: Kraków/Darmstadt/Munich

PostPosted: Mon Nov 06, 2006 9:34 pm    Post subject: Reply with quote

ffurbo wrote:
U mnie qtconfig jakby w ogóle nie działał. Tzn. tylko on sam używa stylu, który się w nim ustawi. Kadu i psi wciąż wyglądają tak jak wyglądały.


A na pewno to jest to qtconfig? Jeśli masz qt3 i qt4 to wydając polecenie qtconfig uruchamiasz wersje dla qt4. Spróbuj
Code:
/usr/qt/3/bin/qtconfig
Back to top
View user's profile Send private message
ro-x
Apprentice
Apprentice


Joined: 14 Oct 2006
Posts: 167
Location: Poland, Lodz

PostPosted: Mon Nov 06, 2006 9:37 pm    Post subject: Reply with quote

nie mam qt4. ;) popatrz pare moich postow wyzej.
Back to top
View user's profile Send private message
dziadu
Guru
Guru


Joined: 04 May 2006
Posts: 467
Location: Kraków/Darmstadt/Munich

PostPosted: Mon Nov 06, 2006 9:59 pm    Post subject: Reply with quote

To akurat było do ffurbo skierowane, ale...

Spróbuj tak zrobić. Najpier zaemerguj czcionki DejaVu

Potem utwórz plik, odpowiednik mojego:
Code:
/home/dziadu/.kde/share/apps/kstyle/themes/original/original.xml

(z tym, że .kde to symlink do .kde3.5) o treści takiej:
Code:

<!DOCTYPE ktheme>
<ktheme version="1" >
  <general/>
  <desktop number="0" common="1" >
    <mode id="Flat" />
    <color1 rgb="#003082" />
    <color2 rgb="#6c8bb9" />
    <blending mode="FlatBlending" balance="100" reverse="0" />
    <pattern name="stonewall2" />
    <wallpaper mode="Scaled" url="theme:/wallpapers/desktop/39971-2.jpg" />
  </desktop>
  <screensaver name="" />
  <icons name="KDE_Crystal_Diamond_2_Gentoo_Mod" >
    <Animated value="0" object="desktop" />
    <DoublePixels value="0" object="desktop" />
    <Size value="48" object="desktop" />
    <ActiveEffect name="togamma" object="desktop" />
    <ActiveSemiTransparent value="0" object="desktop" />
    <ActiveValue value="1" object="desktop" />
    <DefaultColor rgb="#9080f8" object="desktop" />
    <DefaultColor2 rgb="#000000" object="desktop" />
    <DefaultEffect name="none" object="desktop" />
    <DefaultSemiTransparent value="0" object="desktop" />
    <DefaultValue value="1" object="desktop" />
    <DisabledColor rgb="#22ca00" object="desktop" />
    <DisabledColor2 rgb="#000000" object="desktop" />
    <DisabledEffect name="togray" object="desktop" />
    <DisabledSemiTransparent value="1" object="desktop" />
    <DisabledValue value="1" object="desktop" />
    <Animated value="0" object="mainToolbar" />
    <DoublePixels value="0" object="mainToolbar" />
    <Size value="22" object="mainToolbar" />
    <ActiveColor rgb="#a99cff" object="mainToolbar" />
    <ActiveColor2 rgb="#000000" object="mainToolbar" />
    <ActiveEffect name="none" object="mainToolbar" />
    <ActiveSemiTransparent value="0" object="mainToolbar" />
    <ActiveValue value="1" object="mainToolbar" />
    <DefaultColor rgb="#9080f8" object="mainToolbar" />
    <DefaultColor2 rgb="#000000" object="mainToolbar" />
    <DefaultEffect name="none" object="mainToolbar" />
    <DefaultSemiTransparent value="0" object="mainToolbar" />
    <DefaultValue value="1" object="mainToolbar" />
    <DisabledColor rgb="#22ca00" object="mainToolbar" />
    <DisabledColor2 rgb="#000000" object="mainToolbar" />
    <DisabledEffect name="togray" object="mainToolbar" />
    <DisabledSemiTransparent value="1" object="mainToolbar" />
    <DisabledValue value="1" object="mainToolbar" />
    <Animated value="0" object="panel" />
    <DoublePixels value="0" object="panel" />
    <Size value="32" object="panel" />
    <ActiveEffect name="togamma" object="panel" />
    <ActiveSemiTransparent value="0" object="panel" />
    <ActiveValue value="1" object="panel" />
    <DefaultColor rgb="#9080f8" object="panel" />
    <DefaultColor2 rgb="#000000" object="panel" />
    <DefaultEffect name="none" object="panel" />
    <DefaultSemiTransparent value="0" object="panel" />
    <DefaultValue value="1" object="panel" />
    <DisabledColor rgb="#22ca00" object="panel" />
    <DisabledColor2 rgb="#000000" object="panel" />
    <DisabledEffect name="togray" object="panel" />
    <DisabledSemiTransparent value="1" object="panel" />
    <DisabledValue value="1" object="panel" />
    <Animated value="0" object="small" />
    <DoublePixels value="0" object="small" />
    <Size value="16" object="small" />
    <ActiveColor rgb="#a99cff" object="small" />
    <ActiveColor2 rgb="#000000" object="small" />
    <ActiveEffect name="none" object="small" />
    <ActiveSemiTransparent value="0" object="small" />
    <ActiveValue value="1" object="small" />
    <DefaultColor rgb="#9080f8" object="small" />
    <DefaultColor2 rgb="#000000" object="small" />
    <DefaultEffect name="none" object="small" />
    <DefaultSemiTransparent value="0" object="small" />
    <DefaultValue value="1" object="small" />
    <DisabledColor rgb="#22ca00" object="small" />
    <DisabledColor2 rgb="#000000" object="small" />
    <DisabledEffect name="togray" object="small" />
    <DisabledSemiTransparent value="1" object="small" />
    <DisabledValue value="1" object="small" />
    <Animated value="0" object="toolbar" />
    <DoublePixels value="0" object="toolbar" />
    <Size value="22" object="toolbar" />
    <ActiveColor rgb="#a99cff" object="toolbar" />
    <ActiveColor2 rgb="#000000" object="toolbar" />
    <ActiveEffect name="none" object="toolbar" />
    <ActiveSemiTransparent value="0" object="toolbar" />
    <ActiveValue value="1" object="toolbar" />
    <DefaultColor rgb="#9080f8" object="toolbar" />
    <DefaultColor2 rgb="#000000" object="toolbar" />
    <DefaultEffect name="none" object="toolbar" />
    <DefaultSemiTransparent value="0" object="toolbar" />
    <DefaultValue value="1" object="toolbar" />
    <DefaultColor rgb="#9080f8" object="toolbar" />
    <DefaultColor2 rgb="#000000" object="toolbar" />
    <DefaultEffect name="none" object="toolbar" />
    <DefaultSemiTransparent value="0" object="toolbar" />
    <DefaultValue value="1" object="toolbar" />
    <DisabledColor rgb="#22ca00" object="toolbar" />
    <DisabledColor2 rgb="#000000" object="toolbar" />
    <DisabledEffect name="togray" object="toolbar" />
    <DisabledSemiTransparent value="1" object="toolbar" />
    <DisabledValue value="1" object="toolbar" />
  </icons>
  <sounds/>
  <colors contrast="7" >
    <background rgb="#efefef" object="global" />
    <selectBackground rgb="#678db2" object="global" />
    <foreground rgb="#000000" object="global" />
    <windowForeground rgb="#000000" object="global" />
    <windowBackground rgb="#ffffff" object="global" />
    <selectForeground rgb="#ffffff" object="global" />
    <buttonBackground rgb="#dddfe4" object="global" />
    <buttonForeground rgb="#000000" object="global" />
    <linkColor rgb="#0000ee" object="global" />
    <visitedLinkColor rgb="#52188b" object="global" />
    <activeForeground rgb="#ffffff" object="kwin" />
    <inactiveBackground rgb="#9daaba" object="kwin" />
    <inactiveBlend rgb="#9daaba" object="kwin" />
    <activeBackground rgb="#418edc" object="kwin" />
    <activeBlend rgb="#6b91b8" object="kwin" />
    <inactiveForeground rgb="#dddddd" object="kwin" />
    <activeTitleBtnBg rgb="#7f9ec8" object="kwin" />
    <inactiveTitleBtnBg rgb="#a7b5c7" object="kwin" />
  </colors>
  <cursors name="" />
  <wm type="builtin" name="kwin3_plastik" >
    <border size="1" />
  </wm>
  <konqueror>
    <wallpaper url="theme:/wallpapers/konqueror/kde4ever.png" />
    <bgcolor rgb="#000000" />
  </konqueror>
  <panel>
    <background colorize="0" url="theme:/wallpapers/panel/default.png" />
    <transparent value="0" />
  </panel>
  <widgets name="Plastik" />
  <fonts>
    <font value="DejaVu Sans,10,-1,5,50,0,0,0,0,0" object="General" />
    <fixed value="DejaVu Sans Mono,10,-1,5,50,0,0,0,0,0" object="General" />
    <toolBarFont value="DejaVu Sans,10,-1,5,50,0,0,0,0,0" object="General" />
    <menuFont value="DejaVu Sans,10,-1,5,50,0,0,0,0,0" object="General" />
    <activeFont value="DejaVu Sans,9,-1,5,75,0,0,0,0,0" object="WM" />
    <taskbarFont value="DejaVu Sans,10,-1,5,50,0,0,0,0,0" object="General" />
    <StandardFont value="DejaVu Sans,10,-1,5,50,0,0,0,0,0" object="FMSettings" />
  </fonts>
</ktheme>


W sumie możesz wyciąć wszystko poza kilkoma ostatnimi linijkami, gdzie masz definicje czcionek, które kde ma używać. Może k3b chwyci te ustawienia.
Back to top
View user's profile Send private message
ffurbo
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2005
Posts: 112
Location: Poland/Radom

PostPosted: Mon Nov 06, 2006 10:08 pm    Post subject: Reply with quote

dziadu wrote:

A na pewno to jest to qtconfig? Jeśli masz qt3 i qt4 to wydając polecenie qtconfig uruchamiasz wersje dla qt4. Spróbuj
Code:
/usr/qt/3/bin/qtconfig


Dzięki, nie pomyślałem o tym. Ustawiłem kolory i wreszcie k-programy nie gryzą się tak z xfce.

Czy można jakoś doinstalować dodatkowe style bez kompilacji kdelibs?
Back to top
View user's profile Send private message
ro-x
Apprentice
Apprentice


Joined: 14 Oct 2006
Posts: 167
Location: Poland, Lodz

PostPosted: Mon Nov 06, 2006 11:07 pm    Post subject: Reply with quote

tak, niektore sa nawet w portage. zobacz np "polymer". jest to odpowiednik plastik'a z kde :)

dziadu ten sposob tez nie pomogl ;/
Back to top
View user's profile Send private message
ffurbo
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2005
Posts: 112
Location: Poland/Radom

PostPosted: Mon Nov 06, 2006 11:29 pm    Post subject: Reply with quote

ro-x Ty chyba masz szklaną kulę :) Właśnie plastika chciałem. Mogłem go wybrać qtconfig od qt4 a w tym od qt3 go nie było.

Teraz wszystko elegancko pasuje mi do G2 z xfce :D

Dzięki za pomoc
Back to top
View user's profile Send private message
dziadu
Guru
Guru


Joined: 04 May 2006
Posts: 467
Location: Kraków/Darmstadt/Munich

PostPosted: Tue Nov 07, 2006 7:10 am    Post subject: Reply with quote

@ro-x, Ok, to sproboj zrobic to tak:

Rozpakuj ten plik w katalogu ~/.kde

Dalej DejaVu wymagane.
Back to top
View user's profile Send private message
ro-x
Apprentice
Apprentice


Joined: 14 Oct 2006
Posts: 167
Location: Poland, Lodz

PostPosted: Tue Nov 07, 2006 9:37 am    Post subject: Reply with quote

@dziadu: dokladnie o to chodzilo :) wielkie dzieki za pomoc!
[SOLVED]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum