Crystal

Various KDE 1.-4. Styles

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

21
6.8
Description:

This is the port of the famous Crystal kwin decoration theme to KDE 4.x.

For 3.x version see:
http://www.kde-look.org/content/show.php/Crystal?content=13969


Main features:
* Uses compositing features of KDE4 for transparency with ability to use the blur plugin
* Supports grouping/tabbing of windows
* Ability to choose the blending colors of buttons as well as title bar and border size
* Right click on minimize button toggles shade mode
* Middle click on minimize button sends window to below
* Double click on program symbol closes window
* Support for button themes. Basic button theme is included, feel free to swamp me with cool themes
* Can show a tooltip for the caption
* Right click on close button can run kdocker, if installed, to minimize the application to the system tray



-- INSTALL ---------------------
Basic Installation (from the console):
- Step 1 (as user)
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
$ make
- Step 3 (as root)
# make install

If you installed crystal while it was running, you would need to restart kwin for the changes to take effect: kwin --replace
--------------------------------

Feedback and patches well appreciated. ;-)


Follow me on GitHub!
https://github.com/shlusiak/kwin-style-crystal


This version of crystal needs KDE 4.9 or higher!



Have fun,
Sascha Hlusiak
Last changelog:

11 years ago

2.2.1 (KDE 4.9):
* Fix tabbing after window shading


2.2.0 (KDE 4.9 only):
* Use API for KDE 4.9

2.1.1 (KDE 4.8):
* Improved compatibility with KDE 4.8
* Fixed possible glitches without compositing in KDE 4.8
* Draws own shadows


2.1.0:
* Support of KDE's cool window tabbing / grouping feature!!
* Fix working with kdocker >= 4.5, if installed (right click on close button to run)
* Fix glitch of round corners in compositing mode introduced in 2.0.6. Reduced options of round corners to 1 for code simplification.


2.0.6:
* Use Blur effect for transparent borders when kwin-plugin is enabled (needs KDE >= 4.6.0)
* Updated aqua button theme
* New button theme: glass-pill
* Fix some compile warnings


2.0.5:
* Use KDecoration again instead of KDecorationUnstable; hopefully fixes compile problems
* Remove some probably unnecessary redrawing


2.0.4:
* Built-in logos for various distros
* Some experimental transparency support (requires KDE4 compositing)
* Fix not showing shadow in compositing mode (whiteliste abilities now, not blacklist them; thanks to Zarin for pointing that out)

2.0.3:
* Possibility to stretch or scale overlay images
* Fix showing logo on active window only
* Disable caption shadow for inactive windows so it's easier to read
* Work around "hollow" border glitches when using half-maximized states
* Added backported Kubuntu-Hardy button theme (thanks to Kubuntu team)
* Little nicer default settings

2.0.2:
* Adding back button images in configuration dialog
* Set tooltip of decoration to caption right from the beginning
* Creating and using embedtool again to create tiles.h

2.0.1:
* Scrolling through open windows works again (if option is enabled)
* Link to this page in the info dialog
* Minimizing to systray using kdocker works again

2.0.0:
* Initial release of KDE 4.x port

C

dralgebra

6 years ago

Just uploaded version 2.2.0, which should work with KDE-4.9 (only). Note that due to changed API, that version will not work under KDE 4.8, please use version 2.1.1, which has the exact same features.

Please let me know if it's working fine.

Report

jts74

6 years ago

Thanks. I'll give that a try later.

Report

jts74

6 years ago

So far compiled OK and working on 4.9 Beta 2. :)

Report

xeng

7 years ago

-- Configuring incomplete, errors occurred!
Farewell. ;)

Report

Fisiu

7 years ago

incorrect-fsf-address in COPYING:
The Free Software Foundation address in this file seems to be outdated or misspelled. Ask upstream to update the address, or if this is a license file,
possibly the entire file with a new copy available from the FSF.

Report

Etna

7 years ago

Can anyone point me in the right direction? CMake works fine on my system and generates the buildfiles without issue, but running 'make' after that throws up the following errors:

[etna@localhost build]$ make
Scanning dependencies of target embedtool
[ 6%] Building CXX object pics/CMakeFiles/embedtool.dir/embedtool.o
Linking CXX executable embedtool
[ 6%] Built target embedtool
[ 13%] Generating logos.h
Generating crystalclient.moc
Generating moc_crystalbutton.cpp
[ 20%] Generating tiles.h
[ 26%] Generating overlays.h
Scanning dependencies of target kwin3_crystal
[ 33%] Building CXX object client/CMakeFiles/kwin3_crystal.dir/kwin3_crystal_automoc.o
In file included from /home/etna/Download/Crystal/crystal-2.1.0/build/client/../../client/crystalbutton.h:27,
from /home/etna/Download/Crystal/crystal-2.1.0/build/client/moc_crystalbutton.cpp:10,
from /home/etna/Download/Crystal/crystal-2.1.0/build/client/kwin3_crystal_automoc.cpp:4:
/home/etna/Download/Crystal/crystal-2.1.0/client/crystalclient.h:49: error: expected class-name before ‘{’ token
/home/etna/Download/Crystal/crystal-2.1.0/client/crystalclient.h:67: error: ‘Position’ does not name a type
/home/etna/Download/Crystal/crystal-2.1.0/client/crystalclient.h:89: error: ‘ClientGroupItem’ has not been declared
make[2]: *** [client/CMakeFiles/kwin3_crystal.dir/kwin3_crystal_automoc.o] Error 1
make[1]: *** [client/CMakeFiles/kwin3_crystal.dir/all] Error 2
make: *** [all] Error 2

System is running on Mandriva Free 2009.0, KDE 4.1. kdebase4-workspace-devel has already been installed.

Report

C

dralgebra

7 years ago

No newer kde around than 4.1? Or try to compile version 2.0.6 of the decoration, which does not yet use the window tabbing feature, introduced in newer kde releases. Maybe Mandriva ships a rpm package of the deco, and I strongly suggest to update your kde anyway.

Report

Etna

7 years ago

Turns out that v2.0.6 also did not work as well. However, I found success with v2.0.1 of the theme. Many thanks for the suggestion to seek out the older versions! ;)

Report

crematory3

7 years ago

Install on Ubuntu 11.10 Beta KDE 4.7.1 and looks fine. Good work.

Report

idonthack

7 years ago

this is a wonderful theme

Report

WiseLord

7 years ago

2.1.0:
>> Reduced options of round corners to 1 for code simplification

Questionable decision. I think, many users (and me too) like rounded top (left and right) corners, but rectangular bottom ones.

Report

WiseLord

7 years ago

P.S. I made a little patch for myself, which makes bottom corners non-rounded again. Here is a little screenshot with differences between two situations and I think that second (with only top rounded corners) is better:

http://imgby.com/o8p.png

Report

C

dralgebra

7 years ago

You are right. I removed the option to reduce complexity of the code a little while I had problems with the round corners with transparency. I guess I'll re-add them in the next version. :) Sorry for any inconvenience.

Report

WiseLord

7 years ago

Good news.
So, next version will be what I want, but in the meantime, I'll use patched new version (because it have window groups support).

Thank you very much for good work. I think it's a best window decorations for notebooks (big buttons are very useful for touchpad).

Report

RGBkde

7 years ago

openSUSE 11.4, 64 bits:

> cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/MR-RM/.kde4/share/apps;/usr/share/kde4/apps;/etc/kde4/share/apps
Call Stack (most recent call first):
CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!

openSUSE is still on 2.0.5... :(

On a side question: is it possible, once cmake goes on, to use checkinstall to create a rpm? There was a time when checkinstall had problems with cmake.
Cheers

Report

RGBkde

7 years ago

>> On a side question: is it possible, once cmake goes on, to use checkinstall to create a rpm?

I answer to myself: yes, it is possible. As far as I can see, the only problem with checkinstall and cmake is that the former do not pick the right package info so it suggest a wrong name and version number. For example, it suggested "Build" as name instead of Crystal and "20110625" as package version instead of 2.1.0... but all that info can be changed without problems from checkintall itself (the program ask if you want to change anything). The resulting rpm (with the right info) works without problems, replacing the system rpm without conflicts.
I'm using tabs now... :)

Report

RGBkde

7 years ago

Oh! I forgot to mention: if you want to follow that path to build the rpm, do not forget to also edit the group the rpm belongs, changing from what checkinstall suggest to "System/GUI/KDE"

Report

C

dralgebra

7 years ago

In Ubuntu you need the develop files from the kdelibs5-dev and kdebase-workspace-dev packages. In OpenSuse try to install libkde4-devel and possibly some more (a package containing "kdecoration.h").

Report

RGBkde

7 years ago

Thanks for your answer. I cannot find kdecoration.h file on any package, though.
By adding libkde4-devel cmake now goes on without errors, but make ends with a "fatal error": kdecoration.h do not exists.
I'll try to ask on a openSUSE board were that file is.
Thanks again

Report

RGBkde

7 years ago

For the record: kdebase4-workspace-devel is the package. Now crystal compiled without problems

Report

AlejandroNova

7 years ago

You brought me back those memories of KDE 3.5.8 running under Gentoo, in 2004! The Crystal style is as solid and configurable as before. The only real change is the switch from fake transparency to true Composite transparency, and it looks awesome.

From a long time Crystal user, in the KDE 3 era.

Report

Anywhere

7 years ago

I don't suppose anyone's got either a PPA or a Deb package with this? (^4-bit Natty)

Report

Phorious

8 years ago

Hi there.

Are you planning to add support for blur effect?

Regards

Report

C

dralgebra

7 years ago

crystal-2.0.6 with kde >= 4.6.0 uses the blur effect now :)

