Unity won't show.

Alain Lessard alales at vif.com
Tue Nov 1 13:54:15 UTC 2011


Hi,

I'm trying to test Unity in 12.04 (Development branch).

I followed these steps appearing in

http://askubuntu.com/questions/28470/how-do-i-build-unity-from-source/28472#28472

"	
Building in your home directory

Sometimes for testing reasons it's useful to build Unity and nux in your
home directory so you can try to see if something is fixed in trunk
without mucking around with packages and/or PPAs. I asked Jason Smith
(Unity Dev) how he builds Unity and he explained his method to me:

    Ensure you have all the build dependencies from this answer.

    First make a directory in your home called "staging", this is where
we'll build Unity. Create a little script that will prepare the build
environment, replace the home directory with your own:

    #!/bin/bash

    PREFIX=/home/jorge/staging

    export XDG_DATA_DIRS="$PREFIX/share:$XDG_DATA_DIRS"
    export LD_LIBRARY_PATH="$PREFIX/lib/"
    export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig/"

    I call this unity.sh and I run it every time I want to build Unity.
So basically chmod +x unity.sh and then ./unity.sh when you want to
build.

    Build nux:

    bzr branch lp:nux
    cd nux
    ./autogen.sh --prefix=/home/jorge/staging
    make -j4
    make install
    cd ..

    Build Unity:

    bzr branch lp:unity
    cd unity
    mkdir build
    cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=/home/jorge/staging/
-DCMAKE_BUILD_TYPE=Debug -DCOMPIZ_PLUGIN_INSTALL_TYPE=local
-DGSETTINGS_LOCALINSTALL=ON
    make -j4
    make install

NOTE: This builds nux and unity in your home directory, there's no need
for sudo here or anything like that.

    Logging out and back in will run this version of Unity/nux
automatically since it was built in ~/.compiz
    To revert to the normal packages just log out, delete ~/.compiz and
log back in. 
"

But, when I log back in, Unity won't show.

What am I missing ?


Thank you for your help.

Have a nice day.

Alain




More information about the Ubuntu-motu-mentors mailing list