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

alecs1

9 years ago

Hi, could you add a small resize grip to the right down corner, like BeSpin and Nitrogen have.

I currently use this decoration as it works correctly with border size 0 and "allow resize of maximized windows" option of kwin, unlike BeSpin.

Report

Moony

10 years ago

If anyone is interested, I have fedora packages for Crystal here:

http://www.infinality.net/blog/?p=11

I made a small change: I replaced some of the existing "Vista" window buttons with ones from Emerald (compiz window decorations) because they look more like the originals.

Report

Moony

10 years ago

If anyone is interested, I have fedora packages for Crystal here:

http://www.infinality.net/blog/?p=11

I made a small change: I replaced some of the existing "Vista" window buttons with ones from Emerald (compiz window decorations) because they look more like the originals.

Report

Ace2016

10 years ago

Wishlist:

* No left, right or bottom borders when maximised
* No rounding when maximised
* Custom Roundedness
* Shadows without desktop effects being enabled in kde4

This is what it would look like:

http://img18.imageshack.us/img18/6036/windowborder3.png

This is probably how i will configure things to look like:

http://img16.imageshack.us/img16/5083/finalo.png


Report

C

dralgebra

10 years ago

1) and 2): already implemented, if you check "Allow moving and resizing of maximized windows" somewhere in the kwin settings.

3) A bit harder, but I'll think about it.

4) Most likely no, because I'd need a composite manager and I don't even know how to use kwins one yet (I want real transparency). :-) At least I have no idea how to implement it with normal technics.

Report

Ace2016

10 years ago

Thanks that fixed it, now maximised windows have no border or rounding, I enabled it so i could resize out of being maximised with shortcut keys, win+right mouse button movement, irritating since there is no win+middle=maximise/restore in kde 4.2.1

Report

Ace2016

10 years ago

Ok i found out that shadows are being reworked for 4.3 so they should be better

Report

kwindva

10 years ago

Is there a way to change the default overall color,BLUE?I want the color to be black,or maybe green.Anyway, a blue titlebar doens't harmonize with my color scheme.

Report

C

dralgebra

10 years ago

Sure, it just follows the KDE color scheme. So the setting is not to be changed in the decoration settings but in KDEs own color settings.

Report

kwindva

10 years ago

Sorry.I used to use the ozone decoration,it misled me to think there is no titlebar color specified in kde's color schemes.Apologies for my filing a wish without a simply further survey.It's a great decoration.Good luck.

Report

yaoziyuan

10 years ago

the vertical distance between a title bar's text and the title bar's bottom will become larger when the window is maximized. i want this vertical distance to remain the same as if the window is not maximized.

the kde4 window decoration "Bespin" is a good example of having a constant title text vertical offset.

Report

C

dralgebra

10 years ago

Correct and the buttons move up a bit too. This is a bug and I'll work on fixing this. Thanks for reporting.

Report

yaoziyuan

10 years ago

Just upgraded to Kubuntu 9.04 Alpha. This bug automatically disappeared.

Report

RGBkde

10 years ago

In openSUSE 11.1 64 bits with kde 4.1.3 I get the following error:

CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/mr2009/.kde4/share/apps;/usr/share/kde4/apps;/etc/kde4/share/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

skulptor

10 years ago

You need to install KDE headers. Install package "kdebase4-workspace-devel".

Report

RGBkde

10 years ago

Perfect!!
Many thanks!

Report

GerardL

10 years ago

I copied the name of the theme and pasted on Adept and installed from there, I found more easy as I dont know/want how instaling from console.

It works! And is beautiful but I expected the X button was colored in red as in Vista/XP, its more easy to find aftwerwards. I try to color it with Sist Setttings but the result was ugly as loose its reflection and losse beauty.

I saw a video o Desktop effects with a similar theme with the X red colored. Is the same or another?

Report

GerardL

10 years ago

Im using Linux Kubuntu from last year but only in graphic mode, there isnt a way to install this from right click on desktop or from Sys Setting? or Adept?
I atetmpetd to install sometomes programs with console but always ended up using Adept as I dont know how to do it. This is the big handicap for exWindows users like me.
I tried to follow instructions here installing from console but I get a bash error at first instruction !
I search for help for newbies here or a tutorial but I dont find anything so I registered and post here. Can anybody tell me what to do?

Report

C

dralgebra

10 years ago

Kubuntu Intrepid has a package for this theme (calles kwin-style-crystal):

http://packages.ubuntu.com/intrepid/kde/kwin-style-crystal

Report

GerardL

10 years ago

Woa how fast ! The lik you gave Is the same made for you? When you say Kwin is for that works only in KWIn with proprietary graphic drivers?
As I get many crahses in previous versions of KDE 4 when enabling prop drivers and effects (Id to reinstall 4 times!) now I dont instaled them and I work with more stable public drivers that comes with Kubuntu 8.10 (its name like that?) so I don t know if this work for that drivers.

Report

darkseid280185

10 years ago

hi, I personnaly use Crystal as my default window decoration since KDE 3.5. I really love it since this time and was happy to learn you've ported it to KDE 4.

In my Mandriva 2009.0 It is awesome. :)


I have just a little request. Would it be possible to have larger pictures as overlay? It could be awesome having 1200x 64 pictures as overlay cause it would allow having more design possibilities.

Thanks a lot for your work. :)

Keep it up.

Report

C

dralgebra

10 years ago

It's already done and just waiting for me to release it. :-D Meaning, the next release will have more possibilities there. But please hold on a bit...

Report

darkseid280185

10 years ago

Awesome. \o/ I'll wait as much time as you need in order to release it.

If you want me to draw some big overlays, just tell me. By the way, I'll release some overlays as soon as you'll release new version. :)

Thank you very much for your work. :)

Report

C

dralgebra

10 years ago

Sure, but could you send me the overlays first instead of creating a different package? I might just ship them with the official package.

Report

darkseid280185

10 years ago

Okay, that would be cool contributing to crystal, just tell me the size you want them to have, I'll make them during the weekend. :)

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 8
+