Report

pmichniewski

9 years ago

This theme is very nice!

I miss the resize handle in the bottom-left window corner (like in Oxygen when it has no border) though so I won't use it for now. If you could add it (and maybe tabs), it would be great!

Report

11 years ago

2.2.1 (KDE 4.9):
* Fix tabbing after window shading


2.2.0 (KDE 4.9 only):
* Use API for KDE 4.9

2.1.1 (KDE 4.8):
* Improved compatibility with KDE 4.8
* Fixed possible glitches without compositing in KDE 4.8
* Draws own shadows


2.1.0:
* Support of KDE's cool window tabbing / grouping feature!!
* Fix working with kdocker >= 4.5, if installed (right click on close button to run)
* Fix glitch of round corners in compositing mode introduced in 2.0.6. Reduced options of round corners to 1 for code simplification.


2.0.6:
* Use Blur effect for transparent borders when kwin-plugin is enabled (needs KDE >= 4.6.0)
* Updated aqua button theme
* New button theme: glass-pill
* Fix some compile warnings


2.0.5:
* Use KDecoration again instead of KDecorationUnstable; hopefully fixes compile problems
* Remove some probably unnecessary redrawing


2.0.4:
* Built-in logos for various distros
* Some experimental transparency support (requires KDE4 compositing)
* Fix not showing shadow in compositing mode (whiteliste abilities now, not blacklist them; thanks to Zarin for pointing that out)

2.0.3:
* Possibility to stretch or scale overlay images
* Fix showing logo on active window only
* Disable caption shadow for inactive windows so it's easier to read
* Work around "hollow" border glitches when using half-maximized states
* Added backported Kubuntu-Hardy button theme (thanks to Kubuntu team)
* Little nicer default settings

2.0.2:
* Adding back button images in configuration dialog
* Set tooltip of decoration to caption right from the beginning
* Creating and using embedtool again to create tiles.h

2.0.1:
* Scrolling through open windows works again (if option is enabled)
* Link to this page in the info dialog
* Minimizing to systray using kdocker works again

2.0.0:
* Initial release of KDE 4.x port

12345678910
317
product-maker danhuu Sep 08 2015 8 great
product-maker RavenLX Feb 20 2013 8 great
product-maker herrbatka Feb 05 2013 8 great
product-maker sakasa Jan 10 2013 8 great
product-maker reves121 Jul 08 2012 8 great
product-maker unikum111 Jul 07 2012 8 great
product-maker mcder Jul 02 2012 8 great
product-maker juank202 Jul 01 2012 8 great
product-maker saftsocken Jul 01 2012 8 great
product-maker 8Ypsilon Jul 01 2012 8 great
product-maker idonthack Sep 06 2011 8 great
product-maker amigib Jun 28 2011 8 great
product-maker TommyCZ Jun 19 2011 3 bad
product-maker RGBkde Jun 17 2011 8 great
product-maker Alesvol Jun 05 2011 8 great
product-maker caig Jun 05 2011 8 great
product-maker vitoubien Jun 02 2011 3 bad
product-maker fadnix Mar 27 2011 8 great
product-maker molecule-eye Nov 01 2010 3 bad
product-maker lf88 Oct 25 2010 8 great
product-maker Count:233 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
2.2.1
updated Jan 09 2013
added Feb 11 2008
downloads today
0
page views today 4
+