Upgrading to Gnome3 breaks Ubuntu theme defaults

Bug #734563 reported by Jeremy Bícha
96
This bug affects 18 people
Affects Status Importance Assigned to Milestone
ubuntu-artwork (Ubuntu)
Fix Released
Low
Ken VanDine
Oneiric
Fix Released
Low
Ken VanDine

Bug Description

Binary package hint: gsettings-desktop-schemas

Installing the Gnome 3 Team PPA on Natty and upgrading breaks the default theming used by Ubuntu Classic & the new Unity desktop environments by setting the icon-theme to gnome and the gtk-theme to Adwaita. And because gnome-control-center currently doesn't have an applet to change the theme, it is difficult for users to figure out how to get things back to normal.

It looks like Gnome 3 ignores the previous gconf interface settings and only reads the dconf ones.

For Ubuntu, the dconf default org.gnome.interface.icon-theme should be ubuntu-mono-dark and org.gnome.interface.gtk-theme should be Ambiance.

I believe Ubuntu sets the default gconf themes in the ubuntu-artwork package so I don't know if this should be fixed there.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gsettings-desktop-schemas 0.1.7-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
Uname: Linux 2.6.38-6-generic x86_64
Architecture: amd64
Date: Sun Mar 13 19:23:40 2011
Dependencies:

InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_GB.utf8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gsettings-desktop-schemas
UpgradeStatus: Upgraded to natty on 2011-01-01 (71 days ago)

Jeremy Bícha (jbicha)
tags: added: gnome3-gsettings
Mzombira (mzombira)
description: updated
Revision history for this message
feiy (eshangrao) wrote :

i got this too!

Revision history for this message
maxadamo (massimilianoadamo) wrote :

did any of you find a workaround?
I have seen that Gnome 3 works properly in Fedora and I think we're missing some package in Ubuntu.

Revision history for this message
Erick Brunzell (lbsolost) wrote :

I'm not sure this bug belongs on launchpad, first my own brief story. I have multiple Natty's installed and just decided to see what would happen using this ppa:

https://launchpad.net/~gnome3-team/+archive/gnome3

This is the error I get upgrading/installing/removing packages:

E: /var/cache/apt/archives/gnome-accessibility-themes_3.0.0-0ubuntu1~build1_all.deb: trying to overwrite '/usr/share/themes/HighContrastInverse/index.theme', which is also in package gnome-themes-standard 2.91.93-1

I've not rebooted yet as I'll poke around a bit first, but my concern is reporting this in the proper venue :^)

That ppa page says, "For questions and bugs with software in this PPA please contact":

https://launchpad.net/~gnome3-team

So I subscribed them. Apologies in advance if I did so wrongly.

Now onto poking around and then the reboot.

Revision history for this message
Erick Brunzell (lbsolost) wrote :

I managed to clear that error by removing 'gnome-themes-standard', but the upgrade of the 'gnome-themes' package fails with this error:

gnome-themes:
 Depends: gtk3-engines-pixbuf but it is not installable

A search for 'gtk3-engines-pixbuf' shows no such package.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

maxadamo, I have two workarounds.
1. You could install dconf-tools. Then run dconf-editor and edit org>gnome>desktop>interface.
2. Or if you prefer a GUI interface to change the desktop theme, just install gnome-tweak-tool which is available in the gnome3 ppa you are already using.

Erick, yes, the gnome-themes package in the ppa has a broken dependency.

Revision history for this message
Gustavo Azambuja (gazambuja) wrote :

After install (using PPA) Gnome3 my GTK themes apper like this: http://imgur.com/5LCVD

Revision history for this message
filipe (hikibi) wrote :

Same as Gustavo Azambuja here...

Revision history for this message
Dread Knight (dread.knight) wrote :

Not even sure how you people manage to install it....

