View previous topic :: View next topic |
Author |
Message |
bitflux n00b
Joined: 18 Oct 2004 Posts: 41
|
Posted: Tue Jan 11, 2005 6:03 am Post subject: Changing KDE/Qt theme from Gnome |
|
|
I use Gnome exclusively so I don't have KDE installed, only the bare necessities like Qt and kdelibs so I can run K3b and a couple of other KDE apps I can't live without.
My problem is I can't stand the Keramik theme the KDE apps use by default, but since I don't have the KDE Control Center installed, I can't figure out how to change the theme (installing KDE Control Center depends on a full of KDE installation, and I refuse to do that). Specifically, I'm hoping to be able to use the qindustrial theme for Qt that ships with SuSE, but right now anything other than Keramik is sufficient.
Anyone have any ideas? |
|
Back to top |
|
|
mrpdaemon Tux's lil' helper
Joined: 23 Aug 2004 Posts: 134
|
Posted: Tue Jan 11, 2005 6:06 am Post subject: |
|
|
Try qtconfig. |
|
Back to top |
|
|
caravela Tux's lil' helper
Joined: 30 Aug 2004 Posts: 118
|
Posted: Tue Jan 11, 2005 6:08 am Post subject: |
|
|
i have control center installed and i just instaled kdelib, kdebase and kdeartwork for the themes ..., in you case you just need to install kdebase.
or you can ask someone to send you .kde folders configured for you. |
|
Back to top |
|
|
hybrid Apprentice
Joined: 22 Dec 2003 Posts: 224 Location: Lyon, France
|
|
Back to top |
|
|
bitflux n00b
Joined: 18 Oct 2004 Posts: 41
|
Posted: Tue Jan 11, 2005 8:02 am Post subject: |
|
|
mrpdaemon wrote: | Try qtconfig. |
I switched themes using qtconfig and restarted Gnome and K3b, but I still get Keramik.
caravela wrote: | i have control center installed and i just instaled kdelib, kdebase and kdeartwork for the themes ..., in you case you just need to install kdebase. |
I'll save that option for a last resort.
This looks like an interesting project but it's not yet ready for primetime. I'll be keeping an eye on it.
Any other suggestions? |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Tue Jan 11, 2005 10:02 am Post subject: |
|
|
Either kcontrol or kcmshell --list to list and kcmshell <foo> to view single dialogs. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
bitflux n00b
Joined: 18 Oct 2004 Posts: 41
|
Posted: Tue Jan 11, 2005 10:19 am Post subject: |
|
|
Carlo wrote: | Either kcontrol or kcmshell --list to list and kcmshell <foo> to view single dialogs. |
Thanks, but I have neither kcontrol nor kcmshell. I only have the kdelibs package installed. |
|
Back to top |
|
|
psyeye Guru
Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Tue Jan 11, 2005 12:17 pm Post subject: |
|
|
bitflux wrote: | Thanks, but I have neither kcontrol nor kcmshell. I only have the kdelibs package installed. |
You need kcontrol (or kcmshell) to change the appearance of kde-apps. qtconfig only sets themes for qt-only apps (like lyx for example).
to get kcontrol / kcmshell. I see no other solution for you...
psyeye |
|
Back to top |
|
|
bitflux n00b
Joined: 18 Oct 2004 Posts: 41
|
Posted: Wed Jan 12, 2005 2:41 am Post subject: |
|
|
Well I gave in and installed kdebase. I then grabbed ftp://ftp.suse.com/pub/suse/i386/9.2/suse/i586/qindustrial-0.0.2-5.1.i586.rpm and manually installed the 4 files from the rpm into Gentoo's KDE directory (SuSE uses /opt/kde ).
Then I ran kcontrol, selected the QIndustrial style and the Industrial color scheme, and now K3b looks much better. Industrial under Qt doesn't look as clean as GTK+. Hopefully it will improve.
Thanks for your help everyone. |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Wed Jan 12, 2005 1:23 pm Post subject: |
|
|
bitflux wrote: | and manually installed the 4 files from the rpm into Gentoo's KDE directory (SuSE uses /opt/kde ). |
(almost) only kdebase/* stuff goes into $kdedir. Everything else gets installed into /usr. You shouldn't touch your system this way. Use /usr/local instead. That prevents getting in conflict with Portage by accident. You can read in the Filesystem Hierarchy Standard about it. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
bitflux n00b
Joined: 18 Oct 2004 Posts: 41
|
Posted: Wed Jan 12, 2005 3:02 pm Post subject: |
|
|
Carlo wrote: | (almost) only kdebase/* stuff goes into $kdedir. Everything else gets installed into /usr. |
Sorry, the first statement makes no sense. Almost and only are mutually exclusive concepts. What precisely are you trying to say?
The second statement is redundant in light of the first because $KDEDIRS on Gentoo is by default /usr, and thus you seem to be saying that kdebase stuff goes into /usr and everything else goes into /usr. Again, what are you trying to say?
Quote: | You shouldn't touch your system this way. Use /usr/local instead. That prevents getting in conflict with Portage by accident. You can read in the Filesystem Hierarchy Standard about it. |
Yes I know about FHS and /usr/local, but this is a theme, and all other KDE themes are stored in /usr, so that's where I'm putting my theme too. I highly doubt Portage is going to choke over 4 theme files, especially since I won't be installing any other KDE themes (ebuild or otherwise). |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Wed Jan 12, 2005 3:45 pm Post subject: |
|
|
bitflux wrote: | Sorry, the first statement makes no sense. Almost and only are mutually exclusive concepts. What precisely are you trying to say? |
There are some issues with plugin stuff etc. e.g. amarok can't beinstalled in /usr.
bitflux wrote: | The second statement is redundant in light of the first because $KDEDIRS on Gentoo is by default /usr, and thus you seem to be saying that kdebase stuff goes into /usr and everything else goes into /usr. Again, what are you trying to say? |
I refer to $kdedir as defined in /etc/env.d/, not $kdedirs.
bitflux wrote: | Yes I know about FHS and /usr/local, but this is a theme, and all other KDE themes are stored in /usr, so that's where I'm putting my theme too. I highly doubt Portage is going to choke over 4 theme files, especially since I won't be installing any other KDE themes (ebuild or otherwise). |
It was meant as a general comment. In fact Portage is rather careful. A stale lib or header can cause problems which are hard to track down, though. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
bitflux n00b
Joined: 18 Oct 2004 Posts: 41
|
Posted: Wed Jan 12, 2005 4:25 pm Post subject: |
|
|
Carlo wrote: | I refer to $kdedir as defined in /etc/env.d/, not $kdedirs. |
Exactly what file in /etc/env.d has $kdedir defined? I have a file /etc/env.d/99kde-env which defines:
But as you can see that's not $kdedir. And when I issue the "set" command in a console, I don't see kdedir listed as being defined, but I do see KDEDIRS. |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Wed Jan 12, 2005 4:45 pm Post subject: |
|
|
grep KDEDIR /etc/env.d/*kde* should print something like this:
/etc/env.d/58kdedir-3.3.2:KDEDIR=/usr/kde/3.3
/etc/env.d/99kde-env:KDEDIRS=/usr _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
bitflux n00b
Joined: 18 Oct 2004 Posts: 41
|
Posted: Thu Jan 13, 2005 1:31 am Post subject: |
|
|
Carlo wrote: | grep KDEDIR /etc/env.d/*kde* should print something like this:
/etc/env.d/58kdedir-3.3.2:KDEDIR=/usr/kde/3.3
/etc/env.d/99kde-env:KDEDIRS=/usr |
Ah, so now it's $KDEDIR and not $kdedir. On *nix those are two completely different variables.
Two more questions:
1. The output of grep KDEDIR /etc/env.d/*kde* doesn't print the filenames along with the matching lines as in your example, it only prints the matching lines. Where did you get those filenames?
2. I don't have any files named *kdedir* in /etc/env.d. Again, I only have kdebase and kdelibs installed. There is no $KDEDIR (or $kdedir for that matter) defined on my system, as evidenced by the output of the set command. So if kdebase stuff goes into $KDEDIR as we've now established you were trying to say, then how did it get installed into the proper directory when there was no $KDEDIR defined? |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Thu Jan 13, 2005 1:10 pm Post subject: |
|
|
bitflux wrote: | Ah, so now it's $KDEDIR and not $kdedir. On *nix those are two completely different variables. |
You just admitted to be as fussy as your box.
bitflux wrote: | 1. The output of grep KDEDIR /etc/env.d/*kde* doesn't print the filenames along with the matching lines as in your example, it only prints the matching lines. Where did you get those filenames? |
It does, when the argument resolves to more than a single file. You can force it via the -H option.
bitflux wrote: | 2. I don't have any files named *kdedir* in /etc/env.d. Again, I only have kdebase and kdelibs installed. There is no $KDEDIR (or $kdedir for that matter) defined on my system, as evidenced by the output of the set command. So if kdebase stuff goes into $KDEDIR as we've now established you were trying to say, then how did it get installed into the proper directory when there was no $KDEDIR defined? |
The arts and kdelibs ebuilds add this env entry. No idea, why it got removed on your box (the advice to do so is floating in this board, but it is a bad one). $KDEDIR is superseeded by $KDEDIRS, it's just there for compatibility. Quite a few ebuilds still refer to it - not counting unknown old and broken auto* stuff, so the entry should exist. The installation of kdebase/* depend on neither one of these variables. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
bitflux n00b
Joined: 18 Oct 2004 Posts: 41
|
Posted: Thu Jan 13, 2005 2:01 pm Post subject: |
|
|
Carlo wrote: | The arts and kdelibs ebuilds add this env entry. No idea, why it got removed on your box (the advice to do so is floating in this board, but it is a bad one). |
If that's the case and a file defining KDEDIR was present in my /etc/env.d, it may have been removed the other day when I installed arts to satisfy a dependency for a package I was emerging then removed it once the emerge was complete. |
|
Back to top |
|
|
Lensman Tux's lil' helper
Joined: 13 Jun 2004 Posts: 137
|
Posted: Thu Jan 13, 2005 6:48 pm Post subject: |
|
|
You can also change the theme for KDE apps by editing the file ~./kde/share/config/kdeglobals and set the widget style. This is what my kdeglobals looks like: Code: | [$Version]
update_info=kded.upd:kde3.0
[General]
fixed=Terminus 9 Pitch,12,-1,5,50,0,0,0,0,0
font=Bitstream Vera Sans,8,-1,5,50,0,0,0,0,0
foreground=0,0,0
menuFont=Bitstream Vera Sans,8,-1,5,50,0,0,0,0,0
widgetStyle=comix
[Icons]
Theme=nuvola
|
|
|
Back to top |
|
|
|