You are not logged in.

#876 2012-09-02 13:17:10

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

It seems that my unity is not using metacity. If I switch to metacity manually, everything works like a charm.

Offline

#877 2012-09-02 13:37:12

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Progress on Unity under Arch Linux!

Compiz is working fine for me, but there are some curius tiny regressions. Highlights in Scale aren't transparent. It just turns the window white. And Text in Scale, Switchers etc has gone from a rounded transparent bubble to an ugly non-transparent black box with no rounded corners.

Offline

#878 2012-09-02 14:19:04

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

After I delete all settings related to gnome such as .gnome .gnome2 .gconf, the performance problem seems to be solved.
But the decoration is still weird, as the pic shows

titlebary.png

Is it a new feature?
And I can't adjust the location of control button. They are always top right.

Last edited by qiuwei (2012-09-02 14:19:45)

Offline

#879 2012-09-02 14:57:08

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

Re: Progress on Unity under Arch Linux!

pekmop1024 wrote:

libunity-webapps is missed packagekit dep.

Added to dependencies smile

Offline

#880 2012-09-02 15:06:15

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

Re: Progress on Unity under Arch Linux!

qiuwei wrote:

After I delete all settings related to gnome such as .gnome .gnome2 .gconf, the performance problem seems to be solved.
But the decoration is still weird, as the pic shows

http://img713.imageshack.us/img713/5017/titlebary.png

Is it a new feature?
And I can't adjust the location of control button. They are always top right.

Try running the following commands. The first one should set the title bar theme and the second one should set the font size. The third one will move the buttons to the left.

gconftool-2 -s /apps/metacity/general/theme "$(gsettings get org.gnome.desktop.interface gtk-theme | sed "s/'//g")" --type string
gconftool-2 -s /apps/metacity/general/titlebar_font "$(gsettings get org.gnome.desktop.wm.preferences titlebar-font | sed "s/'//g")" --type string
gconftool-2 -s /apps/metacity/general/button_layout "close,minimize,maximize:" --type string

Last edited by chenxiaolong (2012-09-02 15:06:34)

Offline

#881 2012-09-02 15:12:32

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:
qiuwei wrote:

After I delete all settings related to gnome such as .gnome .gnome2 .gconf, the performance problem seems to be solved.
But the decoration is still weird, as the pic shows

http://img713.imageshack.us/img713/5017/titlebary.png

Is it a new feature?
And I can't adjust the location of control button. They are always top right.

Try running the following commands. The first one should set the title bar theme and the second one should set the font size. The third one will move the buttons to the left.

gconftool-2 -s /apps/metacity/general/theme "$(gsettings get org.gnome.desktop.interface gtk-theme | sed "s/'//g")" --type string
gconftool-2 -s /apps/metacity/general/titlebar_font "$(gsettings get org.gnome.desktop.wm.preferences titlebar-font | sed "s/'//g")" --type string
gconftool-2 -s /apps/metacity/general/button_layout "close,minimize,maximize:" --type string

Hi, chenxiaolong, it doesn't work.
I don't know whether I understand it right or not, with Unity 6.4, we can already use gtk-window-decorator, is it true?

Last edited by qiuwei (2012-09-02 15:21:31)

Offline

#882 2012-09-02 15:21:36

oi_wtf
Member
From: /home/wtf
Registered: 2012-03-11
Posts: 191

Re: Progress on Unity under Arch Linux!

The decorator in your screenshot looks like emerald's default theme...
To get metacity back, start ccsm, goto Window Decorator and set "/usr/bin/metacity" as "command".
Then log out and back in.

//EDIT: Or, to customize emerald, open "Emerald Theme Manager"

Last edited by oi_wtf (2012-09-02 15:23:53)


Laptop:   Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-3630QM @ 2.40GHz, 8 GiB RAM, NViDiA GeForce GT 650M w/ 2 GiB
Desktop: Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-4771  @ 3.50GHz, 32 GiB RAM, AMD Radeon RX 480 w/ 8 GiB

Offline

#883 2012-09-02 15:23:36

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

Re: Progress on Unity under Arch Linux!

b9anders wrote:

Compiz is working fine for me, but there are some curius tiny regressions. Highlights in Scale aren't transparent. It just turns the window white. And Text in Scale, Switchers etc has gone from a rounded transparent bubble to an ugly non-transparent black box with no rounded corners.

Could you take a screenshot of what you mean? I'm not exactly sure what Scale is, but when I press the keys for it (<Super> w), I see this: http://ompldr.org/vZmMwZw/2012-09-02-11 … _scrot.png I don't see white windows.

Offline

#884 2012-09-02 15:27:02

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

oi_wtf wrote:

The decorator in your screenshot looks like emerald's default theme...
To get metacity back, start ccsm, goto Window Decorator and set "/usr/bin/metacity" as "command".
Then log out and back in.

//EDIT: Or, to customize emerald, open "Emerald Theme Manager"

Actually I'm not using emerald, I'm using the default gtk-window-decorator. I also tried metacity, it seems that we can't use metacity standalone as a decorator.
I tried emerald which makes the theme not harmony with the whole unity.

Thanks anyway. So the windows decoration works perfectly on your system? I already deleted all possible gnome settings but still got the same result.

Offline

#885 2012-09-02 15:29:28

oi_wtf
Member
From: /home/wtf
Registered: 2012-03-11
Posts: 191

Re: Progress on Unity under Arch Linux!

Well, I'm using emerald in the first place...
Maybe gtk-window-decorator defaults to emerald on your system...
You sure you've got metacity installed?

Anyway, if you want to run metacity manually, you have to use "metacity --replace",
or it will complain, that there's already a decorator running.

Last edited by oi_wtf (2012-09-02 15:31:43)


Laptop:   Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-3630QM @ 2.40GHz, 8 GiB RAM, NViDiA GeForce GT 650M w/ 2 GiB
Desktop: Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-4771  @ 3.50GHz, 32 GiB RAM, AMD Radeon RX 480 w/ 8 GiB

Offline

#886 2012-09-02 15:35:02

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

oi_wtf wrote:

Well, I'm using emerald in the first place...
And yes, you are using emerald, it seems gtk-window-decorator defaults to emerald on your system...
You sure you've got metacity installed?

Anyway, if you want to run metacity manually, you have to use "metacity --replace",
or it will complain, that there's already a decorator running.

Sure, but metacity is a windows manager, isn't it? I think it's also using gtk-window-decorator as the decorator. Then the strange thing is that the gtk-window-decorator looks different under compiz and metacity. Also the gconf settings don't affect the look of gtk-window-decorator under compiz. For me,  it seems like a bug of compiz-ubuntu.

Offline

#887 2012-09-02 15:38:29

oi_wtf
Member
From: /home/wtf
Registered: 2012-03-11
Posts: 191

Re: Progress on Unity under Arch Linux!

Oops, sorry, got window-manager and decorator confused...
Well, can you try executing "gtk-window-decorator --replace" and tell me, if it works...
Maybe you need to add the "--replace" to the command in the decorator-plugin...
The decorator in your screenshot is definitely emerald, since the gtk-decorator doesn't support transparency...
Also, if "--replace" doesn't work, you could try uninstalling emerald (pacman -R emerald)

EDIT: On my system gtk-decorator looks exactly like it should, see:
http://img228.imageshack.us/img228/3553/135auswahl.png
http://img689.imageshack.us/img689/7051/136auswahl.png

EDIT2: Another thought... Have you still got metacity-ubuntu or the arch package installed?

Last edited by oi_wtf (2012-09-02 16:00:23)


Laptop:   Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-3630QM @ 2.40GHz, 8 GiB RAM, NViDiA GeForce GT 650M w/ 2 GiB
Desktop: Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-4771  @ 3.50GHz, 32 GiB RAM, AMD Radeon RX 480 w/ 8 GiB

Offline

#888 2012-09-02 16:13:08

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Progress on Unity under Arch Linux!

qiuwei wrote:
oi_wtf wrote:

Well, I'm using emerald in the first place...
And yes, you are using emerald, it seems gtk-window-decorator defaults to emerald on your system...
You sure you've got metacity installed?

Anyway, if you want to run metacity manually, you have to use "metacity --replace",
or it will complain, that there's already a decorator running.

Sure, but metacity is a windows manager, isn't it? I think it's also using gtk-window-decorator as the decorator. Then the strange thing is that the gtk-window-decorator looks different under compiz and metacity. Also the gconf settings don't affect the look of gtk-window-decorator under compiz. For me,  it seems like a bug of compiz-ubuntu.

Have you tried setting it under Ubuntu Tweaks?

Or for that matter, in Emerald Settings?

Offline

#889 2012-09-02 16:15:23

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

oi_wtf wrote:

Oops, sorry, got window-manager and decorator confused...
Well, can you try executing "gtk-window-decorator --replace" and tell me, if it works...
Maybe you need to add the "--replace" to the command in the decorator-plugin...
The decorator in your screenshot is definitely emerald, since the gtk-decorator doesn't support transparency...
Also, if "--replace" doesn't work, you could try uninstalling emerald (pacman -R emerald)

EDIT: On my system gtk-decorator looks exactly like it should, see:
http://img228.imageshack.us/img228/3553/135auswahl.png
http://img689.imageshack.us/img689/7051/136auswahl.png

EDIT2: Another thought... Have you still got metacity-ubuntu or the arch package installed?

Hi, thanks a lot for the experiment. I tried gtk-window-decorator --replace, but nothing changed.
No, I'm sure I'm using gtk-decorator because I didn't even install emerald:)
Are you using the newest packages from pekmop1024's repository?

Offline

#890 2012-09-02 16:18:18

oi_wtf
Member
From: /home/wtf
Registered: 2012-03-11
Posts: 191

Re: Progress on Unity under Arch Linux!

Nope, I build them myself from chenxiaolong's git repo...


Laptop:   Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-3630QM @ 2.40GHz, 8 GiB RAM, NViDiA GeForce GT 650M w/ 2 GiB
Desktop: Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-4771  @ 3.50GHz, 32 GiB RAM, AMD Radeon RX 480 w/ 8 GiB

Offline

#891 2012-09-02 16:21:47

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:
b9anders wrote:

Compiz is working fine for me, but there are some curius tiny regressions. Highlights in Scale aren't transparent. It just turns the window white. And Text in Scale, Switchers etc has gone from a rounded transparent bubble to an ugly non-transparent black box with no rounded corners.

Could you take a screenshot of what you mean? I'm not exactly sure what Scale is, but when I press the keys for it (<Super> w), I see this: http://ompldr.org/vZmMwZw/2012-09-02-11 … _scrot.png I don't see white windows.

Draw Window Highlight is an option in the scale plugin. It's supposed to put a transparent sheen over the highlighted window. Looks like this instead:

tZmMxZg

And ugly Text (can also be seen in screenshot above):

tZmMxZw

Offline

#892 2012-09-02 16:34:32

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

oi_wtf wrote:

Nope, I build them myself from chenxiaolong's git repo...

Is it unity 6.4 and compiz-ubuntu 0.98?

Offline

#893 2012-09-02 16:36:33

oi_wtf
Member
From: /home/wtf
Registered: 2012-03-11
Posts: 191

Re: Progress on Unity under Arch Linux!

$ compiz --version
Compiz 0.9.8.0
$ unity --version
unity 6.4.0
$ pacman -Q compiz-ubuntu unity 
compiz-ubuntu 0.9.8.0.z0ubuntu1-100
unity 6.4.0.0ubuntu1-100

Laptop:   Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-3630QM @ 2.40GHz, 8 GiB RAM, NViDiA GeForce GT 650M w/ 2 GiB
Desktop: Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-4771  @ 3.50GHz, 32 GiB RAM, AMD Radeon RX 480 w/ 8 GiB

Offline

#894 2012-09-02 17:14:13

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

Recompiled unity and compiz-ubuntu, problems sovled:)
Thanks guys, especially oi_wtf:)

Offline

#895 2012-09-02 21:33:56

pekmop1024
Member
From: Kiev/Feodosia
Registered: 2010-04-21
Posts: 126
Website

Re: Progress on Unity under Arch Linux!

decorations bug is confirmed, seems that it is build deps problem, I'll try to fix.

EDIT. Seems to be fixed, just update.

Last edited by pekmop1024 (2012-09-02 23:36:01)


ArchLinux x86_64 (passively cooled): Xeon E3 1230v2 - 32GB - GTX1050Ti KalmX - Samsung 850 EVO 1TB - 3x2TB Seagate - Creative X-Fi Titanium - Cheiftec GPS-500C
ArchLinux x86_64 (FrankenPad T420): i7 2720QM - 16GB - NVS 4200M - Samsung 840 EVO 1TB - FullHD IPS mod - Intel 7260AC - Sierra Wireless MC7304

Offline

#896 2012-09-03 00:20:37

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

Re: Progress on Unity under Arch Linux!

Ubuntu is currently in the process of porting gtk-window-decorator to GSettings. If anyone is still having issues with it, please try the GSettings version by building with:

GWD_GSETTINGS=true makepkg

EDIT: It looks kinda ugly right now though...

Last edited by chenxiaolong (2012-09-03 00:21:02)

Offline

#897 2012-09-03 00:24:15

pekmop1024
Member
From: Kiev/Feodosia
Registered: 2010-04-21
Posts: 126
Website

Re: Progress on Unity under Arch Linux!

I've solved this problem in shamanic way big_smile
Just rebuild libunity-webapps, bamf, nux and compiz in environment with installed Unity 6.2 from 21.08.2012.
Also, you was right about globalmenu and xulrunner issue: it's just need to have xulrunner 15 in system and to build extensions with it.
And one more thing about libunity-webapps: packagekit is a build-time dep.

Last edited by pekmop1024 (2012-09-03 00:32:05)


ArchLinux x86_64 (passively cooled): Xeon E3 1230v2 - 32GB - GTX1050Ti KalmX - Samsung 850 EVO 1TB - 3x2TB Seagate - Creative X-Fi Titanium - Cheiftec GPS-500C
ArchLinux x86_64 (FrankenPad T420): i7 2720QM - 16GB - NVS 4200M - Samsung 840 EVO 1TB - FullHD IPS mod - Intel 7260AC - Sierra Wireless MC7304

Offline

#898 2012-09-03 00:26:05

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

Re: Progress on Unity under Arch Linux!

b9anders wrote:
chenxiaolong wrote:
b9anders wrote:

Compiz is working fine for me, but there are some curius tiny regressions. Highlights in Scale aren't transparent. It just turns the window white. And Text in Scale, Switchers etc has gone from a rounded transparent bubble to an ugly non-transparent black box with no rounded corners.

Could you take a screenshot of what you mean? I'm not exactly sure what Scale is, but when I press the keys for it (<Super> w), I see this: http://ompldr.org/vZmMwZw/2012-09-02-11 … _scrot.png I don't see white windows.

Draw Window Highlight is an option in the scale plugin. It's supposed to put a transparent sheen over the highlighted window. Looks like this instead:

http://ompldr.org/tZmMxZg

And ugly Text (can also be seen in screenshot above):

http://ompldr.org/tZmMxZw

Ah, I can reproduce it now. I'm not sure how to fix it. Hopefully, it'll be fixed in the next release.

Offline

#899 2012-09-03 00:57:54

pekmop1024
Member
From: Kiev/Feodosia
Registered: 2010-04-21
Posts: 126
Website

Re: Progress on Unity under Arch Linux!

GWD_GSETTINGS=true makepkg

can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|=== modified file 'cmake/CompizGSettings.cmake'
|--- cmake/CompizGSettings.cmake        2012-07-29 03:23:28 +0000
|+++ cmake/CompizGSettings.cmake        2012-09-01 07:19:22 +0000
--------------------------

EDIT: Also, do you have any thoughts about disappeared indicator panel shadow? There is no bug report on launchpad, so it seems to be Arch-specific...

Last edited by pekmop1024 (2012-09-03 01:00:28)


ArchLinux x86_64 (passively cooled): Xeon E3 1230v2 - 32GB - GTX1050Ti KalmX - Samsung 850 EVO 1TB - 3x2TB Seagate - Creative X-Fi Titanium - Cheiftec GPS-500C
ArchLinux x86_64 (FrankenPad T420): i7 2720QM - 16GB - NVS 4200M - Samsung 840 EVO 1TB - FullHD IPS mod - Intel 7260AC - Sierra Wireless MC7304

Offline

#900 2012-09-03 08:40:04

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Progress on Unity under Arch Linux!

Just upgraded to the latest compiz on the repo - problem across the last two upgrades - The Command plugin doesn't remember any commands. As soon as I leave the window in ccsm, they get erased.

Offline

Board footer

Powered by FluxBB