GTK-QT Mandrake 10.1 RPM

GTK1 Themes

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
4.4
Description:

The GTK-QT Theme Engine was created by davidsansome:

http://www.kde-look.org/content/show.php?content=9714

Please direct any questions, bug reports or requests to the original author.

Note: Please make a backup copy of your $HOME/.gtkrc-2.0 file in order to be able to reverse to your previous gtk2 settings if this theme engine is causing any issues on your machine.

Hintzy

14 years ago

I remember seeing an RPM for Mandrake 10.0 here before, do you happen to still have a copy of it? I've tried the 10.1 RPM and it works fine until I reboot and then KDE won't start anymore (so I have to Ctrl-Alt-F1 and uninstall the RPM from the command line). Since I reboot so infrequently, I keep installing the 10.1 RPM anyway so I can have the great look of the theme engine while the computer is running. It's easy enough to uninstall/reinstall the RPM that I don't mind doing it for now. I'm curious if my problem is coming from the GTK-QT Engine itself, or simply because I'm using a 10.1 RPM under 10.0. If you've got the 10.0 RPM still, I can try it and find out! Thanks!

Report

Hintzy

14 years ago

Hmm...after looking back at past comments, is it possible I'm still having problems with magicdev? Is there any way to find out what KDE is trying to do when it stops loading?

I really love how my GTK apps looked when I had the theme engine installed and it would be so great to have it working on a permanent basis! Unlike everybody who just flamed you when they had problems, I'd like to keep trying and work with you to find a solution. Any help you may be able to offer would be greatly appreciated!

Report

Hintzy

14 years ago

It looks like the negative comments have stopped since the last release, so does that mean all the bugs are worked out with Mandrake? I've been wanting to use this theme engine for a while, but held off because I don't know enough to fix things if there's a problem! :-p So if anybody got this to work on Mandrake 10.0 Official without any great modifications to their system, just let me know! Thanks! :-)

Report

tonyhuan

14 years ago

it seems not to work on 10.1C.

Report

C

ntesa

14 years ago

I've posted a new rpm built for 10.1C.

Report

dapper89

14 years ago

I'm afraid the link for the mandrake rpm is dead!



Dapper89

Report

C

ntesa

14 years ago

I think it was DNS issues, it looks like some people were unable to resolve the domain. I've used a different domain now, hope it works better.

Report

davidsansome

14 years ago

That was a very quick RPM :)

Report

C

ntesa

14 years ago

No problem, thanks for fixing the magicdev issues :)

Report

ilDominante

14 years ago

Ok your rpm screwed up any gtk2 based app in my main user account. In root and other accounts everything works fine but in my main user account this rpm did something which was not reversed when I uninstalled it.

I first installed the rpm.

Restarted kde

Went to mdk control center and changed the preference of the gtk-qt engine to "resemble my kde theme" (or something to that effect)

Started the gimp2 and I saw that it didn't work.

I restarted kde but kde crashed.

I uninstalled your rpm package (from bash) and restarted kde.

This time kde started fine but all the gtk2 based apps don't work. I get just a white window. As I said this does not happen in other user accounts so evidently my setting change in the gtk-qt engine section of mdk-control center remained even though your rpm is uninstalled.

What (kde preference/setting or other) file does that preference setting (in the gtk-qt) affect and how do I revert it back to its normal value?

Please respond to this question it is important that I get back my configuration as it was.

Thanks

Report

C

ntesa

14 years ago

To fix your gtk2 apps change the include line in your $HOME/.gtkrc-2.0 file to point to another gtk2 theme. It should look like this:

include "/usr/share/themes/Qt/gtk-2.0/gtkrc"

You can change it to:

include "/usr/share/themes/Galaxy/gtk-2.0/gtkrc"

if you want to revert to the Mandrake default gtk2 theme (Galaxy). Or you could just copy the .gtkrc-2.0 file from your root account to your home directory. I'm guessing that the gtk2 apps don't work in your account anymore because you've probably uninstalled the rpm but your .gtkrc-2.0 file still points to the gtk-qt theme, which doesn't exist anymore. So, just uninstalling the rpm without changing the gtk2 theme in that file will not revert your system to the previous state. The theme can also be changed with the KControl module in this rpm before uninstalling it.

Did your KDE crash or did it just stop loading? That's a known issue with Mandrake, and it happens because of magicdev, it's been discussed previously here. I've sent a bug report to the gtk-qt developer (davidsansome) about magicdev and he's gonna try to fix it. It'd help if you's send him a bug report too if you experienced crashes, with as much detail as possible, mostly what KDE theme you were using, there might be some issues with some KDE themes. You could also give it a try with another KDE theme and see if it works, that way we'd know that gtk-qt doesn't work with your KDE theme and we could report it as an issue with that theme to get it fixed.

I've posted the rpm because some people requested it and the issues are not related to the rpm itself but to the gtk-qt engine. The next versions will probably have most of the bugs worked out, and it'd help if most people that experience problems send bug reports to the developer.

Hope this helps, and please provide more information about your issues if you can, hopefully most of them will be fixed soon.

Thanks :)

Report

ilDominante

14 years ago

I don't want to condemn the rpm, even though it did not work at all on my MDK 10 Official (with all the updates), but I strongly suggest that if you don't know what you are doing nor how to uninstall an rpm from a command line (which you might be forced to do after kde crashes) then you shouldn't install this rpm. All in all it's a good idea but it's not perfect yet. I'd wait a little longer beefore posting a mdk rpm.

Cheerio

Report

bvc

14 years ago

Seriously it is. Why not a gtk2 theme? GTK2 works from kde, so just use gtk2 apps. Why not let the old dog (gtk1.2) die? There's only a few gtk1.2 only apps left anyway that are worth while, and they have gtk2 replacements.

MagicDev is a gnome2/gtk2 app.
http://rpmfind.rediris.es//rpm2html/mandrakelinux-official/10.0/i586/Mandrake/RPMS/magicdev-1.1.5-6mdk.i586.html
do your research!

Supermount works just fine in ML-10-CE and OE.

bvc

Report

C

ntesa

14 years ago

Thanks :) This is a gtk2 theme, if that's what you're asking, it's just posted under gtk 1.x styles on kdelook because there's no gtk2 section yet. This theme engine doesn't work with gtk1 apps and there's nothing like this available for it as far as I know, but it shouldn't really matter too much, like you said, because most apps are already ported to gtk2 or they will/should be ported in the near future.

Report

greatscot

14 years ago

Can you see where is says "Please remove or disable magicdev before using this theme engine..." up there in the description area for this engine? Well, on my Mandrake 10.0 system, magicdev is used to enable the computer to read CD's. Magicdev has nothing at all to do with gtk apps or "theming". I am assuming that this is true for all Mandrake 10.0 systems.This seems to be malicious advice by the author.This engine does not work on Mandrake 10.0 systems.

Report

greatscot

14 years ago

I want to know how the author got this engine to work on a Mandrake 10.0 system.The author himself said (in a previous comment) that this engine won't work on a Mandrake 10.0 system. If it won't work on a Mandrake 10.0 system, why create an RPM for that specific system.Also, the author suggested uninstalling/disabling magicdev to get this engine to work. I did some investigating and found that magicdev, at least on my Mandrake 10.0 system, is used for letting the machine know whether or not there is a CD in the CD tray and doesn't have anything to do with gtk apps at all.It is a good thing that I never uninstall/disable anything without investigating it first, otherwise, the author's bad advice would have disabled my ability to use CD's on my computer.Why create an RPM of an app for a specific system when that app won't run on that system?Why tell someone to disable their ability to use CD's on their system to try and get them to use your app?What does your app really do?

Report

C

ntesa

14 years ago

I'm gonna try to answer your last posts on a technical level and try to ignore your other comments. If you run ldd on magicdev, you're gonna get this output:

$ ldd /usr/bin/magicdev | grep gtk
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0

So magicdev is a gtk2 app, and as a consequence of using the gtk2 library it will use the current gtk2 theme, in this case the gtk-qt engine. From the magicdev rpm, this is the description:

"Magicdev is a daemon that detects when a CD is removed or inserted. Magicdev handles running autorun programs on the CD, updating the File Manager, and playing audio CDs."

So, unless your machine is not configured to run supermount, magicdev is pretty much useless in kde, unless you want autorun for your CDs. As far as I know supermount is configured by default on Mandrake. There has been a discussion about magicdev and supermount on the gtk-qt page, as I mentioned before, but I'll post the link again for your convenience:

http://www.kde-look.org/content/show.php?content=9714

It's your choice if you wanna continue to use magicdev or this theme. But disabling magicdev will not prevent you from using your CD, at least not as long as you have supermount enabled.

This theme engine does work on Mandrake 10. To answer your questions, I got it to work on Mandrake 10 just by compiling and installing it, and I made an rpm based on users' requests on the gtk-qt page. I never said that it doesn't work on Mandrake 10, I said that KDE will fail to load completely if magicdev is running when using this theme engine, because magicdev starts before KDE ends loading. Maybe there are better solutions, like finding the script which starts magicdev and moving it to the end of the script to start it later, or adding it to KDE's autostart folder instead of just disabling or removing it completelly.

I'm sorry if I'd given you bad advice, but I can assure you that it wasn't malicious or with bad intentions, I was just trying to help.

And finally, as much as I'd like to take credit for this app (or theme engine), it isn't mine, it's been developed by davidsansome.

Report

greatscot

14 years ago

I installed this engine on Mandrake 10.0 Official and it changed something that would not allow me to use my user account the next login (I always logout and log back in immediately after installing ANY software). I logged in and the system just hung with my wallpaper showing, but no kicker or desktop icons or anything that would let me use my computer. I had to CTRL+ALT+BACKSPACE to kill X and login to my root account and uninstall this engine in order to be able to use the user account that this engine was installed under.This is typical of the "non-standards" problem with Linux. A package will work on some systems but not on other systems - even if they all have the exact same OS installed.I guess the best advice is to use at your own risk.

Report

C

ntesa

14 years ago

This is a known problem with Mandrake 10.0 and has been discussed on the main gtk-qt page before:

http://www.kde-look.org/content/show.php?content=9714

The problem is that Mandrake 10 starts magicdev when starting kde and magicdev is a gtk2 app, but kde is not completely loaded yet, so the gtk-qt theme engine can't create the gtk2 theme yet. The only fix that I know of so far, is to either uninstall or disable magicdev when kde starts (but I don't know how to disable it).

Linux has "non-standards" problems as you put it just because different distributions have different packages and different behaviours, so this problem would happen on any Linux distro that starts a gtk2 app when kde starts, although I'm not aware of any other distros doing this, except for Mandrake 10.

I'll add a note to the description, thanks for the heads up :)

Report

greatscot

14 years ago

I did some investigating, in order to possibly try and get this engine to work on my Mandrake 10.0 system, and I found out that magicdev has nothing to do with gtk apps, at least on my machine. Magicdev is used to let the machine know there is a CD in the CD tray, it isn't used for the display of gtk apps at all.Wanna try again?If this engine doesn't work on Mandrake 10.0 systems, how did you get it to work on a Mandrake 10.0 system? And, why even make an RPM for Mandrake 10.0 in the first place?

Report

greatscot

14 years ago

I installed this RPM and I see absolutely no difference in The GIMP or Gnucash or any other GTK apps.
I am using Mandrake 10.0 Official on a PII 450Mhz with 256Mb RAM.
The reason I refuse to use GTK based apps is because they are ugly as hell and give me a headache just looking at them.
This GTK-QT engine did nothing to help my situation. I guess it works on some systems and not on others :(
I do hope that someday someone can come up with an item like this that does work. I would like to be able to use some of the GTK based apps without my eyes exploding :)

Report

C

ntesa

14 years ago

This style is only for gtk2 apps, so gtk1 apps will still look the same. As far as I know gnucash is still based on gtk1, and gimp1 is also based on gtk1, only gimp2 is based on gtk2. Under the "KDE Control Center/LookNFeel/GTK styles and fonts" make sure you select "Use my KDE style in GTK applications" and "Use my KDE fonts in GTK applications". So it should work if you have the right settings and only for gtk2 apps.

Report

greatscot

14 years ago

You're engine doesn't help the GTK1 or GTK2 apps on my system - They are all equally ugly as hell. Although, it could be because of my computer and not your package. I am glad that you app works for others.

Mandrake 10.0 Official with PII 450Mhz, 256 Mb RAM.

Report

C

ntesa

14 years ago

Make sure your $HOME/.gtkrc-2.0 looks something like this:

# This file was written by KDE
# You can edit it in the KDE control center, under "GTK styles and fonts"

include "/usr/share/themes/Qt/gtk-2.0/gtkrc"

style "user-font"
{
font_name="Lucida Sans 10"
}
widget_class "*" style "user-font"

You'll probably have a different font there, but the include line should be the same. You can set this by using the KControl module as I explained in my previous post.

If your gtk2 apps still don't look like your kde apps, please send an email to the gtk-qt author (mememe at davidsansome.com) or post a bug report on the gtk-qt page here:

http://www.kde-look.org/content/show.php?content=9714

Good luck!

Report

davidsansome

14 years ago

Hi ntesa,

The problems people are having with this RPM are caused by the "section" entry being set incorrectly in the /usr/lib/menu/kcmgtk.menu file.

It should read:
section="System/Configuration/KDE/LookNFeel"

Also, although it's not really necessary, you should change the package name in the menu file to:

?package(gtk-qt-engine): ...

Thanks for taking the time to build this RPM :)

Report

12345678910
product-maker Count:189 Rating: 4.42
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.6
updated Dec 23 2004
added Jun 18 2004
downloads today
0
page views today 2