dread@Freezing-Moon:~$ sudo apt-get install gnome-shell
Citire liste de pachete... Terminat
Se construiește arborele de dependență
Se citesc informațiile de stare... Terminat
Pachetul gnome-shell nu este disponibil, dar este menționat de către alt pachet.
Aceasta ar putea însemna că pachetul lipsește, s-a învechit, sau
este disponibil numai din altă sursă

E: Package 'gnome-shell' has no installation candidate

Ubuntu Natty, 64 bits.
This should probably go in it's own bug report, but thought it's obvious, many have the same issue...

Revision history for this message
MacRules (macrules) wrote :

i have the same issue as #6 and #7.
Anyone knows a fix?

Revision history for this message
Matt Cockayne (matthew-cockayne) wrote :

A quick nosy around and it appears that the "Adwaita" default theme for Gnome3 is missing

Revision history for this message
MacRules (macrules) wrote :

indeed.
I seem to have fixed it (partially) by doing:
sudo apt-get remove gnome-accessibility-themes
and then
sudo apt-get install gnome-themes-standard
Then install gnome-tweak-tool and set the theme to Adwaita and reboot.

I do feel things look a bit crummy, but maybe that is because of removing some ubuntu themes as well.

If anyone knows how to fix this like it should, please let us know :)

Revision history for this message
Maarten Kossen (mpkossen) wrote : Re: [Bug 734563] Re: [gnome3] Upgrading to Gnome3 PPA breaks Ubuntu theme defaults

Maybe the eventual solution could be posted under 'Answers' so there's a
how-to for people who face this problem.

I haven't had the time to experiment with this myself, unfortunately. I'll
probably get to it tomorrow and I'll post any (new) findings here.

On Fri, Apr 8, 2011 at 3:02 PM, MacRules <email address hidden> wrote:

> indeed.
> I seem to have fixed it (partially) by doing:
> sudo apt-get remove gnome-accessibility-themes
> and then
> sudo apt-get install gnome-themes-standard
> Then install gnome-tweak-tool and set the theme to Adwaita and reboot.
>
> I do feel things look a bit crummy, but maybe that is because of
> removing some ubuntu themes as well.
>
> If anyone knows how to fix this like it should, please let us know :)
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/734563
>
> Title:
> [gnome3] Upgrading to Gnome3 PPA breaks Ubuntu theme defaults
>
> Status in “gsettings-desktop-schemas” package in Ubuntu:
> New
>
> Bug description:
> Binary package hint: gsettings-desktop-schemas
>
> Installing the Gnome 3 Team PPA on Natty and upgrading breaks the
> default theming used by Ubuntu Classic & the new Unity desktop
> environments by setting the icon-theme to gnome and the gtk-theme to
> Adwaita. And because gnome-control-center currently doesn't have an
> applet to change the theme, it is difficult for users to figure out
> how to get things back to normal.
>
> It looks like Gnome 3 ignores the previous gconf interface settings
> and only reads the dconf ones.
>
> For Ubuntu, the dconf default org.gnome.interface.icon-theme should be
> ubuntu-mono-dark and org.gnome.interface.gtk-theme should be Ambiance.
>
> I believe Ubuntu sets the default gconf themes in the ubuntu-artwork
> package so I don't know if this should be fixed there.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.04
> Package: gsettings-desktop-schemas 0.1.7-2ubuntu2
> ProcVersionSignature: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
> Uname: Linux 2.6.38-6-generic x86_64
> Architecture: amd64
> Date: Sun Mar 13 19:23:40 2011
> Dependencies:
>
> InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64
> (20101007)
> ProcEnviron:
> LANGUAGE=en_US:en
> PATH=(custom, user)
> LANG=en_GB.utf8
> LC_MESSAGES=en_US.utf8
> SHELL=/bin/bash
> SourcePackage: gsettings-desktop-schemas
> UpgradeStatus: Upgraded to natty on 2011-01-01 (71 days ago)
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gsettings-desktop-schemas/+bug/734563/+subscribe
>

Revision history for this message
Jhondis (realityisnt) wrote : Re: [gnome3] Upgrading to Gnome3 PPA breaks Ubuntu theme defaults

