You are not logged in.

#76 2011-10-23 13:32:07

PranavG
Member
From: Nagpur (India)
Registered: 2011-09-25
Posts: 50

Re: Progress on Unity under Arch Linux!

Hey for this work can please someone make a aur package for unity and unity-2d. It will be better for normal users. And keep up the good work.

Offline

#77 2011-10-23 14:39:47

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: Progress on Unity under Arch Linux!

kuglee wrote:

chenxiaolong:
I installed your packages, and now unity-3d is woking, although I have a minor issue: occasionally when I change window the indicators quit or crash, I'm not sure, then they reload.

Hmm...I'm not sure why the indicators crash. I'll try to find out more about that.

Also, could you post what your display manager is (kdm, gdm, lightdm, slim, etc.)? Was compiz already set up correctly (did you have to enable any plugins)? I'm trying to sort out an issue where compiz fails to run after logging in. Thanks in advance!

PranavG wrote:

Hey for this work can please someone make a aur package for unity and unity-2d. It will be better for normal users. And keep up the good work.

Unfortunately, it's not as simple as installing the unity and unity-2d packages. If you look in my git repository (http://github.com/chenxiaolong/Unity-for-Arch), there are around 80 packages to compile for the complete Unity shell to work. However, thanks to L42y, I will be able to host a package repository for all the packages (i686 and x86_64).

Last edited by chenxiaolong (2011-10-23 14:44:57)

Offline

#78 2011-10-23 17:51:28

kuglee
Member
Registered: 2011-09-02
Posts: 61

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:

Also, could you post what your display manager is (kdm, gdm, lightdm, slim, etc.)? Was compiz already set up correctly (did you have to enable any plugins)? I'm trying to sort out an issue where compiz fails to run after logging in. Thanks in advance!

I'm using gdm. As thn81 wrote in his Readme these plugins have to be enabled : Ubuntu Unity Plugin, GTK Loader, Unity MT Grab Handles. They weren't automatically enabled upon install.

Thank you for making these packages!

Last edited by kuglee (2011-10-23 17:53:24)

Offline

#79 2011-10-23 18:41:06

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: Progress on Unity under Arch Linux!

kuglee wrote:
chenxiaolong wrote:

Also, could you post what your display manager is (kdm, gdm, lightdm, slim, etc.)? Was compiz already set up correctly (did you have to enable any plugins)? I'm trying to sort out an issue where compiz fails to run after logging in. Thanks in advance!

I'm using gdm. As thn81 wrote in his Readme these plugins have to be enabled : Ubuntu Unity Plugin, GTK Loader, Unity MT Grab Handles. They weren't automatically enabled upon install.

Thank you for making these packages!

I'm glad the packages worked for you!

Hmm...those should be automatically enabled by the compiz-core-ubuntu package... I'll have to look into that. The Ubuntu package a line that enables the following package by default:

core bailer detection composite opengl decor mousepoll vpswitch regex animation snap expo move compiztoolbox place grid imgpng gnomecompat wall ezoom workarounds staticswitcher resize fade scale session

I'll try to find out why my package doesn't do that.

Offline

#80 2011-10-23 19:01:57

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:

Hmm...those should be automatically enabled by the compiz-core-ubuntu package...
...
I'll try to find out why my package doesn't do that.

That's because the unity plugins are part of the unity package. They cannot be enabled during compiz compiletime. You should extend the unity.install script to automatically enable: gtkloader, unitymtgrabhandles, unityshell. Especially the gtkloader plugin must be enabled, or compiz will crash on startup. I also had to enable the wallpaper plugin and select a wallpaper; disabling it crashed compiz as well.

Offline

#81 2011-10-23 19:17:09

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: Progress on Unity under Arch Linux!

thn81 wrote:
chenxiaolong wrote:

Hmm...those should be automatically enabled by the compiz-core-ubuntu package...
...
I'll try to find out why my package doesn't do that.

