HOWTO: Emerald on LMDE

Archived topics about LMDE 1 and LMDE 2
hiku

Screen Shot

Post by hiku »

Image
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Bordee

Re: HOWTO: Emerald on LMDE

Post by Bordee »

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!
terrorblader

Re: HOWTO: Emerald on LMDE

Post by terrorblader »

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

Re: HOWTO: Emerald on LMDE

Post by terrorblader »

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


Thanks ikey for the how-to and the .deb package!
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

Post by eco2geek »

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.)
kwevej

Re: HOWTO: Emerald on LMDE

Post by kwevej »

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
ugh

Re: HOWTO: Emerald on LMDE

Post by ugh »

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
Damian

Re: HOWTO: Emerald on LMDE

Post by Damian »

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
blowtorch

Re: HOWTO: Emerald on LMDE

Post by blowtorch »

Thanks for this Ikey it worked like a charm!

Why not put it in the Mint Debian reop?
ugh

Re: HOWTO: Emerald on LMDE

Post by ugh »

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?
blowtorch

Re: HOWTO: Emerald on LMDE

Post by blowtorch »

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!
rufong

Re: HOWTO: Emerald on LMDE

Post by rufong »

blowtorch wrote:Ikey we all appreciate your hard work!
ditto!

Image
thesecitylights

Re: HOWTO: Emerald on LMDE

Post by thesecitylights »

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!
rufong

Re: HOWTO: Emerald on LMDE

Post by rufong »

jump into the irc channel for mint,
someone may have time to take you through your past steps, possible solutions.
thesecitylights

Re: HOWTO: Emerald on LMDE

Post by thesecitylights »

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.
eightup1

Re: HOWTO: Emerald on LMDE

Post by eightup1 »

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
eightup1

Re: HOWTO: Emerald on LMDE

Post by eightup1 »

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
rufong

Re: HOWTO: Emerald on LMDE

Post by rufong »

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.
cpatrick08

Re: HOWTO: Emerald on LMDE

Post by cpatrick08 »

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
tec_wiz

Re: HOWTO: Emerald on LMDE

Post by tec_wiz »

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

Return to “LMDE Archive”