For those that want to or are having trouble running/installing Gnome3 here are the steps I followed and it installed perfectly.
I am currently running Ubuntu 11.04 with the latest updates.

sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get dist-upgrade

As with others this breaks the default Ubuntu Session

I fixed this by editing /usr/share/xsessions/gnome.desktop
change the line Exec=gnome-session --session=ubuntu to
Exec=gnome-session --session=gnome

I also added a link to /usr/share/applications/gnome-shell.desktop in ~/.local/share/applications

In the GDM it still says ubuntu not gnome-shell but thats okay for me

I hope this helps

Sergey (ples-s)
Changed in gsettings-desktop-schemas (Ubuntu):
status: New → Fix Released
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Ambiance is a GTK2 theme, and hence we are forced to set the default GTK3 theme to Adwaita for now.

As for the fix to the dependency conflicts in the other comments here, the fix is simple: Remove gnome-accessibility-themes and install gnome-themes-standard, gnome-icon-theme and gnome-icon-theme-symbolic.

Changed in gsettings-desktop-schemas (Ubuntu):
status: Fix Released → Invalid
Revision history for this message
Eugene Crosser (crosser) wrote :

Could the broken dependency be fixed?
Removing the offending package by hand is easy, but finding this solution is not.
I don't feel that this bug deserves 'Invalid' status.

Revision history for this message
Maarten Kossen (mpkossen) wrote :

I agree, the dependency should be fixed or the package manager should propose the given solution itself. Currently it remains broken.

Changed in gsettings-desktop-schemas (Ubuntu):
status: Invalid → New
Revision history for this message
NirajKakodkar (niraj-kakodkar) wrote :

#13 + GTK3 theme to Adwaita + icon theme to unity-icon-theme , solved all issues for me with GNOME3 on Ubuntu 11.04

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

What's need to be fixed:
* Fix dependency issue
* gnome-session3: depend on gnome-themes-standard
* Set Adwaita as default theme, until light-themes are ported to CSS format
* Set Ubuntu-Mono-Dark or Elementary-Dark (better colouring) as default icon theme

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

I've updated the PPA with these packaging changes:

1) gnome-shell now depends on gnome-themes-standard.
2) gnome-themes-standard now Conflicts: with gnome-accessibility-themes so that its removed, hence solving 90% theming issues.

Revision history for this message
bradomin (bradomin) wrote :

I have solved problems with the windows manager too by editing the /desktop/gnome/shell/windows/theme key with gconf-editor. Changing this setting from "Adwaita" to Adwaita (without quotation marks) has gone fine in Ubuntu 11.04 Natty Narwhal. :D

Revision history for this message
Laurent Minh (laurent-ginkgo-ev) wrote :

It's not a bug for me

Revision history for this message
Surya Teja (suryateja-sun) wrote :

I got this problem too.

I am using natty with unity interface. When I installed Gnome3, at the start it failed to load other sessions (Unity, Classic, Desktop...) and generated an error "Failed to load this session". Only gnome3 works for me.

What's the best solution for this problem?

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

@Surya:

The issue you are facing is an architectural issue due to the difference in the version of libraries used by GNOME Shell and Unity in 11.04. It isn't fixable in Natty. If you want to run them side-by-side, then waiting for Oneiric is your best bet.

Revision history for this message
Surya Teja (suryateja-sun) wrote :

@Bilal

Thanks for your reply.
So what do I do? Can I uninstall Gnome 3? After that Unity and other sessions will work?
Or Can I install other sessions?

Revision history for this message
Dmitry Shachnev (mitya57) wrote : Re: [Bug 734563] Re: [gnome3] Upgrading to Gnome3 PPA breaks Ubuntu theme defaults

You can downgrade GNOME using ppa-purge:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:gnome3-team/gnome3

Revision history for this message
Jeremy Bícha (jbicha) wrote : Re: [gnome3] Upgrading to Gnome3 PPA breaks Ubuntu theme defaults

