Gentoo: Skinning GTK apps without installing gnome
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
# 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.
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?
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).
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.
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.
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
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. thanks again.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.