Smaragd (Emerald for KDE) Featured

Various Plasma 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

34
Score 84.6%
Description:

Smaragd is a window decoration engine for the KDE window manager KWin. It allows you to use Emerald theme files (from Compiz/Beryl) with KDE's Plasma 5 or KDE SC 4.

Please read on before writing bug reports!

Installation and Usage
* You have to compile from source, needs cairo, glib2 and KDecoration2 or kdebase-workspace development headers (see INSTALL file)
* Restart KWin when you had a previous version installed
* The *.emerald theme file has to be extracted to $HOME/.emerald/theme (make sure the file $HOME/.emerald/theme/theme.ini exists)
* You can also use the original Emerald theme manager to install and modify themes, but it is not needed for running
* There are over 1800 themes available, browse them on https://store.kde.org/browse/cat/117

Known Bugs
* Shadow offsets are broken
* No theme installation/configuration dialog

Smaragd is developed in KDE's git repository, see https://cgit.kde.org/smaragd.git/
Last changelog:

0.1.1 2 years ago

* fix crash when closing windows

C

skulptor

9 years ago

Yep, it crashes when no theme is installed; extract the theme into .emerald/theme first.

Report

Contrast

9 years ago

Awesome work you've done here. Seems to work nicely. I had made a few Emerald themes I was rather proud of; this saves me the big hassle of porting them to deKorator, so big thanks.

Is there any chance that we'll ever see animated buttons in this?

Report

Saleel

9 years ago

Here is what it looks like: http://imagebin.ca/img/StAilR.png

those 4 holes aren't supposed to be there and weren't in the last version, however shadows are working great.

output of kwin --replace:
http://pastebin.com/3gtmhBC9

Report

C

skulptor

9 years ago

Could you test this patch? Thanks.

http://kde.pastebin.com/bhuiHAB3

Report

Saleel

9 years ago

tried it out Quote:islington@Mu:~$ patch /home/islington/Programs/Kde/smaragd-0.0.3/src/kwin_smaragd.cpp /home/islington/Downloads/side.patch
patching file /home/islington/Programs/Kde/smaragd-0.0.3/src/kwin_smaragd.cpp
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 295 with fuzz 1.

Maybe I patched it wrong? I dont think so though the patch code is present at line 295-314 in kwin_smaragd.cpp

It did not work, I still see the boxes after killing and restarting kwin.

Report

C

skulptor

9 years ago

Yep, my logic was flawed, please try http://kde.pastebin.com/qpuyVMu4 (download raw, and apply to 0.0.3)

Report

Saleel

9 years ago

success! http://imagebin.ca/img/zNZh5K.png

Report

Saleel

9 years ago

I should add that all 4 holes disappear when a window is maximized.

Report

Saleel

9 years ago

problems like that are only showing up when themes use the pixmap engine. I think.

Report

C

skulptor

9 years ago

The bug is with themes that have no rendering at the left/right borders. I will prepare a fix soon.

Report

drankinatty

9 years ago

Wow,

If this works, this will be great. KDE4 needs some good news :p I'll install tonight and provide feedback. Thanks!

Report

PaKoX

9 years ago

i cant install via source
please a .deb

Report

C

skulptor

9 years ago

Which error do you get? Please use a pastebin site for longer messages.

Report

PaKoX

9 years ago

when i use the cmake part
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/pako/.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:9 (find_package)


-- Configuring incomplete, errors occurred!

i don't know wath is the problem im realy bad using the terminal

Report

C

skulptor

9 years ago

Well, you don't even have a C++ compiler installed, and the required KDE development headers are also missing.

It looks like this is the first time you are trying to install something from source; I recommend you follow some tutorials, or ask in an Ubuntu online forum for help.

Report

PaKoX

9 years ago

not really what you're talking about, nor understand how to solve
tell me what packages I need for search and did not understand anything
thanks

Report

takanowaka

9 years ago

if you can't (and don't want to learn how to) build something for yourself search for binaries in ppas
here's repo that has a lot of nifty things packaged https://launchpad.net/~samrog131/+archive/ppa?field.series_filter=lucid

Report

Vistausss

9 years ago

Install build-essential, that'll installs all basic compiling needs.

Report

PaKoX

9 years ago

please a .deb for kubuntu and debian

Report

C

skulptor

9 years ago

Thanks for the feedback so far :)

For the 0.0.3 release I added code to detect corners; please report themes where this does not work well.

Detecting corners also allows me to enable KWin shadows again; those do not support shapes, though, so the shadows on very round themes look odd. I cannot do anything about it. Maybe Thomas' beshadow works better, I have not tested it yet.

I will add better (decoration supplied) shadows in a future version.

Report

vicko

9 years ago

hello skulptor how to enable shadows in the 0.0.3 version


Report

vicko

9 years ago

forget it.

session must be closed before the change takes effect or run kwin -- replace