That's because the unity plugins are part of the unity package. They cannot be enabled during compiz compiletime. You should extend the unity.install script to automatically enable: gtkloader, unitymtgrabhandles, unityshell. Especially the gtkloader plugin must be enabled, or compiz will crash on startup. I also had to enable the wallpaper plugin and select a wallpaper; disabling it crashed compiz as well.

I'll have to see how Ubuntu packages Unity then. I don't remember the DEB's having a postinst script.

Offline

#82 2011-10-23 19:22:39

giowck
Member
Registered: 2011-07-13
Posts: 77

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:

I'll have to see how Ubuntu packages Unity then. I don't remember the DEB's having a postinst script.

yes they have a postinst script

Offline

#83 2011-10-24 00:16:27

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: Progress on Unity under Arch Linux!

giowck wrote:
chenxiaolong wrote:

I'll have to see how Ubuntu packages Unity then. I don't remember the DEB's having a postinst script.

yes they have a postinst script

Actually, the Unity package doesn't have a postinst script (if that's what you meant).

┌─(chenxiaolong@cxl-4270cto)─────────────────(Sun, 23 Oct 2011 16:07:01 -0400)─┐
├──────────(/home/chenxiaolong/git/Unity-for-Arch/compiz-core-ubuntu)──────────┘
└─⇒  $ cd !$
cd /tmp/unity
┌─(chenxiaolong@cxl-4270cto)─────────────────(Sun, 23 Oct 2011 16:07:01 -0400)─┐
├─────────────────────────────────(/tmp/unity)─────────────────────────────────┘
└─⇒  $ wget 'http://archive.ubuntu.com/ubuntu/pool/main/u/unity/unity_4.22.0-0ubuntu3.debian.tar.gz'
--2011-10-23 16:07:19--  http://archive.ubuntu.com/ubuntu/pool/main/u/unity/unity_4.22.0-0ubuntu3.debian.tar.gz
Resolving archive.ubuntu.com... 91.189.92.181, 91.189.92.180, 91.189.92.179, ...
Connecting to archive.ubuntu.com|91.189.92.181|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45821 (45K) [application/x-gzip]
Saving to: `unity_4.22.0-0ubuntu3.debian.tar.gz'

100%[======================================>] 45,821      73.4K/s   in 0.6s    

2011-10-23 16:07:20 (73.4 KB/s) - `unity_4.22.0-0ubuntu3.debian.tar.gz' saved [45821/45821]

┌─(chenxiaolong@cxl-4270cto)─────────────────(Sun, 23 Oct 2011 16:07:01 -0400)─┐
├─────────────────────────────────(/tmp/unity)─────────────────────────────────┘
└─⇒  $ tar zxvf unity_4.22.0-0ubuntu3.debian.tar.gz 
debian/
debian/unity-services.install
debian/unity.preinst
debian/unity.install
debian/libunity-core-4.0-dev.install
debian/patches/
debian/patches/debian-changes-4.22.0-0ubuntu3
debian/patches/series
debian/watch
debian/unity-common.install
debian/rules
debian/source_unity.py
debian/control
debian/changelog
debian/netbook-launcher.preinst
debian/copyright
debian/compat
debian/libunity-core-4.0-4.install
debian/source/
debian/source/format
┌─(chenxiaolong@cxl-4270cto)─────────────────(Sun, 23 Oct 2011 16:07:01 -0400)─┐
├─────────────────────────────────(/tmp/unity)─────────────────────────────────┘
└─⇒  $ find debian/ -name *postinst*
┌─(chenxiaolong@cxl-4270cto)─────────────────(Sun, 23 Oct 2011 16:07:01 -0400)─┐
├─────────────────────────────────(/tmp/unity)─────────────────────────────────┘
└─⇒  $ 

However, I did find out that I accidentally left out a file in my compiz-core-ubuntu package. The file lists the default settings used for compiz, which includes the list of default plugins. I'll fix my package tomorrow.

Last edited by chenxiaolong (2011-10-24 00:17:27)

