Thursday 9 February 2012

Ubuntu Look on openSUSE 12.1 / GNOME 3.2.1

 This post is about changing default Adwaita theme in openSUSE 12.1 / GNOME 3.2.1. I grew bored of the default theme installed on openSUSE 12.1 which is adwaita. I started searching the net and found that it does require quite a bit of work . I have been able to install and use Ubuntu like theme.
Screenshots Of Ubuntu Theme on openSUSE
Nautilus and Artha
Banshee and Totem
GNOME 3 Window Switcher
Shell Applications menu
Changing themes  in GNOME 3 desktop involves:-
==>Changing "window theme"
==>Changing "icon theme"
==>Changing "shell theme"
==>Changing cursor theme (if required)
Prerequisites:-
==>GNOME 3 desktop needs to be installed(quite obvious)
==>OSS , Non - OSS , openSUSE Update , Community repositories are configured on the machine.
==>"gnome-tweak-tool" or "Advanced Settings" needs to be installed.This can be one through YaST tool
==>GNOME shell extension by name "gnome-shell-extension-user-theme" needs to be installed and enabled through Tweak tool .This step is required because only through this extension can we change shell themes.
Install GTK Theme
==>We open the terminal. Press Alt+F2 ,this will open a command quick launch window . We need to then type in "gnome-terminal"and then press / hit return or enter key
==>Then we need to add a user maintained repo / repository to the system.
To do this type in the following command in the terminal.the admin password or passcode made bentered when prompted .This zypper command will add the repo Ayatana to the software management tool and enable the repo make it auto-refreshable
sudo zypper ar -f -n Ayatana http://download.opensuse.org/repositories/GNOME:/Ayatana:/12.1/openSUSE_12.1/ Ayatana 
Sample Zypper output
anonymous@linux-9p85:~> sudo zypper ar -f -n Ayatana http://download.opensuse.org/repositories/GNOME:/Ayatana:/12.1/openSUSE_12.1/ Ayatanaroot's password:
Adding repository 'Ayatana' [done]
Repository 'Ayatana' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://download.opensuse.org/repositories/GNOME:/Ayatana:/12.1/openSUSE_12.1/

==>Finally ,install necessary software / package /rpm .We are installing ambience theme , the theme selector extension and necessary icon theme . We need to type in the following command in the terminal window . We need to choose to upgrade "mutter" by allowing change of vendor .
sudo zypper in gtk3-metatheme-ambiance gnome-colors-icon-theme gnome-shell-extension-user-theme
Sample Zypper output
anonymous@linux-9p85:~> sudo zypper in gtk3-metatheme-ambiance gnome-colors-icon-theme gnome-shell-extension-user-theme

Retrieving repository 'Ayatana' metadata [done]
Building repository 'Ayatana' cache [done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: gtk3-metatheme-ambiance-0.1.8.25-4.1.noarch requires mutter-ubuntu, but this requirement cannot be provided
uninstallable providers: mutter-3.2.1-2.3.1.i586[Ayatana]
Solution 1: install mutter-3.2.1-2.3.1.i586 (with vendor change)
openSUSE --> obs://build.opensuse.org/GNOME
Solution 2: do not install gtk3-metatheme-ambiance-0.1.8.25-4.1.noarch
Solution 3: break gtk3-metatheme-ambiance by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c] (c): 1
Resolving dependencies...
Resolving package dependencies...
The following NEW packages are going to be installed:
gnome-colors-icon-theme gnome-shell-extension-user-theme gtk2-engine-murrine gtk3-engine-unico gtk3-metatheme-ambiance
The following package is going to be upgraded:
mutter
The following package is going to change vendor:
mutter openSUSE -> obs://build.opensuse.org/GNOME
1 package to upgrade, 5 new, 1 to change vendor.
Overall download size: 5.5 MiB. After the operation, additional 20.1 MiB will be used.
Continue? [y/n/?] (y): y
Retrieving package mutter-3.2.1-2.3.1.i586 (1/6), 551.0 KiB (1.8 MiB unpacked)
Retrieving: mutter-3.2.1-2.3.1.i586.rpm [done (63.9 KiB/s)]
Retrieving package gnome-colors-icon-theme-5.5.1-15.1.noarch (2/6), 4.7 MiB (19.3 MiB unpacked)
Retrieving: gnome-colors-icon-theme-5.5.1-15.1.noarch.rpm [done (63.8 KiB/s)]
Retrieving package gtk3-engine-unico-1.0.1-6.3.i586 (3/6), 35.0 KiB (97.0 KiB unpacked)
Retrieving: gtk3-engine-unico-1.0.1-6.3.i586.rpm [done (0 B/s)]
Retrieving package gtk2-engine-murrine-0.98.1.1-5.1.2.i586 (4/6), 101.0 KiB (352.0 KiB unpacked)
Retrieving: gtk2-engine-murrine-0.98.1.1-5.1.2.i586.rpm [done (65.3 KiB/s)]
Retrieving package gnome-shell-extension-user-theme-3.2.0-2.3.1.noarch (5/6), 17.0 KiB (21.0 KiB unpacked)
Retrieving: gnome-shell-extension-user-theme-3.2.0-2.3.1.noarch.rpm [done (0 B/s)]
Retrieving package gtk3-metatheme-ambiance-0.1.8.25-4.1.noarch (6/6), 93.0 KiB (236.0 KiB unpacked)
Retrieving: gtk3-metatheme-ambiance-0.1.8.25-4.1.noarch.rpm [done (68.8 KiB/s)]
Installing: mutter-3.2.1-2.3.1 [done]
Installing: gnome-colors-icon-theme-5.5.1-15.1 [done]
Installing: gtk3-engine-unico-1.0.1-6.3 [done]
Installing: gtk2-engine-murrine-0.98.1.1-5.1.2 [done]
Installing: gnome-shell-extension-user-theme-3.2.0-2.3.1 [done]
Installing: gtk3-metatheme-ambiance-0.1.8.25-4.1 [done]

Download and install Shell Themes
==>You can download two shell ambience themes (GNOME Shell - Ubuntu Ambiance by ~half-left) here and (Ambiance-Like GS by ~tgraeca84) here
==>The themes obtained may be extracted and placed under ".themes" folder in user's home.Ensure that the folder structure of your themes is as follows.Here '~' represents users home folder
~/.themes/Ambiance-like GS/gnome-shell
~/.themes/Ubuntu-Ambiance-3.2/gnome-shell
Ensure folder structure similar to below screenshot for shell themes
Apply Installed Themes
  After installing GTK and Shell themes
==>Restart GNOME shell by  pressing and Alt+F2 and typing in 'r' in the command launch window
==>Open GNOME Tweak or Advanced Settings tool by keying in "gnome-tweak-tool" after pressing Alt+F2 and then apply the required themes in the tool . Ensure that the extension "gnome-shell-extension-user-theme" is enabled.
==>You can find Ambience wall paper inside  "ambiance_like_gs" archive.You can move this to your "~/Pictures" folder.You can then set the desktop wallpaper by using "gnome-control-center" command in quick launch window(Alt+F2) and then using the "background" tool and then selecting Pictures folders in the drop down on the left hand side of the tool.
Enable User Themes Extension in "gnome-tweak-tool"
Apply the required themes
Set wallpaper using "gnome-control-center" by selecting Pictures Folder

No comments:

Post a Comment