KDE 4.2 Question

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

KDE 4.2 Question

Postby Gzus666 » Sun Feb 01, 2009 4:51

http://i650.photobucket.com/albums/uu22 ... enshot.png

I have 64 bit 4.0 RC1 and KDE 4.2 recently installed. As you can see, the few windows are a bit ugly in the menu area, but the themes seem to be working fine. My file manager looks OK, but some windows like Firefox, Pidgin, Spritz and so on have a horribly ugly look to them. Is there a system wide theme to alter these things? KDE 3.5 seemed to look much better for those specific things. I would almost prefer if the desktop theme carried through to everything.
Gzus666
Baby Hen
 
Posts: 19
Joined: Sun Dec 09, 2007 22:51

Re: KDE 4.2 Question

Postby wolfden » Sun Feb 01, 2009 6:32

I don't see the uglyness

change emeral themes?
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: KDE 4.2 Question

Postby Tvin » Sun Feb 01, 2009 8:10

Yes, I confirm it. GTK programs look ugly.

It looks like qtk-engine-qt is not working for KDE4.2. There is no such option in KDE4.2 control menu. And everything is ok in KDE4.1 and 3.5.10.

And one more thing. Ktorrent does not work in KDE4.2, while it does in KDE4.1.4 and 3.5.10. It can't connect to a tracker. Deluge works good.
Tvin
Simple Hen
 
Posts: 47
Joined: Sat Nov 29, 2008 20:27

Re: KDE 4.2 Question

Postby Gzus666 » Sun Feb 01, 2009 16:37

wolfden wrote:I don't see the uglyness

change emeral themes?


If you look at the icons and file menu area in Pidgin and Spritz, then compare it to the ones from KDE 3.5, they are quite ugly and square rather than rounded. I have Emerald up.
Gzus666
Baby Hen
 
Posts: 19
Joined: Sun Dec 09, 2007 22:51

Re: KDE 4.2 Question

Postby Gzus666 » Sun Feb 01, 2009 16:45

Tvin wrote:Yes, I confirm it. GTK programs look ugly.

It looks like qtk-engine-qt is not working for KDE4.2. There is no such option in KDE4.2 control menu. And everything is ok in KDE4.1 and 3.5.10.

And one more thing. Ktorrent does not work in KDE4.2, while it does in KDE4.1.4 and 3.5.10. It can't connect to a tracker. Deluge works good.


Awesome, thank you.

http://www.kde-apps.org/content/show.ph ... tent=74689

That seems to be the fix, I got the source code, but I am getting an error while trying to cmake, complaining about no destination file. I will keep fiddling, if anyone knows the answer already please let me know.
Gzus666
Baby Hen
 
Posts: 19
Joined: Sun Dec 09, 2007 22:51

Re: KDE 4.2 Question

Postby Gzus666 » Sun Feb 01, 2009 17:31

OK, tried something else. GTK QT engine is supposed to add the appropriate setting options, I have installed it with Spritz and it has added nothing. Anyone have any ideas on this? I think this is meant for 4.1 and might not be updated for 4.2 so I may just have to wait for an update, but worth a try I guess.
Gzus666
Baby Hen
 
Posts: 19
Joined: Sun Dec 09, 2007 22:51

Re: KDE 4.2 Question

Postby wolfden » Sun Feb 01, 2009 23:37

Gzus666 wrote:
Tvin wrote:Yes, I confirm it. GTK programs look ugly.

It looks like qtk-engine-qt is not working for KDE4.2. There is no such option in KDE4.2 control menu. And everything is ok in KDE4.1 and 3.5.10.

And one more thing. Ktorrent does not work in KDE4.2, while it does in KDE4.1.4 and 3.5.10. It can't connect to a tracker. Deluge works good.


Awesome, thank you.

http://www.kde-apps.org/content/show.ph ... tent=74689

That seems to be the fix, I got the source code, but I am getting an error while trying to cmake, complaining about no destination file. I will keep fiddling, if anyone knows the answer already please let me know.


its in an overlay:
* x11-themes/gtk-engines-kde4 [8]
Available versions: **0.7-r1 {themes}
Homepage: http://kde-apps.org/content/show.php/gt ... tent=74689
Description: GTK+2 Qt4 Theme Engine

so add overlay kdesvn-portage and emerge it

you can version bump it yourself or there is this ebuild for 8.0b
http://git.overlays.gentoo.org/gitweb/? ... 11d1c9a000
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: KDE 4.2 Question

Postby wolfden » Mon Feb 02, 2009 0:22

I got it installed here

First I used equo to take care of the dependencies

Code: Select all
equo install dev-util/pkgconfig dev-libs/xmlrpc-c dev-util/cmake x11-misc/util-macros x11-proto/xf86vidmodeproto


than for 3rd party ebuilds you need to make some changes first

edit the /etc/make.conf file and make sure you have the line
Code: Select all
PORTDIR_OVERLAY="/usr/local/portage"

than we need to make our local overlay
Code: Select all
mkdir -p /usr/local/portage/x11-themes/gtk-engines-kde4

