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
Score 75.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:

6 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

yaoziyuan

10 years ago

inactive title bar text shadow makes the title text too fuzzy and ugly. i suggest disabling inactive title text shadow.

Report

yaoziyuan

10 years ago

how to reproduce this bug:

1. middle-click a window's Maximize button to make it vertically maximized;

2. click its Maximize button to make it fully maximized;

3. click its Maximize button again to restore it to vertically maximized;

4. click its Minimize button to minimize it;

5. click its taskbar button to restore it to vertically maximized.

Now you can see the window's bottom has a hollowed rectangle about 2~3 pixels high.

Report

yaoziyuan

10 years ago

to reproduce another symmetric bug:

1. right-click a non-maximized window's Maximize button to make it horizontally maximized;

2. click its Maximize button to make it fully maximized;

3. click its Maximize button again to restore it to horizontally maximized;

4. click its Minimize button to minimize it;

5. click its taskbar button to restore it to horizontally maximized.

Now you can see the window's right edge has a hollowed rectangle about 2~3 pixels width.

Report

yaoziyuan

10 years ago

note that in the beginning the window should be neither vertically maximized nor horizontally maximized; none of its four edges should not reach the screen edge.

Report

idhan

10 years ago

Hi,

I am using intrepid with kde 4.2, but I get some errors with cmake -DCMAKE_INSTALL_PREFIX=/usr ..

Quote:
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/myusername/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!


Any idea? thanks :-)

Report

aleksanteri

10 years ago

sudo apt-get install kdelibs5-dev

Report

hmd9261

10 years ago

I just debianized the crystal 2.0.2 sources (by stealing most of the code from the Ubuntu package of the KDE3 version). The result (.deb for i386/testing, .dsc and .tar.gz) can be found here:

http://the-little-red-haired-girl.org/pub/debian/

(search for `kwin-style-crystal' in the list of files)

Report

valmar

10 years ago

Thanks for this excellent theme. I am trying to replace the icons int the themes, but I noticed that embedtool is not compiled. Does anyone know how to hack the Makefile to make it compile?

Report

C

dralgebra

10 years ago

Yeah, hacked it together in 2.0.2. Now embedtool is generated and always used to update tiles.h. Please give it a try.

Report

valmar

10 years ago

Thanks. I tried and it seems to work. Just a question: if I replace a ong, it has to be of the same size of the one being replaced, right. I ask because I amtrying to replace the pngs in the aqua theme. I replaced 16x16 with 23x23 and the buttons are scrambled.

Thanks again. Amazing work

Report

C

dralgebra

10 years ago

Yes. But see file client/crystalclient.cpp, line 263 and change the size of the buttons. And if you have something nice, feel free to show it me to include it. :)

Report

valmar

10 years ago

Thanks. I am creating a version of the Aqua theme that I find nicer, with slightly different button pics. As son as I get it to work I will send it to you.

Just a quick wish: do you think it would be easy to support a gradient in the window border? I have some kde4 themes where the window background has a gradient, since Qt4 now supports it. Do you think it could be done with crystal too? (Just a wish for the future)

Report

hmd9261

10 years ago

This sounds great. BTW, anyone figured out a good Mac-ish colour scheme for the title bar buttons? I am not good at this and the way they look now (all white) are good but not very good...

Report

kucrut

11 years ago

Thanks, love it!
Gentoo folks, I made an experimental ebuild, use at your own risk :P http://files.kucrut.org/ebuild/x11-themes/crystal/crystal-2.0.1.ebuild

Report

politikon

11 years ago

I am raw in linux. I could never install it. All the steps well but I never install the topic to them in any site. help me please!

Report

zarquad

11 years ago

Very nice.

in intrepid you'll have to:

cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
sudo make install

(if you make install, it will make for you before installing, why doesn't anyone JUST write make install???)

Report

C

dralgebra

11 years ago

make should be run as user, make install should be run as root. That's why it's a 3-step, not a 2-step.

Report

tarahmarie

11 years ago

When will the transparency be back?

Report

kubunteando

11 years ago

Thanks for the port.
It was what I was looking for.

Thanks for the hints about how to compile it in Ubuntu.

Now KDE 4.1 is looking grate!

Report

ralesk

11 years ago

Glad to see this :) the KDE3 Crystal is awesome, hope this will become just as good eventually.

Report

incubusss

11 years ago

Hello,

It doesn't build on Mandriva, cmake is OK but make fails.
Here is the error message : http://pastebin.ca/966126 .

Any idea on this problem ?

Thanks.

Report

C

dralgebra

11 years ago

I believe that the KDE3 headers are used, which are stored in /usr/include on your machine, instead of the KDE4 headers, that are in /opt/kde4/include.

In the topmost CMakeFiles.txt try change the order of include_directories to:

include_directories (${KDE4_INCLUDES} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} )

Report

darkphoenixff4

11 years ago

It appears that the same change has to be made in Fedora, or cmake fails to find the includes and gmake errors out as well.

Thanks for this windeco, it's by far the best one for KDE.

Report

ahahayes

11 years ago

how can i use the theme? i've installed it just following the up ones, but it seems not working.

Report

niun

11 years ago

On Kubuntu 8.04, I had to use
cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 .. instead of
cmake ..

Report

6 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 9 excellent
product-maker RavenLX Feb 20 2013 9 excellent
product-maker herrbatka Feb 05 2013 9 excellent
product-maker sakasa Jan 10 2013 9 excellent
product-maker reves121 Jul 08 2012 9 excellent
product-maker unikum111 Jul 07 2012 9 excellent
product-maker mcder Jul 02 2012 9 excellent
product-maker juank202 Jul 01 2012 9 excellent
product-maker saftsocken Jul 01 2012 9 excellent
product-maker 8Ypsilon Jul 01 2012 9 excellent
product-maker idonthack Sep 06 2011 9 excellent
product-maker amigib Jun 28 2011 9 excellent
product-maker TommyCZ Jun 19 2011 3 bad
product-maker RGBkde Jun 17 2011 9 excellent
product-maker Alesvol Jun 05 2011 9 excellent
product-maker caig Jun 05 2011 9 excellent
product-maker vitoubien Jun 02 2011 3 bad
product-maker fadnix Mar 27 2011 9 excellent
product-maker molecule-eye Nov 01 2010 3 bad
product-maker lf88 Oct 25 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
woko1754
Apr 29 2015
krinpaus
Dec 16 2013
unknownSpirit
Mar 19 2013
RavenLX
Feb 20 2013
sakasa
Jan 10 2013
microngust
Sep 09 2012
amigib
Jun 28 2011
AlejandroNova
Jun 05 2011
fadnix
Mar 27 2011
WillS
Jul 31 2010
hans00
Apr 06 2010
adolf102
Jan 16 2010
Untergunter
Sep 26 2009
admoore
Aug 28 2009
pcxz
Aug 26 2009
alecs1
Jul 01 2009
Murz
Apr 29 2009
RGBkde
Mar 01 2009
borisdigital
Feb 15 2009
its
Feb 11 2009
barnie
Jan 19 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
2.2.1
updated Jan 09 2013
added Feb 11 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 11