LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-16-2004, 08:09 PM   #1
tsalem
LQ Newbie
 
Registered: Sep 2004
Distribution: Ubuntu 5.4 Hoary
Posts: 23

Rep: Reputation: 15
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
 
Old 10-16-2004, 08:44 PM   #2
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
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.
 
Old 10-16-2004, 10:19 PM   #3
tsalem
LQ Newbie
 
Registered: Sep 2004
Distribution: Ubuntu 5.4 Hoary
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 10-16-2004, 10:27 PM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try
Code:
KEYWORDS="~x86" emerge gtk-qt-engine
 
Old 10-16-2004, 10:41 PM   #5
tsalem
LQ Newbie
 
Registered: Sep 2004
Distribution: Ubuntu 5.4 Hoary
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 10-16-2004, 10:47 PM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
hmm try
Code:
mkdir /etc/portage; echo "=x11-themes/gtk-qt-engine-0.5" >> /etc/portage/package.unmask

emerge gtk-qt-engine

Last edited by Demonbane; 10-16-2004 at 10:52 PM.
 
Old 10-16-2004, 10:52 PM   #7
tsalem
LQ Newbie
 
Registered: Sep 2004
Distribution: Ubuntu 5.4 Hoary
Posts: 23

Original Poster
Rep: Reputation: 15
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?
 
Old 10-16-2004, 10:59 PM   #8
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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"

Last edited by Demonbane; 10-16-2004 at 11:56 PM.
 
Old 10-16-2004, 11:02 PM   #9
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
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.
 
Old 10-16-2004, 11:37 PM   #10
tsalem
LQ Newbie
 
Registered: Sep 2004
Distribution: Ubuntu 5.4 Hoary
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for everyone's help. Especially Demonbane, I'm now changing my GTK skins with ease. Now to install the Plastig theme. Thanks again everyone!
 
Old 10-17-2004, 12:42 AM   #11
tsalem
LQ Newbie
 
Registered: Sep 2004
Distribution: Ubuntu 5.4 Hoary
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 10-17-2004, 03:09 AM   #12
nuka_t
Member
 
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263

Rep: Reputation: 30
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/
 
Old 10-17-2004, 05:59 AM   #13
tsalem
LQ Newbie
 
Registered: Sep 2004
Distribution: Ubuntu 5.4 Hoary
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 10-17-2004, 08:48 AM   #14
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eggdesktopentries.c error when installing gnome apps drowbot Linux - Software 0 09-13-2005 03:31 PM
Abiword with just GTK and not Gnome libraries -- Gentoo question vharishankar Linux - Software 8 03-30-2005 07:43 AM
tiny fonts in non-gtk apps under gnome after upgrading debian sid ac1980 Linux - General 0 03-08-2004 12:39 PM
Multiple clocks for Gnome & installing apps Jiawen Linux - Software 3 09-19-2003 03:34 PM
Installing KDE apps in Gnome dominique Linux - Newbie 1 11-28-2001 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration