Crystal-GL

KDE 3.x Window Decorations

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
6.8
Description:

Crystal-GL is the next generation of my crystal window decoration theme.
By using OpenGL to render itself, it simulates refraction and light mapping! Check out screenshots! NOW!

I name the deco HIGHLY EXPERIMENTAL! Don't blame me, if it brakes your computer into two, if it crashes kde or makes it unusable. THIS IS BETA, NO WARRANTY.
If it breakes kwin, even on startup, remove your ~/.kde/share/config/kwinrc file, to reset the kwin settings to default.

WARNING: You need to have write access to the 3D acceleration device, if exists. I.e.: /dev/dri/* or /dev/nv*. Otherwise the deco or kcontrol may crash.

It looks very similar to crystal, but has more eye-candy and smooth animations.

* Grabs your wallpaper and simulates bended glass, little lighting. You are able to specify the ior. ;)
* Support for button themes. Feel free to swamp me with cool themes. :D The themes are the same than the ones in crystal.
Knifty button theme by Enso

Disadvantages:
* Needs a working GL subsystem!!! Don't blame me, if yours is broken!
* Be careful on nvidia systems, if under load, the gl subsystem may become *real* slow, so my deco.
* Needs KDE >=3.2 and QT>=3.2 to compile.
* May be slower than any other deco
* May be fat
* May make you drool, and you might forget to eat, sleep or even breath!


-- INSTALL -------------------------
Basic Installation (from the console):
- Step 1
$ ./configure
OR: $ ./configure --prefix=`kde-config --prefix`
- Step 2
$ make
- Step 3 (as root)
# make install

If configure fails, check that you have both the Qt and KDE development headers installed. If you used a previous version before, you need to restart kde to use the upgraded version.
------------------------------------


Please give some feedback or tell me some improvement suggestions.
I would be very happy about some packages, like for Mandrake, Debian, Suse, Redhat, etc! PLEASE DON'T POST PACKAGES AS NEW CONTENT, just notify me and mail it to me, and I'll host them.

PROVIDED PACKAGES MAY NOT BE UP2DATE! Check out versions number!

Thanks to bitwit for each others help with the GL-deco stuff!

Enjoy! :)

Check out crystal (non-gl) at:
http://kde-look.org/content/show.php?content=13969


Sascha Hlusiak
Last changelog:

14 years ago

* All packages up to date now

0.8.1:
* Made look antialiased caption damn good. Enabling this is RECOMMENDED now!
* Fixed menu button image bug
* Split up rendering process into four for each border. Maybe speed up or (most likely) speed down. :-/ Should fix nvidia-slowdown-bug on maximized windows.
* Added feature: "Scroll" through windows, by using the mouse wheel on the title bar, as well as an option in the configuration dialog to disable this immediately :>
* Improved config dialog a little


0.8.0:
* Added extreme slick "handpainted" button theme (thank you, Marco)
* Fixed some bugs, which almost drove me crazy on my notebook.
* Little speed up in the initialization
* Improved my "button-rendering-engine" a lot. Now button tinting uses GL, too.
* Added more options for button tinting.
* Added option to make the hover effect fade
* Added option to disable the transparency feature completely (don't dare!)
* Added information of direct rendering and glx version to the control center preview
* Got rid of some unneccessary code, probably put in a lot of more unneccessary code.
* Added a benchmark feature for my internal use (ctrl+alt+shift+RightButton on the title bar)


0.7.5:
* Added Knifty button theme (thanks to Enso)
* Fixed buttons
* Little code rearrangement, nothing visible

hujuice

11 years ago

Crystal-GL is *my* windec, there's no dubt.
I'm using it with nvidia card on both work and home Gentoo (x86_64) systems (generic compiling, not ebuild).
Mmhh.. but here at work (not at home) the antialiasing on the window caption is very bad. Why? Did I have to use the ebuild?

Greets and thanks,
HUjuice

Report

ih8windoze

11 years ago

I know this is kinda late and may sound stupid, but did you try using the Qt OpenGL module during the development of crystal-gl? I'm just curious because as a "little project" of mine, thats just what I'm going to try to do and was wondering if it was a bit futile.

Report

C

dralgebra

11 years ago

I tried it and it worked great. I can recommend it, but I had problems with it because there was a deadlock somewhere when using the Qt OpenGL widget in a window decoration during KDE startup. So I had to use some dirty workarounds/hacks. But that has to do with kwin and is not Qt's fault.

Report

nintendofreq4992

13 years ago

I relly love the Vista buttons you put on the normal Crystal windec. Could you include them or at least show me how to add them myself? I d/led the source for the normal Crystal and have all the Vista button images--how can I add them to GL version?

Report

C

dralgebra

13 years ago

Sorry, Crystal got an update to be able to handle every kind of image ratio. Crystal-GL lacks of this, so it can only handle square buttons of a specific size. It's not just to add the images, the functionality is missing too. And it's not just adding code.

You could try to port the crystalbutton.cpp from crystal to crystal-gl. I am very sorry to say, that I don't want to do this at the moment. I abandoned crystal-gl, and don't want to make major changes to it, because I NEVER GOT IT STABLE ON ANY PC. Everywhere there were a lot of problems with OpenGL in the deco, that's why I don't work on it anymore. With AIGLX/XGL this deco will not be necessary anymore.


Report

tester

13 years ago

Just so superb!! really , this kde window decoration is a wonderful item by you!!

Report

zigver

13 years ago

I love this window deco but it's been a while since we had an update and you say it's highly experimental and not stable (although for me it's been quite stable). Are you planning on maintaining it or is this it?

Report

C

dralgebra

13 years ago

I have no plans for the future, and I don't want to maintain it, because it caused a lot of problems, which I could not handle. Sorry.

Report

zigver

13 years ago

This is such a great theme. I'm gonna cry when it eventually no longer works.

Report

CHRiSNEW

13 years ago

i want to use the gl version, but on debian 3.1 it wont work... as root it ain't work too.
did anyone get it running under debian? plz send experiences about it

Report

CHRiSNEW

13 years ago

update!
use the new driver 81xx by nvidia.. damn it, that is fast^^

Report

LightBeam

13 years ago

Debian package on ubuntu distro won't work (keep plastik deco...)
When I try to install by source I have this error :
crystalclient.moc:130: error: 'KDecoration' has not been declared
Needs KDecoration to work ?

Report

CHRiSNEW

13 years ago

i needed to compile kdecoration headers from the source. i took it from kde 3.4.3 source.. compiles, but crashes, if i try to start it (kwin, kcontrol)

Report

Marsjannno

13 years ago

OK i had CrystalGL on my Old kubuntu 5.4. But now after I installed CRYSTALGL from deb file, and when i turn to window deco menu, and when i set CrystalGL, there is nothing in that window- it doesen't work. I am pretty sure I installed qt cause my PSI works. I have Nvidia drivers, and i added myself into a video group. I only dont know what with OpenGL. In fact i am linux newbie. Help if you can.

Report

shine07

13 years ago

very very nice, better than 'plain' crystal version. Looks wonderful on my Suse with direct rendering enabled, it is not slow.

In my humble opinion, however, the black border (on left and right) are too bold, too wide..

Report

bushwakko

13 years ago

how about making crystal-gl draw from composite instead of a bitmap?

that should be great!

Report

bram85

13 years ago

Some drivers *shrug*ATI*shrug* don't support composite yet, so I'm still fine with bitmaps.

Report

bushwakko

13 years ago

how about an option?

Report

C

dralgebra

13 years ago

Since KDE 3.5 every window decoration will be able to use COMPOSITE, I mean, every deco can be translucent, not only crystal. Check it out, no need for special code.

Report

bushwakko

13 years ago

well, that's kinda brute force to enable kompmgr, it's better to implement the level of compositing in the deco, so you can do deco-independent stuff, like transforms on it, and perhaps gradient transparency and stuff, and non-transparent buttons, you get the picture.

But back to my original question, couldn't you add composite support, like have both, use composite if available. would be great! composite is soon non-experimental in xorg, and then ati will make support.

Report

C

dralgebra

13 years ago

No way for Decos in KDE<3.5 to make individual use of composite. This will be a KDE 3.5 feature only (if it is even possible), and I will look into thism, when 3.5 is released.
And ATI has linux support?? Can't believe it. o_O But they should improve their 3D drivers first...

Report

slightcrazed

13 years ago

For those of you running on Nvidia systems, your user needs to be part of the 'video' group in order for this to work correctly. All of the Nvidia device files (/dev/nvidia*) are permissioned to root and the group called video. This window decoration apparently needs access to these device files. I was getting the same error that everyone else is complaining about, Kcontrol crashes immediately with a segfault when trying to select this window deco. Just do this as root:

usermod -G video 'yourusername'

and you should be fine. A restart (of KDE at least) may be necessary, I can't remember.

Report

woutermense

13 years ago

Didn't work at all... Kontrol Center still just crashes. My user is member of the video group, nv* files in /dev are permissioned as follows:

crw-rw-rw- 1 root video 195, 0 2005-11-06 22:16 nvidia0
crw-rw-rw- 1 root video 195, 255 2005-11-06 22:16 nvidiactl

Report

musicmaker

13 years ago

don't work :(
When I select crystal gl - kkontrol was crashed!

Open GL is enabled
Video - NVidia GeForce 6600

Report

woutermense

13 years ago

Mine too. The KDE Control Center just segfaults as soon as you select the deco. It compiled ok, though.

Report

14 years ago

* All packages up to date now

0.8.1:
* Made look antialiased caption damn good. Enabling this is RECOMMENDED now!
* Fixed menu button image bug
* Split up rendering process into four for each border. Maybe speed up or (most likely) speed down. :-/ Should fix nvidia-slowdown-bug on maximized windows.
* Added feature: "Scroll" through windows, by using the mouse wheel on the title bar, as well as an option in the configuration dialog to disable this immediately :>
* Improved config dialog a little


0.8.0:
* Added extreme slick "handpainted" button theme (thank you, Marco)
* Fixed some bugs, which almost drove me crazy on my notebook.
* Little speed up in the initialization
* Improved my "button-rendering-engine" a lot. Now button tinting uses GL, too.
* Added more options for button tinting.
* Added option to make the hover effect fade
* Added option to disable the transparency feature completely (don't dare!)
* Added information of direct rendering and glx version to the control center preview
* Got rid of some unneccessary code, probably put in a lot of more unneccessary code.
* Added a benchmark feature for my internal use (ctrl+alt+shift+RightButton on the title bar)


0.7.5:
* Added Knifty button theme (thanks to Enso)
* Fixed buttons
* Little code rearrangement, nothing visible

12345678910
product-maker Count:292 Rating: 6.75
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.8.1
updated Jan 26 2005
added Dec 19 2004
downloads today
0
page views today 13
System Tags linux theme unix