You are not logged in.

#1 2008-11-18 18:54:01

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

qt3 application fonts in KDE 4 environment

Hi,

I'd like to make qt3 apps use the same fonts as qt4 ones. I mean settings like Appearance->Fonts->General, Menu, etc. Could you please point me in the right direction smile ?

Offline

#2 2008-11-18 20:10:28

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: qt3 application fonts in KDE 4 environment

Check /opt/qt/bin/qt3config smile

Offline

#3 2008-11-19 09:58:21

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: qt3 application fonts in KDE 4 environment

There's indeed /opt/qt/bin/qt3config binary file, right alongside /opt/qt/bin/qtconfig binary file. What am I supposed to do with qt3config smile ?

Offline

#4 2008-11-19 11:00:48

chair
Member
From: Sydney, Australia
Registered: 2006-06-12
Posts: 27

Re: qt3 application fonts in KDE 4 environment

Run it!

Offline

#5 2008-11-19 11:38:35

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: qt3 application fonts in KDE 4 environment

big_smile Thanks! I changed the font, then logged in once more. The qt3config utility assumed new font indeed for its menus, but other qt3 apps look as before (I tried K3b and Krusader). Anything else?

Offline

#6 2008-11-19 18:55:09

mintcoffee
Member
From: Waterloo, ON
Registered: 2007-10-05
Posts: 120
Website

Re: qt3 application fonts in KDE 4 environment

Llama wrote:

big_smile Thanks! I changed the font, then logged in once more. The qt3config utility assumed new font indeed for its menus, but other qt3 apps look as before (I tried K3b and Krusader). Anything else?

Those qt3 apps are KDE apps.. i believe that kde has its own set of config files un ~/.kde/share/config/ . I'm not sure exactly which files to replace, but my guess would be qtrc and kstylerc in that directory with the config files from ~/.qt/.


Arch on a Thinkpad T400s

Offline

#7 2009-04-10 17:40:09

mahen
Member
From: France
Registered: 2007-02-05
Posts: 53

Re: qt3 application fonts in KDE 4 environment

I would definitely be interested in a solution for this issue, as well smile

cheers !

Offline

#8 2009-04-10 18:06:02

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: qt3 application fonts in KDE 4 environment

You can change all that in kcontrol if you have it (something like /opt/kde/bin/kcontrol). I think its in kdebase, but I'm not sure, I can check later today if nobody's done so already, as my sister's pc uses pieces from kde3 (the package would be kdemod3-kdebase I believe). If you don't have it, it might be easiest/best to install it via the kdemod3 (kdemod-legacy) packages to keep from installing unnecessary crap.

Last edited by FrozenFox (2009-04-10 18:06:47)

Offline

#9 2009-04-10 18:31:41

jordz
Member
Registered: 2006-02-01
Posts: 248

Re: qt3 application fonts in KDE 4 environment

Offline

#10 2009-04-11 08:30:38

mahen
Member
From: France
Registered: 2007-02-05
Posts: 53

Re: qt3 application fonts in KDE 4 environment

Wow, thanks ! Indeed, I was reluctant to install kde3/kcontrol... the kcmshell package did it for me, thanks a lot to both of you !

Offline

#11 2009-04-11 17:46:09

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 73

Re: qt3 application fonts in KDE 4 environment

Wow, that was just what I was also looking for! Thanks, guys!

However, does anyone know which module I can use to make it so the mouse doesn't use single click in KDE3 apps? "mouse" and "keyboard" aren't found, neither is "input".

Thanks smile


Arch Linux Plasma 5 | AMD Ryzen 7 1700 | 16GB DDR4 RAM | Nvidia GeForce GTX 980

Offline

#12 2009-04-16 14:15:30

jordz
Member
Registered: 2006-02-01
Posts: 248

Re: qt3 application fonts in KDE 4 environment

You need to edit the PKGBUILD of the AUR package, for example if you want the mouse module:

# Contributor: v01d <phreakuencies@gmail.com>
pkgname=kcmshell3
pkgver=3.5.10
pkgrel=1
pkgdesc="kcmshell3 libraries, for configuration of KDE3 apps under KDE4 environment"
arch=(i686 x86_64)
url="http://www.kde.org"
license=('GPL')
depends=(kdelibs3)
[ $CARCH = 'i686' ] && _kdemod_pkgrel=2
[ $CARCH = 'x86_64' ] && _kdemod_pkgrel=1
source=(http://kdemod.iskrembilen.com/legacy/${CARCH}/kdemod3-kdebase-${pkgver}-${_kdemod_pkgrel}-${CARCH}.pkg.tar.gz)

build() {
  mkdir -p $pkgdir/opt/kde/lib/kde3 $pkgdir/opt/kde/share/applications/kde
  cp $srcdir/opt/kde/lib/kde3/kcm_{icons,colors,fonts,style,input,keyboard}* $pkgdir/opt/kde/lib/kde3
  cp $srcdir/opt/kde/share/applications/kde/{icons,colors,fonts,style,mouse,keyboard}.desktop $pkgdir/opt/kde/share/applications/kde
}

# vim:set ts=2 sw=2 et:

Last edited by jordz (2009-04-16 14:21:32)

Offline

#13 2009-04-16 23:55:52

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 73

Re: qt3 application fonts in KDE 4 environment

Thanks very much! It all works now smile


Arch Linux Plasma 5 | AMD Ryzen 7 1700 | 16GB DDR4 RAM | Nvidia GeForce GTX 980

Offline

#14 2009-05-28 18:05:12

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 73

Re: qt3 application fonts in KDE 4 environment

I hate to resurrect an old thread but....

A couple days ago I decided to give the KDEMod unstable repo a spin to try out KDE 4.3. It was really bugged up so I switched back to the stable... and had to configure a lot of stuff again.

In the process, though, my KDE 3 styles appear to have been lost, leaving me with only the really terrible 90s Windows 3.1 styles (like CDE). I checked and I've still got QtCurve for KDE3 installed but it's not on the list in the Kcmshell3. Neither are any of the other default KDE3 styles that actually look good. I have no idea where they disappeared to as nothing related to KDE3 should've been removed.

Can anyone help me?

Thanks!


Arch Linux Plasma 5 | AMD Ryzen 7 1700 | 16GB DDR4 RAM | Nvidia GeForce GTX 980

Offline

#15 2009-05-29 06:30:26

mahen
Member
From: France
Registered: 2007-02-05
Posts: 53

Re: qt3 application fonts in KDE 4 environment

Kalinda : well, actually, it must be a combination of circumstances... Because the same happened to me. Since yesterday, my KDE3 apps (especially buttons) look all "flat". I didn't enable the unstable KDEmod respository smile

So, I guess things will get sort out by themselves with a future update smile

Last edited by mahen (2009-05-29 06:30:44)

Offline

Board footer

Powered by FluxBB