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

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

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

Postby bu99zy on Tue Jun 05, 2012 5:27 am

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.
User avatar
bu99zy
Level 3
Level 3
 
Posts: 135
Joined: Wed Jan 18, 2012 12:59 am

Linux Mint is funded by ads and donations.
 

Re: How to install Emerald window manager in Mint 13

Postby remoulder on Tue Jun 05, 2012 6:50 am

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

Re: How to install Emerald window manager in Mint 13

Postby bimsebasse on Tue Jun 05, 2012 7:04 am

Yes, doing this in the other Mint 13 is likely to create huge problems.
Thank you for this thread. That’s all I can say. You most definitely have made this forum into something special. You clearly know what you are doing, you’ve covered so many bases. Thanks!
User avatar
bimsebasse
Level 7
Level 7
 
Posts: 1709
Joined: Fri Nov 11, 2011 10:21 am
Location: Scandinavia

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

Postby bu99zy on Tue Jun 05, 2012 8:40 am

Done, sorry about that.
User avatar
bu99zy
Level 3
Level 3
 
Posts: 135
Joined: Wed Jan 18, 2012 12:59 am

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

Postby zerozero on Tue Jun 05, 2012 8:51 am

bu99zy,
regarding kde, what are the advantages of using the combo compiz+emerald instead of kwin+smaragd?
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6485
Joined: Tue Jul 07, 2009 2:29 pm

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

Postby davidwillis on Thu Jun 07, 2012 10:39 am

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.
davidwillis
Level 1
Level 1
 
Posts: 39
Joined: Fri Aug 10, 2007 11:45 am

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

Postby NixPix on Fri Jun 08, 2012 9:52 am

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?
NixPix
Level 1
Level 1
 
Posts: 5
Joined: Tue Jun 05, 2012 8:34 am

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

Postby gizmoatwork on Fri Jun 08, 2012 11:54 pm

Same for me, I have the "Permission denied" error.
gizmoatwork
Level 1
Level 1
 
Posts: 29
Joined: Sat Jun 13, 2009 10:48 am

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

Postby bu99zy on Sun Jun 10, 2012 5:17 am

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.
User avatar
bu99zy
Level 3
Level 3
 
Posts: 135
Joined: Wed Jan 18, 2012 12:59 am

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

Postby gizmoatwork on Wed Jun 13, 2012 11:27 am

Thank you, it worked for me.
gizmoatwork
Level 1
Level 1
 
Posts: 29
Joined: Sat Jun 13, 2009 10:48 am

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

Postby ellipse55 on Mon Jul 09, 2012 10:57 am

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.
User avatar
ellipse55
Level 1
Level 1
 
Posts: 21
Joined: Thu Feb 04, 2010 12:57 pm

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

Postby remoulder on Mon Jul 09, 2012 11:54 am

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

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

Postby bu99zy on Fri Jul 13, 2012 10:56 am

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
User avatar
bu99zy
Level 3
Level 3
 
Posts: 135
Joined: Wed Jan 18, 2012 12:59 am

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

Postby ellipse55 on Fri Jul 13, 2012 7:43 pm

Hi bu99zy!

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

Best,
Pierre.
User avatar
ellipse55
Level 1
Level 1
 
Posts: 21
Joined: Thu Feb 04, 2010 12:57 pm

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

Postby Alkaza on Fri Jul 27, 2012 1:03 pm

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
Alkaza
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 27, 2012 12:55 pm

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

Postby bu99zy on Sat Jul 28, 2012 11:26 pm

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.
User avatar
bu99zy
Level 3
Level 3
 
Posts: 135
Joined: Wed Jan 18, 2012 12:59 am

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

Postby cowsquad on Sun Jul 29, 2012 1:13 am

Awesome

Sent from my Galaxy Nexus using Tapatalk 2
cowsquad
Level 1
Level 1
 
Posts: 26
Joined: Tue May 01, 2012 12:57 am

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

Postby Alkaza on Sun Jul 29, 2012 5:03 pm

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
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 27, 2012 12:55 pm


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

Postby Alkaza on Mon Jul 30, 2012 5:35 am



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.
Alkaza
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 27, 2012 12:55 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 4 guests