You are not logged in.

#1 2011-04-03 08:40:25

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Gnome 3 show title bar on top bar like Ubuntu 11.04

Gnome 3  show title bar on top bar like Ubuntu 11.04,how to do that? I know there is a software names gnome2 global menu ,but it only works for Gnome2.

Last edited by jasonwryan (2011-07-31 23:49:21)

Offline

#2 2011-04-03 12:17:34

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

ubuntu uses unity and unity != gnome3

Offline

#3 2011-04-03 12:26:47

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

gnome2 global menu do not work with gnome-shell.
I like gnome-shell but I like more how unity uses the space.
Would be nice to have gnome-shell with title and global menu in the upper panel.  big_smile

Offline

#4 2011-04-03 12:58:51

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

Cosmin wrote:

gnome2 global menu do not work with gnome-shell.
I like gnome-shell but I like more how unity uses the space.
Would be nice to have gnome-shell with title and global menu in the upper panel.  big_smile

Agree!, Ubuntu 11.04 like title bar is more beautiful and it also can reduce the desktop space usage,very good for small laptop.

Last edited by Edward.H (2011-04-03 13:01:47)

Offline

#5 2011-04-26 05:45:25

thanhbv
Member
Registered: 2011-04-26
Posts: 1

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

Cosmin wrote:

gnome2 global menu do not work with gnome-shell.
I like gnome-shell but I like more how unity uses the space.
Would be nice to have gnome-shell with title and global menu in the upper panel.  big_smile

+1

Offline

#6 2011-04-30 14:10:39

thorstenhirsch
Member
Registered: 2005-08-03
Posts: 102

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

Once again: +1

Offline

#7 2011-04-30 14:16:34

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

you can't have both in the same time. gnome 3/gnome-shell or ubuntu/unity. now matters which one you like more

Last edited by wonder (2011-04-30 14:16:58)


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2011-04-30 15:52:17

sudokill
Member
Registered: 2011-04-27
Posts: 54

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

Gnome 3 is so lush I don't even care about the useablility. The activities panel is growing on me, just keep using the windows key smile

Offline

#9 2011-04-30 16:14:48

sbfreak
Member
Registered: 2010-06-06
Posts: 149

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

Maybe there's a way to add the global menu in fallback mode ? But I don't think that will work with gtk3 apps.

Offline

#10 2011-05-04 09:39:12

kraxor
Member
From: Szeged, Hungary
Registered: 2010-10-30
Posts: 12

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

+1

Would it be possible to install Unity on Arch or is it some Ubuntu magic nobody else can use? I mean I really like Gnome3 but that titlebar-menu-panel merge thing is something that really got me - I'm actually considering to move back to Ubuntu if there is no way around this!

Any solution would be greatly appreciated.

Offline

#11 2011-05-04 09:45:35

tasos
Member
From: Alpha Centauri
Registered: 2009-02-08
Posts: 25
Website

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

kraxor wrote:

+1

Would it be possible to install Unity on Arch or is it some Ubuntu magic nobody else can use? I mean I really like Gnome3 but that titlebar-menu-panel merge thing is something that really got me - I'm actually considering to move back to Ubuntu if there is no way around this!

Any solution would be greatly appreciated.

There are 2 pkgbuilds in AUR but they need work. One is orphaned and the other one is out of date.

http://aur.archlinux.org/packages.php?ID=42311
http://aur.archlinux.org/packages.php?ID=45668

Last edited by tasos (2011-05-04 09:46:36)


.: github :.

Offline

#12 2011-07-22 08:10:38

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

Hi Folks

I just know that new version gnome 2 global menu  has gnome 3 support now  . see more  http://code.google.com/p/gnome2-globalmenu/

but it hasn't been added to yaourt yet

Offline

#13 2011-07-22 13:21:34

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

I build it using the PKGBUILD from the AUR, modified against 0.9.alpha1. Either i did something wrong, or the globalmenu isn't actually functional in gnome-shell yet.

bildschirmfoto-1v2wg.png

In case someone can spot potential mistakes or wants to do further work:

Modified PKGBUILD
Modified gnome-globalmenu.install
diff

---------
Edit: Yay!

bildschirmfotopr63.png

