View previous topic :: View next topic |
Author |
Message |
Kenji Miyamoto Veteran
Joined: 28 May 2005 Posts: 1452 Location: Looking over your shoulder.
|
Posted: Fri Jun 03, 2005 10:09 pm Post subject: Gtk-Qt Engine Not Working |
|
|
The Gtk-Qt engine doesn't seem to work. When I change the settings in the KDE Control Center, only running Gtk+2 programs are affected. Once they're restarted, they revert to the default style. Also, the "Use my KDE style in GTK applications" radio button is re-selected if I go into another Control Center area, even after I select "Use Another Style: " set at "Qt". What do I need to do to get it in work properly? |
|
Back to top |
|
|
palmer Guru
Joined: 17 Nov 2004 Posts: 322 Location: Berkeley, CA
|
Posted: Sat Jun 04, 2005 5:19 pm Post subject: |
|
|
I have found that the kde thing does not seem to work well
I use gtk-theme-switch
Code: |
emerge x11-themes/gtk-theme-switch
switch2 <-- for gtk2
switch <-- for gtk1
|
-palmem[/code] |
|
Back to top |
|
|
Kenji Miyamoto Veteran
Joined: 28 May 2005 Posts: 1452 Location: Looking over your shoulder.
|
Posted: Sat Jun 04, 2005 11:07 pm Post subject: |
|
|
A reboot seemed to solve my problem. |
|
Back to top |
|
|
atrain Tux's lil' helper
Joined: 05 Oct 2004 Posts: 86
|
Posted: Sun Jun 05, 2005 6:25 am Post subject: |
|
|
Use my current theme selects QT.
Its basicly an option for n00bs out there that dont know what QT is.... _________________ Adopt an unanswered post today!
Dell:
Passive cooling, a cheap 200W power supply.
No voltage or temp monitors.
Beware... |
|
Back to top |
|
|
Havin_it Veteran
Joined: 17 Jul 2005 Posts: 1247 Location: Edinburgh, UK
|
Posted: Fri Jun 09, 2006 3:43 pm Post subject: |
|
|
gtk-qt is still doing nothing for me... In the Control Centre applet, my "use another style:" box suggests a problem: it consists of " " [blank entry] and "Raleigh". There is no "Qt" option there as it appears there should be.
Any idea how I can solve this? |
|
Back to top |
|
|
slithy Guru
Joined: 26 Nov 2005 Posts: 321 Location: Kansas
|
Posted: Sat Jun 10, 2006 4:03 am Post subject: |
|
|
To get the GTK apps to look like your QT, select the radio button above, called "Use My KDE Style in GTK applications". |
|
Back to top |
|
|
Havin_it Veteran
Joined: 17 Jul 2005 Posts: 1247 Location: Edinburgh, UK
|
Posted: Sat Jun 10, 2006 8:23 am Post subject: |
|
|
It was initially set to that, but had no effect. Also it re-sets to that setting every time I re-open the applet. |
|
Back to top |
|
|
irondog l33t
Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Sat Jun 10, 2006 5:36 pm Post subject: |
|
|
Gtk-engines-qt is a piece of unmaintained crap written by a company that switched its default desktop to Gnome and said goodbye to the KDE desktop recently (SUSE) .
When GTK-Qt engines started to show breakage (next to the side effects it allways has been showing), i decided to stop using it. I only used it for Firefox, which is the only GTK application I use, anyway.
To KDE-ify my Firefox, I do this:
* Remove gtk-engines-qt from system
* Remove it from /etc/portage/package.keywords
* Create a ~/.gtkrc-2.0 file. Something like this provides nice Plastik colors and MS Windows fonts:
Code: |
## (Make sure you have the Verdana font installed from package media-fonts/corefonts USE="X")
gtk-font-name = "Verdana 10"
style "default"
{
bg[NORMAL] = { 0.937, 0.937, 0.937 }
bg[SELECTED] = { 0.404, 0.553, 0.698 }
bg[INSENSITIVE] = { 0.937, 0.937, 0.937 }
bg[ACTIVE] = { 0.780, 0.780, 0.780 }
bg[PRELIGHT] = { 0.937, 0.937, 0.937 }
base[NORMAL] = { 1.000, 1.000, 1.000 }
base[SELECTED] = { 0.404, 0.553, 0.698 }
base[INSENSITIVE] = { 0.937, 0.937, 0.937 }
base[ACTIVE] = { 0.404, 0.553, 0.698 }
base[PRELIGHT] = { 0.404, 0.553, 0.698 }
text[NORMAL] = { 0.000, 0.000, 0.000 }
text[SELECTED] = { 1.000, 1.000, 1.000 }
text[INSENSITIVE] = { 0.780, 0.780, 0.780 }
text[ACTIVE] = { 1.000, 1.000, 1.000 }
text[PRELIGHT] = { 1.000, 1.000, 1.000 }
fg[NORMAL] = { 0.000, 0.000, 0.000 }
fg[SELECTED] = { 1.000, 1.000, 1.000 }
fg[INSENSITIVE] = { 0.780, 0.780, 0.780 }
fg[ACTIVE] = { 0.000, 0.000, 0.000 }
fg[PRELIGHT] = { 0.000, 0.000, 0.000 }
}
class "*" style "default"
gtk-alternative-button-order = 1
style "ToolTip"
{
bg[NORMAL] = { 1.000, 1.000, 0.863 }
base[NORMAL] = { 1.000, 1.000, 0.863 }
text[NORMAL] = { 0.000, 0.000, 0.000 }
fg[NORMAL] = { 0.000, 0.000, 0.000 }
}
widget "gtk-tooltips" style "ToolTip"
style "MenuItem"
{
bg[PRELIGHT] = { 0.404, 0.553, 0.698 }
}
class "*MenuItem" style "MenuItem"
|
* Install a nice Firefox theme, to make it more KDE alike:
http://www.tom-cat.com/mozilla/firefox.html
Benefits:
* No more GTK render side effects / artifacts
* No more breakage of GTK-Qt engine (it worked for years, but it's showing breakage)
Drawbacks:
* No more automatic .gtkrc-2.0 creation => Manage your own colour themes and fonts for GTK apps.
* GTK apps need more theming to KDE-ify them than before _________________ Alle dingen moeten onzin zijn. |
|
Back to top |
|
|
Havin_it Veteran
Joined: 17 Jul 2005 Posts: 1247 Location: Edinburgh, UK
|
Posted: Tue Jun 13, 2006 6:31 pm Post subject: |
|
|
Oh...right then.
I hit upon a risky strategy to try: Opened up my .gtkrc-2.0, and edited the appropriate line to
Code: | gtk-theme-name="Qt" |
and blow me, it worked!
Cheers anyway |
|
Back to top |
|
|
|
|
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
|
|