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

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
bu99zy

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

Post 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
Last edited by bu99zy on Sun Jun 10, 2012 5:28 am, edited 3 times in total.
remoulder
Level 17
Level 17
Posts: 7621
Joined: Fri May 09, 2008 1:14 pm

Re: How to install Emerald window manager in Mint 13

Post by remoulder »

Please change your post subject to make clear this is for MATE edition.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
bimsebasse

Re: How to install Emerald window manager in Mint 13

Post by bimsebasse »

Yes, doing this in the other Mint 13 is likely to create huge problems.
bu99zy

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

Post by bu99zy »

Done, sorry about that.
zerozero

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

Post by zerozero »

bu99zy,
regarding kde, what are the advantages of using the combo compiz+emerald instead of kwin+smaragd?
davidwillis
Level 2
Level 2
Posts: 52
Joined: Fri Aug 10, 2007 11:45 am

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

Post 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.
NixPix

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

Post 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?
gizmoatwork
Level 1
Level 1
Posts: 33
Joined: Sat Jun 13, 2009 10:48 am

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

Post by gizmoatwork »

Same for me, I have the "Permission denied" error.
bu99zy

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

Post 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.
gizmoatwork
Level 1
Level 1
Posts: 33
Joined: Sat Jun 13, 2009 10:48 am

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

Post by gizmoatwork »

Thank you, it worked for me.
ellipse55

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

Post 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.
remoulder
Level 17
Level 17
Posts: 7621
Joined: Fri May 09, 2008 1:14 pm

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

Post 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.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
bu99zy

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

Post 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
ellipse55

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

Post by ellipse55 »

Hi bu99zy!

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

Best,
Pierre.
Alkaza

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

Post 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
bu99zy

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

Post 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.
cowsquad

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

Post by cowsquad »

Awesome

Sent from my Galaxy Nexus using Tapatalk 2
Alkaza

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

Post 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.
Alkaza

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

Post 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.
Post Reply

Return to “Tutorials”