Page 1 of 2

How to install Emerald window manager in Mint 13 (Mate,KDE,)

Posted: Tue Jun 05, 2012 5:27 am
by bu99zy
Note this is only for Mate, KDE, XCFE, LXDE.

Compiz & Emerald is not compatible with Gnome 3 or Cinnamon.

For those who like using Emerald with Compiz, here is a guide on how to install Emerald.

1st we need the libraries

Code: Select all

apt install intltool build-essential libxrender-dev libgtk2.0-dev libwnck-dev libdecoration0-dev
Then we need to get the code from git and compile it

Code: Select all

cd ~

Code: Select all

git clone git://anongit.compiz.org/fusion/decorators/emerald

Code: Select all

cd emerald

Code: Select all

git checkout -b compiz++ origin/compiz++

Code: Select all

./autogen.sh

Code: Select all

make

Code: Select all

 sudo make install
Mint, by default, does not look here for libraries. If we tried executing Emerald now, with

Code: Select all

emerald --replace 


we’d get the following error.

Code: Select all

emerald: error while loading shared libraries: libemeraldengine.so.0: cannot open shared object file: No such file or directory
So we have to link the library

Code: Select all

sudo echo "/usr/local/lib" > /etc/ld.so.conf.d/emerald.conf
If you get a "permission denied" error from the last command try logging in as superuser

Code: Select all

su
Then run the command again without sudo

Code: Select all

echo "/usr/local/lib" > /etc/ld.so.conf.d/emerald.conf
Then update

Code: Select all

sudo ldconfig
I would then reboot so fusion-icon shows the Emerald Theme Manager so you can change themes. Or use the following command to start using emerald.

Code: Select all

emerald --replace
Image

Re: How to install Emerald window manager in Mint 13

Posted: Tue Jun 05, 2012 6:50 am
by remoulder
Please change your post subject to make clear this is for MATE edition.

Re: How to install Emerald window manager in Mint 13

Posted: Tue Jun 05, 2012 7:04 am
by bimsebasse
Yes, doing this in the other Mint 13 is likely to create huge problems.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Tue Jun 05, 2012 8:40 am
by bu99zy
Done, sorry about that.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Tue Jun 05, 2012 8:51 am
by zerozero
bu99zy,
regarding kde, what are the advantages of using the combo compiz+emerald instead of kwin+smaragd?

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Thu Jun 07, 2012 10:39 am
by davidwillis
Is there anything like emerald that can be used in cinnamon? I am trying it out right now, and the theme manager in there does not seem to change the windows, just the task bar and menu. Other than that, I really like cinnamon.

I have not tried mate though, so maybe I should.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Fri Jun 08, 2012 9:52 am
by NixPix
This one: sudo echo "/usr/local/lib" > /etc/ld.so.conf.d/emerald.conf
Returns: Permission denied

And when running emerald -replace nothing happens

What do I do?

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Fri Jun 08, 2012 11:54 pm
by gizmoatwork
Same for me, I have the "Permission denied" error.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Sun Jun 10, 2012 5:17 am
by bu99zy
NixPix wrote:This one: sudo echo "/usr/local/lib" > /etc/ld.so.conf.d/emerald.conf
Returns: Permission denied

And when running emerald -replace nothing happens

What do I do?
Try logging in as superuser in a terminal

Code: Select all

su
then

Code: Select all

echo "/usr/local/lib" > /etc/ld.so.conf.d/emerald.conf
zerozero wrote:bu99zy,
regarding kde, what are the advantages of using the combo compiz+emerald instead of kwin+smaragd?
Good question, unfortunately I have never been able to get hot corners working in a virtual environment like virtualbox with kwin. So I use compiz with emerald. Situations like at work where windows software is the norm, I usually install Linux in a virtual environment, as web surfing on windows makes me nervous.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Wed Jun 13, 2012 11:27 am
by gizmoatwork
Thank you, it worked for me.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Mon Jul 09, 2012 10:57 am
by ellipse55
Hi all,

I'm using LMDE xfce (64-bits) - when I execute the command ./autoreconf, I get this error message
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure.ac:12: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
What might be the problem?

Thanks in advance.
Pierre.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Mon Jul 09, 2012 11:54 am
by remoulder
ellipse55 wrote:'m using LMDE xfce
You are posting in the wrong forum about the wrong version of mint, please read the title of the tutorial.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Fri Jul 13, 2012 10:56 am
by bu99zy
ellipse55 wrote:Hi all,

I'm using LMDE xfce (64-bits) - when I execute the command ./autoreconf, I get this error message
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure.ac:12: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
What might be the problem?

Thanks in advance.
Pierre.
If you are using LMDE, using the shame repo is the easiest way to add Emerald.

Code: Select all

sudo nano /etc/apt/sources.list
If you are tracking testing (the default source list in LMDE) add

Code: Select all

deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
If you are tracking sid

Code: Select all

deb http://download.tuxfamily.org/shames/debian-sid/desktopfx/unstable/ ./
Control+X to get out of nano and Y to apply the changes

Add the key to the new repo you just added (this must be done as su not sudo)

Code: Select all

su

Code: Select all

wget http://download.tuxfamily.org/shames/A42A6CF5.gpg -O- | apt-key add -
update

Code: Select all

apt update
Install emerald

Code: Select all

apt install emerald
Once installed I'd get rid of that repo as it has an older copy of compiz it may try to install.

It's an old repo, the shame repo, as you can tell lenny was testing back then but it works fine for me. More info on it at

http://shame.tuxfamily.org/repo/?cat=11

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Fri Jul 13, 2012 7:43 pm
by ellipse55
Hi bu99zy!

It works great!!! Many thanks for your very useful and clear answer. :D

Best,
Pierre.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Fri Jul 27, 2012 1:03 pm
by Alkaza
Hi, I've followed all steps but at final emerald doesnt work; It's installed but doesn't change windows apparece. I've installed fusion-icon and set compiz as window manager and emerald as window decorator but windows disappear. Selecting marco as window manager mate goes back to normal.
What am I doing wrong?
Thanks

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Sat Jul 28, 2012 11:26 pm
by bu99zy
Alkaza wrote:Hi, I've followed all steps but at final emerald doesnt work; It's installed but doesn't change windows apparece. I've installed fusion-icon and set compiz as window manager and emerald as window decorator but windows disappear. Selecting marco as window manager mate goes back to normal.
What am I doing wrong?
Thanks
Have you tried to install a theme in Emerald Themer? As I remember there was none after compiling and gave the impression emerald wasn't working as it could not load any themes as there was none in the Themer.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Sun Jul 29, 2012 1:13 am
by cowsquad
Awesome

Sent from my Galaxy Nexus using Tapatalk 2

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Sun Jul 29, 2012 5:03 pm
by Alkaza
Have you tried to install a theme in Emerald Themer? As I remember there was none after compiling and gave the impression emerald wasn't working as it could not load any themes as there was none in the Themer.
Yes, I had already installed some themes in emerald but none works.

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Sun Jul 29, 2012 9:31 pm
by C#R#

Re: How to install Emerald window manager in Mint 13 (Mate,K

Posted: Mon Jul 30, 2012 5:35 am
by Alkaza
SOLVED: Installing CompizConfig Settings Manager and replacing gtk theme by emerald --replace in window decorator.
After that I couldn't move or resize windows, entering to compizconf and selecting resize windows and move windows I've solved this problem.