Offline

#84 2011-10-26 04:15:43

Sphaerophoria
Member
Registered: 2011-07-14
Posts: 41

Re: Progress on Unity under Arch Linux!

gtk2-ubuntu wasn't building before I put a autoreconf -i in before the ./configure. Was getting libtool version mismatches, not sure if the -i is necessary but someone suggested it so i threw it in and it worked.

Offline

#85 2011-10-26 13:49:26

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: Progress on Unity under Arch Linux!

Sphaerophoria wrote:

gtk2-ubuntu wasn't building before I put a autoreconf -i in before the ./configure. Was getting libtool version mismatches, not sure if the -i is necessary but someone suggested it so i threw it in and it worked.

Thanks for reporting! Fixed big_smile https://github.com/chenxiaolong/Unity-f … fcad79da15

Offline

#86 2011-10-26 18:04:20

kuglee
Member
Registered: 2011-09-02
Posts: 61

Re: Progress on Unity under Arch Linux!

Btw, when the indicators crash I get the following error:
unity-panel-service: no process found

Offline

#87 2011-10-26 19:47:15

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: Progress on Unity under Arch Linux!

kuglee wrote:

Btw, when the indicators crash I get the following error:
unity-panel-service: no process found

Hmmm...that error occurs when Unity (3D) starts, even on Ubuntu. How did you see that error? It might help me find a solution to the problem.

Offline

#88 2011-10-26 20:28:39

kuglee
Member
Registered: 2011-09-02
Posts: 61

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:

Hmmm...that error occurs when Unity (3D) starts, even on Ubuntu. How did you see that error? It might help me find a solution to the problem.

If I run compiz from terminal I can see this error when changing windows.

Last edited by kuglee (2011-10-26 20:28:53)

Offline

#89 2011-10-26 21:33:16

Sphaerophoria
Member
Registered: 2011-07-14
Posts: 41

Re: Progress on Unity under Arch Linux!

more libtool errors in xorg-server-ubuntu. Thanks!

Offline

#90 2011-10-26 22:02:25

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: Progress on Unity under Arch Linux!

Sphaerophoria wrote:

more libtool errors in xorg-server-ubuntu. Thanks!

Should be fixed now. I was able to compile it tongue Commit: https://github.com/chenxiaolong/Unity-f … 5713451f58

Offline

#91 2011-10-28 20:09:00

osmano807
Member
Registered: 2008-10-09
Posts: 21

Re: Progress on Unity under Arch Linux!

Any news on the repository?

EDIT: Ah, forget it ... I was not installing the packages, I thought I could compile all first ...
------------
I tried to compile the sources, but does not compile ubuntu-libxi
The first error was:

XExtInt.c:150:27: error: unknown type name ‘xXITouchOwnershipEvent’
osmano807@notebook_dv5 src % grep -r 'xXITouchOwnershipEvent' .
./libXi-1.4.3/src/XExtInt.c:wireToTouchOwnershipEvent(xXITouchOwnershipEvent *in,
./libXi-1.4.3/src/XExtInt.c:            if (!wireToTouchOwnershipEvent((xXITouchOwnershipEvent*)event,
./libXi-1.4.3/src/XExtInt.c:wireToTouchOwnershipEvent(xXITouchOwnershipEvent *in,
./debian/patches/1_xi2.1.patch:+wireToTouchOwnershipEvent(xXITouchOwnershipEvent *in,
./debian/patches/1_xi2.1.patch:+            if (!wireToTouchOwnershipEvent((xXITouchOwnershipEvent*)event,
./debian/patches/1_xi2.1.patch:+wireToTouchOwnershipEvent(xXITouchOwnershipEvent *in,
./libxi_1.4.3-3ubuntu1.diff:++wireToTouchOwnershipEvent(xXITouchOwnershipEvent *in,
./libxi_1.4.3-3ubuntu1.diff:++            if (!wireToTouchOwnershipEvent((xXITouchOwnershipEvent*)event,
./libxi_1.4.3-3ubuntu1.diff:++wireToTouchOwnershipEvent(xXITouchOwnershipEvent *in,

I tried to run a grep, and not really defined.
The only information I found on this page so far is with the definition:
http://markmail.org/download.xqy?id=utu … n&number=1

Last edited by osmano807 (2011-10-28 20:12:07)

Offline

#92 2011-10-28 21:44:37

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: Progress on Unity under Arch Linux!

Did you install inputproto-ubuntu?

Offline

#93 2011-10-28 21:48:19

osmano807
Member
Registered: 2008-10-09
Posts: 21

Re: Progress on Unity under Arch Linux!

thn81 wrote:

Did you install inputproto-ubuntu?

Yes, after I realized the error.
Then I had a problem with the gobject-introspection (gtk3-ubuntu not compiled, gave an error), but looking at the changes in their official git, I applied the fix (maybe it would be best to install the gobject-introspection-git...), and continued compiling.

Offline

#94 2011-10-30 04:40:34

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: Progress on Unity under Arch Linux!

kuglee wrote:

chenxiaolong:
I installed your packages, and now unity-3d is woking, although I have a minor issue: occasionally when I change window the indicators quit or crash, I'm not sure, then they reload.

Fixed! big_smile

The following packages will need to be (re)compiled and installed/upgraded in this order:

libunity
libunity-misc
unity

Commit: https://github.com/chenxiaolong/Unity-f … 75137bf916

Offline

#95 2011-10-30 08:38:23

kuglee
Member
Registered: 2011-09-02
Posts: 61

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:

Fixed! big_smile

The following packages will need to be (re)compiled and installed/upgraded in this order:

libunity
libunity-misc
unity

Commit: https://github.com/chenxiaolong/Unity-f … 75137bf916

Thanks!

Offline

#96 2011-10-30 15:44:47

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 784

Re: Progress on Unity under Arch Linux!

kuglee wrote:
chenxiaolong wrote:

Fixed! big_smile

The following packages will need to be (re)compiled and installed/upgraded in this order:

libunity
libunity-misc
unity

Commit: https://github.com/chenxiaolong/Unity-f … 75137bf916

Thanks!

You're welcome! I was getting pretty frustrated by it too. Not only did the indicators crash, but also every time I Alt+Tabbed between terminal windows, they kept getting smaller and smaller until I could only see the title bar tongue

Offline

#97 2011-10-30 19:22:34

osmano807
Member
Registered: 2008-10-09
Posts: 21

Re: Progress on Unity under Arch Linux!

I've been experiencing some problems:
For work, I had to disable the integration with gnome and enable the unity plugin in compiz.
Application switcher is  behind the windows of the programs
The launcher is behind the windows of the programs.

I tested using the catalyst and driver xf86-video-ati-ubuntu, same contingencies (apart from the fate that the catalyst was in my 100% cpu usage all the time, but I suspect this is the catalyst).

Offline

#98 2011-10-30 20:39:17

kuglee
Member
Registered: 2011-09-02
Posts: 61

Re: Progress on Unity under Arch Linux!

osmano807 wrote:

Application switcher is  behind the windows of the programs
The launcher is behind the windows of the programs.

I had these problems too. I had to restart compiz in order to work normally, but I think the last update had fixed this bug.

Offline

#99 2011-10-31 06:30:12

itsme
Member
From: Russia
Registered: 2008-11-26
Posts: 3

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:

However, thanks to L42y, I will be able to host a package repository for all the packages (i686 and x86_64).

When approximately will be ready repository for x86_64?

Offline

#100 2011-10-31 07:20:01

PranavG
Member
From: Nagpur (India)
Registered: 2011-09-25
Posts: 50

Re: Progress on Unity under Arch Linux!

can anyone please post the step wise instructions for installing unity or unity-2d using the repo ? It will be of a great help to a newbie like me.

Offline

Board footer

Powered by FluxBB