HOWTO: Emerald on LMDE

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Screen Shot

Postby hiku on Mon Sep 13, 2010 6:52 pm

Image
hiku
Level 1
Level 1
 
Posts: 3
Joined: Mon Sep 13, 2010 4:45 pm

Linux Mint is funded by ads and donations.
 

Re: HOWTO: Emerald on LMDE

Postby Bordee on Mon Sep 13, 2010 10:57 pm

Thanks Ikey. This was a great guide. It worked for me with only 1 tiny adjustment. When I typed
wget http://releases.compiz-fusion.org/compo ... .4.tar.bz2
tar xjf emerald-0.8.4.tar.bz2
I got the message "permission denied". Luckily, by just entering the URL it downloaded immediately and I was then able to tar it.

So I'm now looking at my Emerald-framed windows!
Bordee
Level 1
Level 1
 
Posts: 29
Joined: Sat Sep 11, 2010 3:07 pm

Re: HOWTO: Emerald on LMDE

Postby terrorblader on Tue Sep 14, 2010 9:28 am

Hy!
Thanks for the step-by-step guide ,it installed fine , but I still encounter a problem.
This is what I get :

Code: Select all
terror@Aspire5720Z ~/emerald-0.8.4 $ emerald-theme-manager
Fontconfig error: "~/.fonts.conf", line 1: XML declaration not well-formed
emerald-theme-manager: symbol lookup error: /usr/local/lib/libemeraldengine.so.0: undefined symbol: GTK_OBJECT_TYPE_NAME


Emerald starts fine , I use fusion-icon , but I can't switch themes.Any ideas ?

Later edit : I started over and it worked now , thanks a lot ikey! Will post a screenshot later today!
Last edited by terrorblader on Tue Sep 14, 2010 9:31 am, edited 1 time in total.
terrorblader
Level 3
Level 3
 
Posts: 115
Joined: Fri Oct 24, 2008 4:08 pm
Location: Romania

Re: HOWTO: Emerald on LMDE

Postby terrorblader on Wed Sep 15, 2010 1:06 am

I said I'll post a screenshot , so here it is :
Image


Thanks ikey for the how-to and the .deb package!
terrorblader
Level 3
Level 3
 
Posts: 115
Joined: Fri Oct 24, 2008 4:08 pm
Location: Romania

Re: HOWTO: Emerald on LMDE

Postby eco2geek on Fri Sep 17, 2010 4:21 am

Thank you for the *.deb - fun stuff. I hope you not only find a place to host it, but that you are able to maintain it. Screenshot as requested:

Image

(People do seem to like dark emerald themes.)
User avatar
eco2geek
Level 1
Level 1
 
Posts: 24
Joined: Mon Sep 28, 2009 3:22 pm
Location: Portland, Oregon

Re: HOWTO: Emerald on LMDE

Postby kwevej on Mon Sep 20, 2010 7:28 am

thanks for the binary
Just a note:
to enable emerald permanently go to:
compiz settintgs > effects > window decoration > put "/usr/bin/emerald" into the command inputbox

btw: some fine themes there: http://www.webupd8.org/2009/06/25-great ... hemes.html
User avatar
kwevej
Level 5
Level 5
 
Posts: 624
Joined: Mon Mar 22, 2010 3:35 pm
Location: Delft / Prague [@ LMDE]

Re: HOWTO: Emerald on LMDE

Postby ugh on Fri Sep 24, 2010 9:36 pm

Awesome effort for providing this .deb. :) I did want to mention though that there is actualy a Debianized source out there thanks to bugsbunny of forums.debian.net. Builds fine on 32 & 64 bit.

You should be able to copy/paste all of this.
$ = user
# = root (or sudo if that's your preference)

Build Emerald:

Code: Select all
# apt-get install libgtk2.0-dev libxrender-dev libwnck-dev libdecoration0-dev libcairo2-dev libpango1.0-dev intltool cdbs unp
$ wget http://dl.dropbox.com/u/852410/emerald_0.8.4.tar.gz
$ unp emerald_0.8.4.tar.gz;cd emerald-0.8.4
$ dpkg-buildpackage -rfakeroot  -us -uc -d
# dpkg -i ../*.deb


Code: Select all
dpkg -l|grep emerald
ii  emerald                                   0.8.4-1~bb                              Decorator for compiz-fusion
ii  libemeraldengine-dev                      0.8.4-1~bb                              Development files for emerald engines
ii  libemeraldengine0                         0.8.4-1~bb                              Decoration engines for compiz-fusion