It needs the environment variable GTK_MODULES to include globalmenu-gtk. E. g. in your xinitrc or bashrc (assuming you don't depend on any other module):

export GTK_MODULES=globalmenu-gtk

Also, gnome-globalmenu-manager needs to be running. The package provides an dbus service file for that, but it does not get launched automatically yet, so it needs to be invoked manually.

And it only works with a limited amount of gtk applications. Though its only an alpha release and seems to be a complete rewrite in vala/js.

p. s. : it's horrible to use with sloppy focus.

p. p. s. : I forgot to mention i had to symlink the modules:

ln -s /usr/lib/gtk+-3.0/modules/libglobalmenu-gtk.so /usr/lib/gtk-3.0/modules/libglobalmenu-gtk.so
ln -s /usr/lib/gtk+-2.0/modules/libglobalmenu-gtk.so /usr/lib/gtk-2.0/modules/libglobalmenu-gtk.so
ln -s /usr/lib/gtk+-2.0/modules/libglobalmenu-gtk2.so /usr/lib/gtk-2.0/modules/libglobalmenu-gtk2.so

For full gtk2 support:

export GTK_MODULES=globalmenu-gtk:globalmenu-gtk2

And a bonus screenshot:
bildschirmfoto-1i8to.png

Last edited by Wey (2011-07-22 20:37:44)

Offline

#14 2011-07-23 10:44:29

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

"E. g. in your xinitrc or bashrc (assuming you don't depend on any other module):
export GTK_MODULES=globalmenu-gtk
Also, gnome-globalmenu-manager needs to be running. The package provides an dbus service file for that, but it does not get launched automatically yet, so it needs to be invoked manually."
-----------------------------------------------------
could you please explain more details?

I installed it but can't get it work.thanks

Offline

#15 2011-07-23 10:56:14

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

As a simple test case:

gnome-globalmenu-manager & 
GTK_MODULES=globalmenu-gtk gedit

Offline

#16 2011-07-23 14:53:17

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

I rewrote the PKGBUILD into a more cleaner state.

PKGBUILD
gnome-globalmenu.install

The gtk modules get now installed to the right folder, so no symlinks are needed. I think there is a bug in the dbus service file, where it states Name=com.globalmenu.manager, which should be Name=org.globalmenu.manager. As a temporarily fix, the PKGBUILD uses sed to correct it, so the dbus service should launch on demand as intended now. So the only thing that needs to be done is to set up GTK_MODULES in a persistent manner:

export GTK_MODULES=globalmenu-gtk:globalmenu-gtk2:$GTK_MODULES

Offline

#17 2011-07-23 19:06:10

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

please upload the PKGBUILD to AUR ... big_smile

thanks

Offline

#18 2011-07-24 12:10:38

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

I wrote another PKGBUILD against the gnome-3 branch and adopted gnome-globalmenu-git in the AUR. The PKGBUILD invokes module.c and its headers from the 0.9 tarball, which isn't really clean, but i couldn't get it build otherwise. Let me know if you can get it build directly from git. On the plus side, the git version ships a /etc/profile.d/globalmenu.sh, that sets GTK_MODULES automatically, so it should be straight-forward to install.

Offline

#19 2011-07-24 12:41:24

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

Thank you Wey big_smile

gnome-globalmenu-git is working for me.

Offline

#20 2011-07-25 18:02:08

Carlinhos
Member
Registered: 2011-07-08
Posts: 41

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

Does it work in fallback mode?

Offline

#21 2011-07-25 19:03:18

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

Not like you want it to. The gtk module that removes the menu bar and the dbus service would work regardless of the environment, but the actual global menu client does only exist as a gnome-shell extension.

Offline

#22 2011-07-26 12:35:59

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

I installed the new version via yaourt ,it works fine smile

Offline

#23 2011-07-31 23:38:22

vitok
Member
Registered: 2011-07-31
Posts: 2

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

Wey thx for you work, nice start, but for now it's buggy with 3 level menu (for example in gimp or inkscape) , can you make "globalmenu" and "localmenu" like here? http://www.webupd8.org/2011/05/gnome-3- … ckups.html It's will be great!

Offline

#24 2011-08-01 00:31:59

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

vitok, I'm not the author of gnome-globalmenu, i just wrote a PKGBUILD to makepkg it in arch. If you have any non-packaging-related problems with it, be encouraged to file an issue upstream. Also, the mockups you posted would require much more modifications, and should be done on a per application basis. Though, i think it's very likely such modifications will be done to the core gnome applications in future design iterations, thus i think of the globalmenu as a more of transitional project.

Offline

#25 2011-08-01 06:40:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Gnome 3 show title bar on top bar like Ubuntu 11.04

wonder wrote:

you can't have both in the same time. gnome 3/gnome-shell or ubuntu/unity. now matters which one you like more

Hmm... what version of Gnome is running on Ubuntu with Unity?  I thought it was Gnome 3, just without gnome-shell?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB