PDA

View Full Version : [kde] How To: Match GTK to KDE nearly perfectly



Alan James
September 6th, 2010, 09:00 PM
Attached is an image of what I will be describing. The top window has the “Radial Gradient” (the default in KDE) the bottom has a solid background. I think the bottom matches better.

To correct a specific application in KDE 4.4 go into “System Settings.”
Click on Appearance.
In the side pane click on “Windows”. Then click on the “Window-Specific Overrides” tab.
Click “Add”, then “Detect Window Properties.” A cross-hair appears.
Click on the GTK application you want to re-theme.
A dialog box will pop up, just click “OK.”
You are returned to the previous screen.
Check “Background Style” then select “Solid Color” from the drop down.
Click “OK” then click “Apply”.

The gradient is gone and the GTK application looks more at home in KDE.

My question is, does anyone know of a way to do this for all GTK applications at once?

Alan James
September 7th, 2010, 07:09 PM
Does anyone know of this command?

ankspo71
September 14th, 2010, 01:59 AM
Hi,
What about doing a little theme customizing... more specifically configure the Oxygen window decoration (or choose another decoration) and use QtCurve as your style?

First, The Oxygen window decoration has an option to turn off the gradient background.
In KDE 4.5.1 (the version I am using), I can go here to do that:
System Settings > Workspace Appearance > Window Decorations > Select the Oxygen window border > then click on configure Decoration > Fine Tuning > Background Style:-> "Solid Color". The location to do this is probably different in KDE 4.4x so just look for the section where you switch window decorations then click on the Configure Decoration button.

This creates another problem though, because the Qxygen style (KDE's default window theme) is still using a gradient. This is where I would recommend using any of the QtCurve KDE styles. QtCurve is VERY configurable and even feels lighter on my system compared to Oxygen. The QtCurve style can also be used in GTK applications also. If you have QtCurve 1.5 or greater installed, it also supports window transparency in KDE applications. Some people have uploaded some really good QtCurve styles at KDE-look.org too. You will need to install QtCurve more than likely, but it is available in the Ubuntu repositories.

To switch from Oxygen to QtCurve styles, go to System Settings > Application Appearance > Style > Widget Style: -> "QtCurve". To configure the style to your liking, you can click on the configure button right next to the QtCurve selection.

To configure your gtk applications to use QtCurve, go to System Settings > Application Appearance > GTK Appearance, and make sure the QtCurve option for the Widget Style is selected,

Aurorae window decoration themes can also be used, but there aren't too many to choose from at KDE-look.org. There are some really nice ones there though. The Aurorae window decorations can be found in the package called "kdeartwork" metapackage.

ankspo71
September 14th, 2010, 04:53 AM
Hi again,
I'm adding an image to show how well the QtCurve styles match GTK and KDE application windows and window decorations. I am also showing the Oxygen window decoration with the gradient background turned off. The applications shown are; torrent search, firefox, dolphin, lastfm client, konsole and pitivi.