Install themes if you like:

Code: Select all
$ cd
$ mkdir .emerald;cd emerald
$ wget http://dl.dropbox.com/u/852410/themes.tar.gz;unp themes.tar.gz
OS: Linux Mint / Debian Sid
Kernel: 3.2.0-2-amd64
Desktop: Cinnamon
ugh
Level 1
Level 1
 
Posts: 31
Joined: Wed Sep 22, 2010 4:20 pm

Re: HOWTO: Emerald on LMDE

Postby Damian on Mon Sep 27, 2010 12:24 pm

I got Emerald running on LMDE Sid branch. I was unable to get it to run by itself so I had to create a bash file to start it after login.

Edit: Not sure if this will be helpful but I'm putting the steps I took after installing it for reference to anyone having the same problem as I did.
Kept getting the "WARNING: Application calling GLX 1.3 function "glXDestroyPixmap" when GLX 1.3 is not supported! This is an application bug!" Message before when just doing "compiz --replace &" in the terminal. Lol! I definately still have alot to learn! :)

Create a blank file and name it whatever (mine was compiz.sh). I put mine in my Document folder where I usually keep track of files but that's not important. As Ikey suggested in the forums I put this in the script.
Code: Select all
#!/bin/bash
/usr/bin/compiz --replace ccp &
/usr/bin/emerald --replace &


Use the terminal where the script is located : chmod +x compiz.sh
This makes the file executable.

Now all that's left is to put it in the start-up program list so it runs when you start LMDE.

Menu --> Preferences --> Start-Up Applications

Click Add and type in the name of your script and discription so you remember what it's there for.
In the command box use the browse button to locate where you saved your script. My command script
ended up being : bash /home/damian/Documents/compiz.sh

With luck this will allow Emerald to run on LMDE like it does on mine if it doesn't run by default.

Image

Uploaded with ImageShack.us
Damian
Level 1
Level 1
 
Posts: 9
Joined: Mon Sep 27, 2010 7:38 am

Re: HOWTO: Emerald on LMDE

Postby blowtorch on Wed Sep 29, 2010 1:19 pm

Thanks for this Ikey it worked like a charm!

Why not put it in the Mint Debian reop?
User avatar
blowtorch
Level 3
Level 3
 
Posts: 101
Joined: Sun Sep 05, 2010 10:03 pm

Re: HOWTO: Emerald on LMDE

Postby ugh on Thu Sep 30, 2010 3:16 pm

ikey wrote:That is a Debianized package built using dh_make
My dpkg-buildpackage suffers the "no orig.tar" bug, so I can't
provide the source package, apart from that its identical.

Well actually no, it isn't the same. If you build the source linked you get these:

Code: Select all
ii  emerald                                   0.8.4-1                                 Window Decorator shipped with Compiz Fusion
ii  libemeraldengine-dev                      0.8.4-1                                 Decoration Engines for Compiz Fusion - development files
ii  libemeraldengine0                         0.8.4-1                                 Decoration Engines for Compiz Fusion


Whereas it seems that you are providing a single .deb. Not sure what would happen if emerald comes into a proper Debian repo and you try to upgrade the single .deb provided.
Also there is now a repo available. Not tried it on testing yet:

Code: Select all
deb http://frickelplatz.de/debian/ sid main contrib non-free
#apt-get install frickelplatz-keyrings


Since you have a repo, perhaps you could build the source linked for testing?
OS: Linux Mint / Debian Sid
Kernel: 3.2.0-2-amd64
Desktop: Cinnamon
ugh
Level 1
Level 1
 
Posts: 31
Joined: Wed Sep 22, 2010 4:20 pm

Re: HOWTO: Emerald on LMDE

Postby blowtorch on Thu Sep 30, 2010 9:47 pm

ikey wrote:I actually set up the repo with the intent of building the package you've linked
there ugh, a static .deb would only do "for the time being"
The repo is.. 2 days old? if that. Thanks for the links, I'll try to get them built
later. Good point about it being in a main repo, which, obviously, is why
it isn't :)

I'll try when I've got time.. got meetings all over the place atm, and its
02:36AM! :? Probably be done tomorrow


Ikey we all appreciate your hard work!

Cheers mate!
User avatar
blowtorch
Level 3
Level 3
 