glow can be implemented in the title bar???

Report

maarizwan

9 years ago

thanks for smaragd, the themes has to be literally extracted to ~/.emerald/theme folder. (can not have more than one theme.

Report

Saleel

9 years ago

actually keep the theme in a folder [themename]and to switch copy [themename] into the same directory under the name [theme].

This way you can have multiple themes but only have to manually switch them out.

Report

Izo

9 years ago

SUPERB idea. Well done!

/izo\

Report

0.1.1 2 years ago

* fix crash when closing windows

0.1.0 2 years ago

* port to KDecoration2 (KWin5). Needs Plasma 5.2 or newer.

9 years ago

0.0.7 (svn version r1179589)
* Add support for themes without pixmap buttons
* Fix button glow centering

0.0.6 (svn version r1160092)
* Add button hover animation (KDE 4.4)
* Fix resizing from top border
* Fix corners in some themes (e.g. "Ordinary")

0.0.5 (svn version r1137929)
* Add option to use KWin title text colors
* Add support for customizable decoration shadows

0.0.4.svn1132360
* Fix crash with pixmap engine
* Fix crash when no theme is installed

0.0.4 (svn version r1132157)
* Fix corners with some themes
* Add support for button glow
* Improve maximized window layout
* Enable vrunner title text glow

0.0.3 (svn version r1131112)
* Detect corners for KWin shadows

0.0.2 (svn version r1129697)
* Initial release

0.0.1
* Proof of concept

12345678910
1302
product-maker xeno-idaltu Aug 12 2019 10 the best
10 the best
product-maker Pyruzan Jun 17 2019 10 the best
Please keep it maintained and updated.
product-maker cinnamoner Mar 17 2017 9 excellent
product-maker mirkogennari Jan 03 2017 9 excellent
product-maker Stalker-medik Oct 13 2014 9 excellent
product-maker DeltaResero Apr 30 2013 9 excellent
product-maker KingSphinx Sep 08 2012 9 excellent
product-maker dotNet Aug 26 2012 9 excellent
product-maker reveng Aug 04 2012 9 excellent
product-maker unikum111 Feb 07 2012 9 excellent
product-maker originalseed Dec 12 2011 9 excellent
product-maker tobaj Dec 04 2011 9 excellent
product-maker webbber Oct 06 2011 9 excellent
product-maker nikore90 Sep 30 2011 9 excellent
product-maker emtorres Jun 04 2011 9 excellent
product-maker TheStarLion May 07 2011 9 excellent
product-maker lognur Apr 15 2011 9 excellent
product-maker falzueta Dec 29 2010 9 excellent
product-maker YAFU Oct 26 2010 9 excellent
product-maker Atermoon Oct 25 2010 9 excellent
product-maker Eldarion Oct 17 2010 9 excellent
product-maker LiShaohui Oct 09 2010 9 excellent
product-maker robyshot Oct 03 2010 9 excellent
product-maker Netscapist Sep 30 2010 9 excellent
product-maker kwr2k Sep 27 2010 9 excellent
product-maker srog Sep 26 2010 9 excellent
product-maker ladykatlyn Sep 26 2010 9 excellent
product-maker metaxy Sep 26 2010 9 excellent
product-maker vitoubien Sep 26 2010 3 bad
product-maker SeaJey Sep 26 2010 9 excellent
product-maker sylgil88 Sep 25 2010 9 excellent
product-maker mcder Sep 25 2010 9 excellent
product-maker PARENA Sep 23 2010 9 excellent
product-maker Count: 4 Rating: 5.0

xeno-idaltu

Aug 12 2019

Pyruzan

Jun 17 2019

SLUnatic85

May 30 2018

Mirko-Gennari

May 29 2018

DeltaResero

Apr 30 2013

Archimedes

Feb 10 2012

Montblanc

Jan 31 2012

originalseed

Dec 12 2011

tobaj

Dec 04 2011

stalin2000

Nov 11 2011

webbber

Sep 18 2011

Sundder

Aug 25 2011

falzueta

Feb 14 2011

marcotangaro

Oct 28 2010

YAFU

Oct 26 2010

Netscapist

Sep 30 2010

mcder

Sep 25 2010

AngelBlue01

Jul 31 2010

Vistausss

Jul 25 2010

PeterQuint

Jun 16 2010

rencord

Jun 11 2010

ladykatlyn

Jun 01 2010

hash87

May 30 2010

pipaceliny

May 28 2010

ollowtf

May 27 2010

PaKoX

May 27 2010

vicko

May 24 2010

DuncanIdaho

May 24 2010

Saleel

May 24 2010

nuovodna

May 24 2010

rickdesantis

May 24 2010

Lang

May 24 2010

augegr

May 23 2010

integr8e

May 23 2010
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.1.1
updated Jul 31 2017
added May 23 2010
downloads 24h
0
page views 24h 25