LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gentoo: Skinning GTK apps without installing gnome (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-skinning-gtk-apps-without-installing-gnome-243602/)

tsalem 10-16-2004 08:09 PM

Gentoo: Skinning GTK apps without installing gnome
 
I've read that I can install (emerge) the gtk-qt-engine and my GTK-based apps (such as firefox and xmms) will take on my KDE themes. I've tried to emerge it, but I get this error:

Code:

# emerge -p gtk-qt-engine-0.5

These are the packages that I would merge, in order:

Calculating dependencies
!!! Problem in x11-themes/gtk-qt-engine-0.5 dependencies.
!!! "Specific key requires an operator (x11-themes/gtk-qt-engine-0.5) (try adding an '=')"

Does anyone know why I'm getting this error and how I can get around it, or if there's an easy way to get my GTK apps to use my KDE themes?

Gentoo 2004.2, KDE 3.3

vectordrake 10-16-2004 08:44 PM

try
Code:

# emerge -p =gtk-qt-engine-0.5
Looks like its just getting hung up on the version#. you could also
Code:

# emerge -p gtk-qt-engine
and it should pull the latest available, according to how you have your mask set up.

tsalem 10-16-2004 10:19 PM

Thanks for your reply, it's well appreciated. :)

I tried the first suggestion:

Code:

# emerge -p =gtk-qt-engine-0.5

These are the packages that I would merge, in order:

Calculating dependencies
!!! all ebuilds that could satisfy "=gtk-qt-engine-0.5" have been masked.
!!! possible candidates are:
- x11-themes/gtk-qt-engine-0.5 (masked by: ~keyword)

!!! Error calculating dependencies. Please correct.

Different error, it seems. Any ideas?

Removing the version number results in the same message:

Code:

emerge -p gtk-qt-engine

These are the packages that I would merge, in order:

Calculating dependencies
!!! all ebuilds that could satisfy "gtk-qt-engine" have been masked.
!!! possible candidates are:
- x11-themes/gtk-qt-engine-0.5 (masked by: ~keyword)

!!! Error calculating dependencies. Please correct.


Demonbane 10-16-2004 10:27 PM

try
Code:

KEYWORDS="~x86" emerge gtk-qt-engine

tsalem 10-16-2004 10:41 PM

Thanks for the reply. :)

Code:

# KEYWORDS="~x86" emerge gtk-qt-engine
Calculating dependencies
!!! all ebuilds that could satisfy "gtk-qt-engine" have been masked.
!!! possible candidates are:
- x11-themes/gtk-qt-engine-0.5 (masked by: ~keyword)

!!! Error calculating dependencies. Please correct.

Tried adding the version number..

Code:

# KEYWORDS="~x86" emerge gtk-qt-engine-0.5
Calculating dependencies
!!! Problem in x11-themes/gtk-qt-engine-0.5 dependencies.
!!! "Specific key requires an operator (x11-themes/gtk-qt-engine-0.5) (try adding an '=')"

Tried vectordrake's advise with using the =..

Code:

# KEYWORDS="~x86" emerge =gtk-qt-engine-0.5
Calculating dependencies
!!! all ebuilds that could satisfy "=gtk-qt-engine-0.5" have been masked.
!!! possible candidates are:
- x11-themes/gtk-qt-engine-0.5 (masked by: ~keyword)

!!! Error calculating dependencies. Please correct.

Still no luck. Thanks for the help.

Demonbane 10-16-2004 10:47 PM

hmm try
Code:

mkdir /etc/portage; echo "=x11-themes/gtk-qt-engine-0.5" >> /etc/portage/package.unmask

emerge gtk-qt-engine


tsalem 10-16-2004 10:52 PM

Thanks, but I'm still getting the same errors. Should I try installing Gnome? I have the disk space. If I have Gnome installed, will I be able to change the theme for my GTK apps in KDE?

Demonbane 10-16-2004 10:59 PM

OK I apologize for not reading your post properly
gtk-qt-engine is a gtk theme engine which allows you use QT themes on GTK.
It does not help you in changing GTK theme without Gnome
There's 2 ways you can do this, emerge gtk-theme-switch, then run "swtich2" (or "switch for gtk1)

Or if you would like to do it manually, create a ~/.gtkrc-2.0 file, inside it put something like below (include the gtkrc file of the theme you want).
Code:

Include "/usr/share/themes/ThinIce/gtk-2.0/gtkrc"

comprookie2000 10-16-2004 11:02 PM

Try ACCEPT_KEYWORDS="~x86" emerge <whatever> then you will need to mkdir /etc/portage then cd /etc/portage then touch package.keywords then add it to package.keywords
here is mine; media-video/nvidia-glx ~x86
media-video/nvidia-kernel ~x86
media-video/nvidia-settings ~x86
media-gfx/splashutils ~x86
app-portage/porthole ~x86
sys-kernel/gentoo-dev-sources ~x86
sys-apps/baselayout ~x86
media-gfx/splash-themes-livcd ~x86
sys-apps/sysvinit ~x86
x11-base/opengl-update ~x86
that is so when you emerge you won't be downgraded.

tsalem 10-16-2004 11:37 PM

Thanks for everyone's help. :D Especially Demonbane, I'm now changing my GTK skins with ease. Now to install the Plastig theme. Thanks again everyone!

tsalem 10-17-2004 12:42 AM

Upon further investigation, I found the gtk-qt engine here [kde-look.org] And just installed it the good old fashioned way. :) (./confgure make make install) and it seems to be working for Firefox so far. Not so for the Play Files dialog in XMMS, though. Not that big a concern. I'm happy with Firefox skinned. Again, thanks for everyone's replies and help. :)

nuka_t 10-17-2004 03:09 AM

never worked on xmms for me either.

however, you should look into amarok. i used to be an xmms fan until i saw it. with the xine plugin, amarok sounds MUCH better than xmms and has a much cooler GUI and more advanced playlist functionality. on top of that, xmms visualization plugins are compatible with it as well.

as for firefox, if you are using plastik, check this out for firefox, its a platik skin for it and you get less visual "messed-up" ness


http://www.polinux.upv.es/mozilla/

tsalem 10-17-2004 05:59 AM

Thanks for advice, the tab bar looks a lot nicer with Plasticfox, and it helps it blend in. :) I'll also check out amaroK, though I've been using JuK and I like how easy it makes choosing songs (click the tray icon, select song, click the tray icon again to hide it). Wish I checked it before, I wouldn't have used XMMS. I'm open to suggestions concerning Linux software, so I will definately check out amaroK. :D thanks again.

vectordrake 10-17-2004 08:48 AM

Wow, lots of activity after I last looked. Great that you got it sorted.

I'd suggest strongly that you look at Amarok. Its a really nice audio player to use. I had a bit of trouble getting it to work on my box after an upgrade and ended getting the source and compiling it. Works great now. If you have the same problem (likely you won't), compiling from scratch works great.


All times are GMT -5. The time now is 07:32 PM.