Posts: 101
Joined: Sun Sep 05, 2010 10:03 pm

Re: HOWTO: Emerald on LMDE

Postby rufong on Sat Oct 02, 2010 4:31 pm

blowtorch wrote:Ikey we all appreciate your hard work!

ditto!

Image
User avatar
rufong
Level 2
Level 2
 
Posts: 60
Joined: Fri Dec 11, 2009 9:20 am

Re: HOWTO: Emerald on LMDE

Postby thesecitylights on Tue Nov 02, 2010 1:54 pm

Hey everyone, I have just installed LMDE and trying to get Emerald to work.

I've done everything here and have it installed. (on an acer aspire one)

but doing the "emerald --replace" malarky to get the theme to be set nothing seems to happen.

Anyone able to help? To clarify. Emerald is installed ok, and the themes show up in the emerald window they just dont set themselves!

HELP!
thesecitylights
Level 1
Level 1
 
Posts: 14
Joined: Tue Apr 20, 2010 9:21 am

Re: HOWTO: Emerald on LMDE

Postby rufong on Wed Nov 03, 2010 1:36 am

jump into the irc channel for mint,
someone may have time to take you through your past steps, possible solutions.
User avatar
rufong
Level 2
Level 2
 
Posts: 60
Joined: Fri Dec 11, 2009 9:20 am

Re: HOWTO: Emerald on LMDE

Postby thesecitylights on Wed Nov 03, 2010 6:30 am

Thanks, but I managed to sort it by enabling compiz wit hthe instructions found here:

http://musings.omnsproject.org/?p=680

So, all working!

Although fiddling around with LMDE is showing lots of little bugs and such but it solves a few problems that I was having with regular mint 9 so im gonna stick with it and hope that these problems get fixed.
thesecitylights
Level 1
Level 1
 
Posts: 14
Joined: Tue Apr 20, 2010 9:21 am

Re: HOWTO: Emerald on LMDE

Postby eightup1 on Mon Nov 22, 2010 3:13 am

Thanks for the how-to ... i havent been able to get it working yet i have Lmde installed as a guest OS and i get the error
Code: Select all
 compiz --replace
Xlib:  extension "GLX" missing on display ":0.0".
compiz (core) - Fatal: Root visual is not a GL visual
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0

Launching fallback window manager


i've tried installing the nvidia GLX but still no joy , can't get compiz to run .... any ideas ?

UPDATE: well awesome i've managed to completely kill my video server , now Lmde wont even boot and all i get is a black screen with a flashing curser now i have to figure out how to get it back
User avatar
eightup1
Level 2
Level 2
 
Posts: 57
Joined: Sat Jun 05, 2010 3:35 pm

Re: HOWTO: Emerald on LMDE

Postby eightup1 on Mon Nov 22, 2010 3:47 pm

thesecitylights wrote:Thanks, but I managed to sort it by enabling compiz wit hthe instructions found here:

http://musings.omnsproject.org/?p=680

So, all working!

Although fiddling around with LMDE is showing lots of little bugs and such but it solves a few problems that I was having with regular mint 9 so im gonna stick with it and hope that these problems get fixed.



good for you ... i managed to completely wipe out my video with the instructions i found there .... i dont even know how to get into it now to revert my settings all i get is a black screen with a blinking curser
User avatar
eightup1
Level 2
Level 2
 
Posts: 57
Joined: Sat Jun 05, 2010 3:35 pm

Re: HOWTO: Emerald on LMDE

Postby rufong on Thu Nov 25, 2010 8:13 pm

eightup1 wrote:.. i managed to completely wipe out my video with the instructions i found there .... i dont even know how to get into it now to revert my settings all i get is a black screen with a blinking curser


are you able to choose "recovery mode" from the grub menu?
from there you could follow the installation instructions on http://smxi.org/site/install.htm
in order to install smxi which gives you the option when using it to setup a xorg.conf file and
checks to make sure you have the correct video drivers installed, removing incompatible ones.
User avatar
rufong
Level 2
Level 2
 
Posts: 60
Joined: Fri Dec 11, 2009 9:20 am

Re: HOWTO: Emerald on LMDE

Postby cpatrick08 on Sat Dec 11, 2010 1:14 pm

ikey wrote:Here's something for all you compiz lovers out there.
Compiz is darned pretty for the most part, but its missing one vital
component in LMDE... Emerald. So let's try hitting that nail on the
head right now and get ourselves some emerald action.

Disclaimer: I fully expect to see screenshots in response. kthxbai.

The easy way
Realised that patching and building emerald from source isn't the most
user-friendly thing in the world.. so I've built a Debian package. As it goes
I have nowhere to host it (i.e. no repo ) so I've stuck it on ompldr for the
moment until someone hosts it for me (hint hint)

Update
I just stuck a really simple repo on my website, it has nothing but emerald :P
Put this in /etc/apt/sources.list
Code: Select all
deb http://packages.ikey-doherty.com/ debian main

Then install emerald:
Code: Select all
wget -O - http://packages.ikey-doherty.com/key.asc | sudo apt-key add - && sudo apt-get update && sudo apt-get install emerald


I'll see if I can start maintaining more packages that way.. if
so I'll make it into a more traditional debian repo.

Or do it like this:
Code: Select all
wget http://ompldr.org/vNWpmMA/emerald_0.8.4-1_i386.deb
sudo dpkg -i emerald_0.8.4-1_i386.deb


Doing it the hard way
First things first, let's make sure all the required toolss are installed.
Thankfully you only have a few to install here, so here goes. They'll pull
any required dependencies in automatically.
Code: Select all
sudo apt-get install libgtk2.0-dev libxrender-dev libwnck-dev libdecoration0-dev libcairo2-dev libpango1.0-dev intltool


Now let's check exactly what compiz version we're using:
Code: Select all
ikey@mint-desktop ~ $ dpkg-query -f='${Version}\n' -W compiz-core
0.8.4-4
ikey@mint-desktop ~ $

You can ignore the trailing "-4", now, using that version we're going to
download and extract the sources for the 0.8.4 compiz distribution of
emerald.
Code: Select all
wget http://releases.compiz-fusion.org/components/emerald/emerald-0.8.4.tar.bz2
tar xjf emerald-0.8.4.tar.bz2
cd emerald-0.8.4/


OMG BUG
Unfortunately as it stands you will not be able to build emerald. Never fear though
for the great guys at Gentoo made some patches, so we'll need to apply those first:
Code: Select all
wget http://bugs.gentoo.org/attachment.cgi?id=225779 -O - > gtk_widget_get_visible.patch
wget http://bugs.gentoo.org/attachment.cgi?id=222951 -O - > gtk_object_type_name.patch
patch -p1 < gtk_object_type_name.patch
patch -p1 < gtk_widget_get_visible.patch


Let's build it!
Now we need to configure the source tree, by default it will try to install to /usr/local,
but we want it in /usr/
Code: Select all
./configure --prefix=/usr/


Now its time to actually build the application
Code: Select all
make

Give that a while, wait till you get a prompt again. Assuming there were no
errors we can now install the binaries:
Code: Select all
sudo make install


That's it! Now its time to configure Compiz to use Emerald. Go to "ccsm", aka
Compiz Config Settings Manager. You need to activate "Decoration" from within
ccsm. All that's left to do now is choose a theme.
Code: Select all
emerald-theme-manager

Lot's of emerald themes exist on http://www.gnome-look.org, have a good
look around. Unfortunately my computer as it is is way too weak to even run compiz,
I just thought I'd teach the community how to beautify their desktops and enjoy the
LMDE release even more than they already do.

Tips
If Compiz isn't started, force start it:
Code: Select all
compiz --replace

If Emerald doesn't kick in, force it:
Code: Select all
emerald --replace


Thats the order they need to be started in. Well I hope this guide was useful to someone :D

Kind Regards,
Ikey Doherty

when i added deb http://packages.ikey-doherty.com/ debian main to my /etc/apt/sources.list i got the following error message after i refreshed my update manager W: GPG error: http://packages.ikey-doherty.com debian Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C216B00346D35A49
can somebody help me
cpatrick08
Level 3
Level 3
 
Posts: 162
Joined: Sat May 22, 2010 2:17 pm
Location: Huntsville, AL

Re: HOWTO: Emerald on LMDE

Postby tec_wiz on Sat Dec 11, 2010 5:04 pm

wget -O - http://packages.ikey-doherty.com/key.asc | sudo apt-key add - && sudo apt-get update && sudo apt-get install emerald
tec_wiz
Level 1
Level 1
 
Posts: 38
Joined: Tue Oct 12, 2010 8:43 am

Linux Mint is funded by ads and donations.
 
Next

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 8 guests