than we change to that directory
Code: Select all
cd /usr/local/portage/x11-themes/gtk-engines-kde4

than we make the ebuild
Code: Select all
nano gtk-engines-kde4-0.8b.ebuild

copy and paste the following contents for ebuild - make sure you get it all - use Ctrl x to save and close
Code: Select all
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"
NEED_KDE=4.2
inherit qt4 kde4-base

DESCRIPTION="GTK+2 Qt4 Theme Engine"
MY_PN="gtk-kde4"
HOMEPAGE="http://kde-apps.org/content/show.php/gtk-kde4?content=74689"
#SRC_URI="http://betta.h.com.ua/no-site/${MY_PN}v${PV}.tar.gz"
SRC_URI="http://kde-apps.org/CONTENT/content-files/74689-gtk-kde4v0.8.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="|| (
                >=x11-libs/qt-4.4.1:4
                ( >=x11-libs/qt-core-4.4.1:4 >=x11-libs/qt-gui-4.4.1:4 )
        )
        >=kde-base/kdelibs-4.2.0:${SLOT}
        x11-libs/gtk+:2"
RDEPEND="${DEPEND}"
SLOT="0"

S=${WORKDIR}/${MY_PN}

src_compile() {
        cmake . || die "cmake failed"
        emake || die "emake failed"
}

pkg_postinst() {
        elog "If you want additional themes just download"
        elog "http://betta.h.com.ua/no-site/qt4.tar.gz"
        elog "and put into ~/.themes/"
}




than download the file to your home directory
http://kde-apps.org/CONTENT/content-fil ... 0.8.tar.gz

now we move it to where we need it
Code: Select all
cp /home/yourusernamegoeshere/74689-gtk-kde4v0.8.tar.gz /usr/portage/distfiles/

example
cp /home/wolfden/downloads/74689-gtk-kde4v0.8.tar.gz /usr/portage/distfiles/

now we can digest our ebuild and it will be able to install - you should still be in the /usr/local/portage/x11-themes/gtk-engines-kde4/ directory since we didn't move so you can do
Code: Select all
ebuild gtk-engines-kde4-0.8b.ebuild digest


now install it
Code: Select all
emerge gtk-engines-kde4


woot! - I just realized that I make the ebuild 8b, it's really 8 the latest one - oh well

I don't see it in system settings tho like it shows in the pic... no idea where it is
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: KDE 4.2 Question

Postby Tvin » Mon Feb 02, 2009 8:56

Tvin wrote:And one more thing. Ktorrent does not work in KDE4.2, while it does in KDE4.1.4 and 3.5.10. It can't connect to a tracker. Deluge works good.
I solved the problem with ktorrent. I emerged v3.1.6 from portage, and this version works fine.
Tvin
Simple Hen
 
Posts: 47
Joined: Sat Nov 29, 2008 20:27

Re: KDE 4.2 Question

Postby benvdh » Thu Feb 26, 2009 23:09

wolfden wrote:I don't see it in system settings tho like it shows in the pic... no idea where it is


It's probably not working for you if your running kde 4.2. The reason for this is that your ebuild is written for kde 4.1. This also causes the kde config module to go into the /usr/kde/4.1 tree. This is the reason why it doesn't show up in your system-settings in kde 4.2. I edited your ebuild a bit, and now the kde config module does show up in system-settings > appearance. Here's the version I used:

Code: Select all
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"
NEED_KDE=4.2
inherit qt4 kde4-base

DESCRIPTION="GTK+2 Qt4 Theme Engine"
MY_PN="gtk-kde4"
HOMEPAGE="http://kde-apps.org/content/show.php/gtk-kde4?content=74689"
#SRC_URI="http://betta.h.com.ua/no-site/${MY_PN}v${PV}.tar.gz"
SRC_URI="http://kde-apps.org/CONTENT/content-files/74689-gtk-kde4v0.8.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="|| (
                >=x11-libs/qt-4.4.1:4
                ( >=x11-libs/qt-core-4.4.1:4 >=x11-libs/qt-gui-4.4.1:4 )
        )
        >=kde-base/kdelibs-4.2.0:${SLOT}
        x11-libs/gtk+:2"
RDEPEND="${DEPEND}"
SLOT="0"

S=${WORKDIR}/${MY_PN}

src_compile() {
        cmake . || die "cmake failed"
        emake || die "emake failed"
}

pkg_postinst() {
        elog "If you want additional themes just download"
        elog "http://betta.h.com.ua/no-site/qt4.tar.gz"
        elog "and put into ~/.themes/"
}



Basically the NEED_KDE=4.2 and the >=kde-base/kdelibs-4.2.0:${SLOT} parts are different from your build. I just replaced the ones by two's.

Kind regards,

Ben

ps. Wolfden, thanks for the great how-to the rest of it worked like a charm.
benvdh
Baby Hen
 
Posts: 2
Joined: Mon Jan 05, 2009 23:29

Next

Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 1 guest