@Surya @Bilal the latest version of gnome-session in the Gnome 3 PPA does support loading Ubuntu (Unity) or Ubuntu Classic. It doesn't look practical for Unity 2D to be fixed for Natty but of course it will work in 11.10.

Remember that the Gnome 3 PPA is an experimental developer preview and will break your computer. I consider it alpha quality, not beta.

Revision history for this message
Doug Holton (edtechdev) wrote :

so are we supposed to uninstall unity from ubuntu 11.04 in order to try out gnome 3?

None of the above fixes gets gnome 3 working for me

Everything is white and the font doesn't look good if I login to classic ubuntu

If I login to gnome shell, there is nothing at all, not interface at all, just the desktop background.
I have to hit the power button to be able to restart

Revision history for this message
Kasful Kurniawan (crussd2) wrote :

i was got error after update a gnome-session.

dpkg: error processing /var/cache/apt/archives/gnome-session_3.0.2-0ubuntu1~natty1_all.deb (--unpack):
 trying to overwrite '/usr/share/xsessions/gnome-shell.desktop', which is also in package gnome-shell 3.0.1-0ubuntu1~build1
Errors were encountered while processing:
 /var/cache/apt/archives/gnome-session_3.0.2-0ubuntu1~natty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

please Advice..

Revision history for this message
Pablo Saavedra (pablo-a-saavedra) wrote :

This is a separate bug, but you can solve it by upgrading gnome-shell to 3.0.2 from synaptic.

Regards

Revision history for this message
Linuxexperte (andrea-koeth) wrote :

I also want to put your attention to broken dependencies in the gnome-games-package. Everytime, I want to do the upgrade after having installed this ppa-repository, I get this in synaptic, Mint-Update and Terminal as well:

E: /var/cache/apt/archives/gnome-games-common_1%
3a3.0.2-0ubuntu1~natty2_amd64.deb: Versuch, /usr/share/gnome-games-common/cards/bonded.svg
zu überschreiben, welches auch in Paket gnome-games-extra-data 2.30.0-1ubuntu1 ist.

In english this means:

E: /var/cache/apt/archives/gnome-games-common_1%
3a3.0.2-0ubuntu1~natty2_amd64den: Try to overwrite /usr/share/gnome-games-common/cards/bonded.svg
which is also in package gnome-games-extra-data2.30.0-1ubuntu1.

So in one of these packages, this file claimed for has to go, so that it gets installable.

And to solve the issue for not being able to log in after having installed this ppa-repository, you not only need to edit the line mentioned above. The very last line in this file shows a wrong Gnome-Version with 2.0. this has to be changed to 3.0. Then the login works again. For me it did.

Revision history for this message
Linuxexperte (andrea-koeth) wrote :

found the clean solution for this problem with gnome-games-common.

The solution is to find here: http://ubuntuforums.org/showthread.php?p=10892575

The package gnome-games-extra-data needs to be removed, then the games can be installed in Gnome3 (but without extra graphics).

Revision history for this message
Sebastien Bacher (seb128) wrote :

Confirmed, the ubuntu-artwork gconf-defaults should be converted to a gsettings-override

affects: gsettings-desktop-schemas (Ubuntu) → ubuntu-artwork (Ubuntu)
Changed in ubuntu-artwork (Ubuntu):
assignee: nobody → Ken VanDine (ken-vandine)
importance: Undecided → Low
status: New → Confirmed
summary: - [gnome3] Upgrading to Gnome3 PPA breaks Ubuntu theme defaults
+ Upgrading to Gnome3 breaks Ubuntu theme defaults
Revision history for this message
Sebastien Bacher (seb128) wrote :

ubuntu-artwork (53.9) oneiric; urgency=low

  * debian/ubuntu-artwork.gschema.override:
    - ported gconf settings to gsettings

Changed in ubuntu-artwork (Ubuntu Oneiric):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.