Today, I’ve upgrade my Ubuntu 10.10 Maverick to Ubuntu 11.04 Natty. Usually I installed new Ubuntu version with “fresh” method, but now because of a lack of disk space, i have upgrade directly from 10.10 -> 11.04 using “update-manager -d” :p
First impression, wow, fast and it have unity as default desktop interface but it seems odd for me :p. Annnddd…where is my EMERALD??!! it’s gone away!!
When I try "emerald --replace" it said -> segmentation fault -__-”
So here is my way to fix this issue:
- Remove emerald completely
- Install some deps packages
- Fetch emerald via GIT
- Compile and install it!
- Test and enjoy it π
sudo apt-get purge emerald
sudo apt-get install git autoconf libtool libwnck1.0-cil-dev libwnck-dev intltool libdecoration0-dev libemeraldengine0
git clone git://anongit.compiz.org/fusion/decorators/emerald
cd emerald
git checkout -b compiz++ origin/compiz++
./autogen.sh
./configure --prefix=/usr/local
make
sudo make install
Thx 4 reading, source (with a minor edit) : ubuntu forum, emerald site, and some googling
Iam said:
Thanks, I had this problem from 2 days ago! Your solution worked, but now I can’t move my windows. They are ‘glued’ to the desktop. The maximize, minimize and close work ok, but not move. Any idea? Thanks.
Iam said:
Sorry, solved! I only had to mark the option ‘move window’ in compiz setting.
abz89 said:
Hehehehe, nice π u’re welcome, i’m gladly to help u π
Andrea said:
Great! It works!
Just a little error: in ./configure βprefix=/usr/local, I had to change the symbol before prefix, from “β” to “-“. However good job! π
abz89 said:
thx u, i’m glad to hear that..yep, just little copy-paste issue from gnome-terminal, hehehe
Tobias Mann said:
I use the little glass theme for my computer before unity, I may go back to using it. How does it interact with Unity?
abz89 said:
simply works, emerald just decorating windows and replace gtk-window-decorator/metacity.. i thin’ there is no affect to unity (i don’t really like unity :p so i dont working on it)
thx π
Aram said:
thanks dude , really helped , but cant move windows π¦ any ideas ?
abz89 said:
see the comments above π
Bielat said:
Many thx.
abz89 said:
u’re welcome π
SteveHolt said:
I get this error when I run git:
fatal: destination path ’emerald’ already exists and is not an empty directory.
SteveHolt said:
Nevermind, I renamed an existing directory.
abz89 said:
take it easy π
Armando said:
Β‘gracias!
Ya tenia algunos dΓas buscando soluciΓ³n al problema, de hecho me tope con otras alternativas que no resultaron o que no entendΓa a falta de una mejor explicaciΓ³n, tu mΓ©todo es breve y al grano, por cierto tambiΓ©n gracias a Andrea por la correcciΓ³n.
Saludos desde MX
abz89 said:
Encantados de ayudarle. Me gustan sus comentarios utilizando espaΓ±ol: D
gracias
(gracias tambiΓ©n al traductor Google, porque yo soy de Indonesia, hehehe)
Richard Jones said:
Thanks Abz, well documented, easy to follow and bloody hell it works too! Now I got pretty Ubuntu!
abz89 said:
cheers π
thank you for the compliment, i glad that my article could help someone
thx
TheMidoriGiant said:
Ummm, I am completely new at Ubuntu, so ummm, how do install emerald after you have done all this, as I have no idea at all
abz89 said:
“..how do install emerald..” your mean using emerald?
just Alt+F2, run “emerald –replace” without apostrophe
thx u π
Saeed said:
Thanks mate, I just upgraded mine today and had the same issue, searched for solution and this article was first one and now I have emerald working.
abz89 said:
u’r welcome π
gladly it works
kkrico said:
Work’s Fine
Ty man
abz89 said:
u’r welcome π
Anonymous said:
proper command should be “./configure –prefix=/usr/local”
not “./configure βprefix=/usr/local”
abz89 said:
yupzzz, just see comments above..
typo, copied from gnome-terminal
too lazy to edit, hahaha
Tymo said:
is an error … windows do not expand horizontally? what do you do?
abz89 said:
you mean, the windows can’t expand when u press shortcut button or just using mouse??
wndy said:
So many thanks! It works! ^_^
abz89 said:
u’r welcome π
gladly i could help..
alex said:
amigo he seguido todos tus pasos, pero al llegar al comando cd esmerald me responde que no existe bash: cd: esmerald: no existe el fichero…
Siempre que he tratado de instalar (y ya me ha pasado con maverick) el comando cd nunca responde. CΓ³mo puedo solucionarlo? quΓ© es lo que me estΓ‘ faltando? Te comento que no pude purgar el esmerald y lo tuve que desinstalar desde el centro de software ubuntu ya que el terminal no lo encontrΓ³…
alex said:
perdΓ³n quise decir emerald
abz89 said:
ha cd al directorio correcto? o puede tratar de extraer el tarball manualmente:) hasta que pueda “cd esmeralda”
le da las gracias
Tymo said:
mouse can extend vertically and diagonally but can not expand horizontally. It can change the horizontally when I turn the emerald theme manager and changing the windows decoration and the only change now included in the windows. but as soon as I add new window, you can not change.
Robert MacEwan said:
Thank you. This fixed the problem of the windowing system dropping back to GTK after 15 seconds.
dy1ng said:
Thx a lot! It works great!
Anonimo said:
Thanks it works.
anoop mohan said:
working great, thank you mr.geek
Rj2605 said:
Thanks man!! now i have my emeral back *.*
shiva said:
i have been trying the above mentioned commands & when i came to this command i am told “no such file or directory”
./configure βprefix=/usr/local
what should i do now. plz help me.
abz89 said:
use
./configure –prefix=/usr/local
my typo π
j said:
thanks worked great
shan said:
thanx man really really cool was giving me grief and fixed it good
shan said:
will link on ubuntu forums
abz89 said:
For All : Thx u so much, u’re welcome π
jon said:
when typing in the console: $ git clone git://anongit.compiz.org/fusion/decorators/emerald
here is the output, having a fatal error whatsoever:
Clonin into emerald…
fatal: Unable to look up anongit.compiz.org (port 9418) (Name or service not known)
von vorgestern said:
Just one small thing.
$ ./configure βprefix=/usr/local
That dash “β” should be a minus “-“.
Liliz said:
no repon for this comment kids???
abz89 said:
It has to double “-” minus, wordpress always make it to be dash -___-” dunno fix them..
check comments above π
Matthew said:
Worked first try! Thanks so much for the excellent writeup!
abz89 said:
Thankkkk youuu π
i’m glad to hear that.. π
komodojr said:
WOW
thanks a lot !!
alien said:
Thanks for the write up… worked!
ticket said:
Instructions worked fine as written. Thanks!
On reboot, I found large white borders around the desktop and drop-down menus.
I fixed that by running emerald theme manager, going into ‘edit themes’, selecting the ‘Frame/Shadows’ tab and changing the radius slider. Just moving it and putting it back to its original setting is all I needed to do.
Note: after doing the step:
./autogen.sh
I got these messages (& ignored them!):
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
ticket said:
I should add that initially I couldn’t resize a window by grabbing the left/right borders. Top and bottom edges were fine. Again the fix was easy – go into emerald theme mgr and adjust the left & right border sizes, under the Frame/Shadows tab.
ticket said:
Yes, despite using emerald theme manager to ‘cure’ the left/right window sizing problem, newly opened windows still have the same problem. Maybe a re-login might help at this point.
ticket said:
No, re-login /reboot doesn’t help, left/right resize problem is still there, even after saving the adjusted theme. This seems to be the only wrinkle.
hax0l said:
./configure –prefix =/usr/local returns me:
configure: error: expected an absolute directory name for –prefix: =/usr/local
wtf do?
thx
mlufr11 said:
This work for Linux Mint 11. π
Tyler Creighton said:
This is what I get after the “./configure –prefix=/usr/local
checking for EMERALD… no
configure: error: Package requirements ( xrender >= 0.8.4 gtk+-2.0 >= 2.8.0 libwnck-1.0 libdecoration pangocairo) were not met:
No package ‘gtk+-2.0’ found
No package ‘libwnck-1.0’ found
No package ‘pangocairo’ found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables EMERALD_CFLAGS
and EMERALD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Really new to Linux, so I appreciate any help… thanks!
abz89 said:
check some deps π
Aaron White said:
THANK YOU SO MUCH!!
Aaron White said:
This also works for Linux Mint 11 π
thanks again!
vhj said:
how?
ahmad said:
dicoba ya mas
mudah mudahan berhasil :p
abz89 said:
Insya Allah berhasil π
Oleg said:
Π‘ΠΏΠ°ΡΠΈΠ±ΠΎ!:))
abz89 said:
Π΄ΠΎΠ±ΡΠΎ ΠΏΠΎΠΆΠ°Π»ΠΎΠ²Π°ΡΡ π
(powered by google translate :p)
getafu said:
After lastest step i don’t know how to run it, i don’t find it at control panel or toolbar. I’m n00b at linux sys π¦
abz89 said:
“latest step..how to run it..”
do you mean run an emerald??
just typing
emerald --replace
thx 4 visiting π
zero_note said:
Hi,
thank you very much for this fix.
But I have a small problem in the 3rd step (“Fetch emerald via GIT”), error is this:
anongit.compiz.org[0: 195.114.19.35]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
can you help me?
abz89 said:
thx u π
i think there is something wrong with your connection
for alternative way, you might fetch tarball from here
hope it works 4 u π
abz89 said:
thx u π
i think there is something wrong with your connection
for alternative way, you might fetch tarball from here
hope it works 4 u π
Kira said:
Thank you so much man, it works.
Greetings from Colombia.
abz89 said:
happy it could help π
greetings from Indonesia, π
mark said:
wow thx, I am a relative noob and got it with only a couple tries, awesome.
M
abz89 said:
take it easy, i’m just a noob too π
i’m glad i could help..
π
Superkikim said:
Gorgeous. Thank you so much !!! this issue was killing me…
For your dash issue, you’re using wordpress. Just get the “WP-Codebox” plugin, and then, encapsulate code between “pre” balises. like
or
I hope your comment form will show the code π
Anyway, you can see an example on my website. WP-codebox has option to make scripts downloadable, colapsed or not, and you can specify the language used for coloring. really a nice plugin for wordpress.
Johanes Lee said:
To start emerald automatically …
Go to System Settings
–> CompizConfig Settings Manager
–> Windows Decoration
–> Command –> replace entry with “emerald –replace”
Johanes Lee said:
should be double minus before “replace” not dash
BTW; it works, thanks a lot.
gadgetboi said:
thanx for the tips dude! hopefully my problem will be solved .. do you have any tips regarding Gnomenu on ubuntu 11.04/Linux Mint 11? I’ve tried to install it via source code but It didn’t suit my expectations
abz89 said:
you’re welcome..
i’ve gnomenu installed on my ubuntu 11.04, it runs fine..
just download & install the tarball, and don’t forget about the dependencies software before (just read README file)
π
thx 4 visiting my site
rangga said:
dude really? I’ve installed too but I got these problems http://gadgetboi.wordpress.com/2011/09/24/gnomenu-bukan-untuk-katya/
I’ve install all the necessary deps but still I got this “flickering” problems only on the GnoMenu …
rangga said:
After done all the step i got this:
Making install in libengine
make[1]: Entering directory `/home/rangga/emerald/libengine’
make[2]: Entering directory `/home/rangga/emerald/libengine’
test -z “/usr/local/lib” || /bin/mkdir -p “/usr/local/lib”
/bin/bash ../libtool –mode=install /usr/bin/install -c libemeraldengine.la ‘/usr/local/lib’
libtool: install: /usr/bin/install -c .libs/libemeraldengine.so.0.0.0 /usr/local/lib/libemeraldengine.so.0.0.0
libtool: install: (cd /usr/local/lib & })
libtool: install: (cd /usr/local/lib & })
libtool: install: /usr/bin/install -c .libs/libemeraldengine.lai /usr/local/lib/libemeraldengine.la
libtool: install: /usr/bin/install -c .libs/libemeraldengine.a /usr/local/lib/libemeraldengine.a
libtool: install: chmod 644 /usr/local/lib/libemeraldengine.a
libtool: install: ranlib /usr/local/lib/libemeraldengine.a
libtool: finish: PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin” ldconfig -n /usr/local/lib
———————————————————————-
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR’
flag during linking and do at least one of the following:
– add LIBDIR to the `LD_LIBRARY_PATH’ environment variable
during execution
– add LIBDIR to the `LD_RUN_PATH’ environment variable
during linking
– use the `-Wl,-rpath -Wl,LIBDIR’ linker flag
– have your system administrator add LIBDIR to `/etc/ld.so.conf’
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
———————————————————————-
test -z “/usr/local/lib/pkgconfig” || /bin/mkdir -p “/usr/local/lib/pkgconfig”
/usr/bin/install -c -m 644 emeraldengine.pc ‘/usr/local/lib/pkgconfig’
make[2]: Leaving directory `/home/rangga/emerald/libengine’
make[1]: Leaving directory `/home/rangga/emerald/libengine’
Making install in src
make[1]: Entering directory `/home/rangga/emerald/src’
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/libwnck-1.0 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I../include -DLOCALEDIR=”\”/usr/local/share/locale”\” -DENGINE_DIR=\”/usr/local/lib/emerald/engines\” -g -O2 -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/libwnck-1.0 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c: In function βdecor_update_window_propertyβ:
main.c:508:8: warning: passing argument 5 of βdecor_quads_to_propertyβ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:176:1: note: expected βintβ but argument is of type βstruct decor_extents_t *β
main.c:508:8: warning: passing argument 6 of βdecor_quads_to_propertyβ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:176:1: note: expected βintβ but argument is of type βstruct decor_extents_t *β
main.c:508:8: error: too many arguments to function βdecor_quads_to_propertyβ
/usr/include/compiz/decoration.h:176:1: note: declared here
main.c: In function βdecor_update_switcher_propertyβ:
main.c:1940:8: warning: passing argument 5 of βdecor_quads_to_propertyβ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:176:1: note: expected βintβ but argument is of type βstruct decor_extents_t *β
main.c:1940:8: warning: passing argument 6 of βdecor_quads_to_propertyβ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:176:1: note: expected βintβ but argument is of type βstruct decor_extents_t *β
main.c:1940:8: error: too many arguments to function βdecor_quads_to_propertyβ
/usr/include/compiz/decoration.h:176:1: note: declared here
main.c: In function βupdate_default_decorationsβ:
main.c:2368:5: warning: passing argument 5 of βdecor_quads_to_propertyβ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:176:1: note: expected βintβ but argument is of type βstruct decor_extents_t *β
main.c:2368:5: warning: passing argument 6 of βdecor_quads_to_propertyβ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:176:1: note: expected βintβ but argument is of type βstruct decor_extents_t *β
main.c:2368:5: error: too many arguments to function βdecor_quads_to_propertyβ
/usr/include/compiz/decoration.h:176:1: note: declared here
main.c:2427:5: warning: passing argument 5 of βdecor_quads_to_propertyβ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:176:1: note: expected βintβ but argument is of type βstruct decor_extents_t *β
main.c:2427:5: warning: passing argument 6 of βdecor_quads_to_propertyβ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:176:1: note: expected βintβ but argument is of type βstruct decor_extents_t *β
main.c:2427:5: error: too many arguments to function βdecor_quads_to_propertyβ
/usr/include/compiz/decoration.h:176:1: note: declared here
main.c:2436:5: warning: passing argument 5 of βdecor_quads_to_propertyβ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:176:1: note: expected βintβ but argument is of type βstruct decor_extents_t *β
main.c:2436:5: warning: passing argument 6 of βdecor_quads_to_propertyβ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:176:1: note: expected βintβ but argument is of type βstruct decor_extents_t *β
main.c:2436:5: error: too many arguments to function βdecor_quads_to_propertyβ
/usr/include/compiz/decoration.h:176:1: note: declared here
main.c: In function βupdate_window_decoration_sizeβ:
main.c:3044:11: warning: assignment makes pointer from integer without a cast
main.c: In function βupdate_switcher_windowβ:
main.c:3242:9: warning: assignment makes pointer from integer without a cast
main.c:3291:11: warning: assignment makes pointer from integer without a cast
main.c: In function βmainβ:
main.c:5515:47: error: βDECOR_INPUT_FRAME_ATOM_NAMEβ undeclared (first use in this function)
main.c:5515:47: note: each undeclared identifier is reported only once for each function it appears in
main.c:5621:12: error: βWINDOW_DECORATION_TYPE_PIXMAPβ undeclared (first use in this function)
main.c:5621:12: error: too many arguments to function βdecor_set_dm_check_hintβ
/usr/include/compiz/decoration.h:379:1: note: declared here
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/rangga/emerald/src’
make: *** [install-recursive] Error 1
and after i do Alt+F2 and emerald –replace
I got
Could not open location ‘file:///home/rangga/emerald%20–replace’
abz89 said:
could you just using pastebin.com or somewhat…
it makes me dont want see this :p
hehehe..
Pingback: Emerald Theme Problem on Lnux Mint 11 finally solved! « da Gadgetboi's Blog
Javier S. Rivas said:
Hi! when I tip “make” it says:
…..
main.c:3252:9: warning: assignment makes pointer from integer without a cast
main.c:3301:11: warning: assignment makes pointer from integer without a cast
make[2]: *** [main.o] Error 1
make[2]: se sale del directorio Β«/home/javier/emerald/srcΒ»
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio Β«/home/javier/emeraldΒ»
make: *** [all] Error 2
i dont know how to do. I’ve installed g++, build-essential…etc
abz89 said:
Have you install all emerald dep packages correctly?
try
$ sudo apt-get build-dep emerald
after that recompile the tarball, don’t forget to clean before
$ make clean
yhx π
jihad bob said:
ill confirm this broken… @
sudo apt-get install libemeraldengine0
tisk tisk tisk leaving depends in that you KNOW are going to get ejected from the repo….
jihad bob said:
http://ubuntuforums.org/showthread.php?p=11401326 < my repair to this was to find emerald 0.9.4 π
Oliver Kaiser said:
I always get this error @make
http://pastebin.com/7CVr8xRk
Can anyone help me with this
abz89 said:
Have you installed dependencies correctly dude? π
Krash DaBeast said:
when its time to install it says no rule to make target install… how do i fix this? please and thank you
abz89 said:
have you did :
./autogen.sh
./configure –prefix=/usr/local
before? π
landry (@opensource_dev) said:
Thanks a lot ! Your solution works great on Xubuntu 12.04 ! I will never understand why those morons left the BEST desktop manager, compiz + emerald, for the ugly gnome3/gnome shell …
abz89 said:
You’re welcome sir..
yupp, i agree with youu!
compiz+gnome2+emerald are so much much better than gnome3/unity π
dhie deaf said:
Thanks bro… i use linux mint xfce 13 , it’s working…. thanks alot π
abz89 said:
Glad to hear that π
You’re Welcome π
vhj said:
I got this error when i try to MAKE
http://pastebin.com/i8J2V0RL
abz89 said:
Did you miss some deps packages? π