Graphic display old theme problem in Ubuntu 11.04

Discussions related to using VirtualBox on Windows hosts.
abcuser
Volunteer
Posts: 590
Joined: 10. May 2007, 20:03
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu, Windows XP

Re: Graphic display old theme problem in Ubuntu 11.04

Post by abcuser »

alexsecret wrote:It seems it's a Ubuntu 11.04 bug because it happens to many standalone installations and on different graphics cards.
Is there a bug reported to Ubuntu in Ubuntu's Launcpad?
Sam G
Posts: 7
Joined: 2. Dec 2009, 16:52
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu 10.04 32-bit

Re: Graphic display old theme problem in Ubuntu 11.04

Post by Sam G »

alexsecret wrote:Open a terminal window, go to your home folder (don't forget that) and type:

sudo gedit .gtkrc-2.0 (DO NOT forget the dot in the beginning of the filename)
Type your password and when gedit opens copy/paste the following two entries in that new file.

include "/usr/share/themes/Ambiance/gtk-2.0/gtkrc"
gtk-icon-theme-name = "ubuntu-mono-dark"

The second line will fix the icons in Nautilus.
Save the file, close gedit and restart your VM and...
Sadly this did not work for me. :( Followed the directions to the letter and nada.
josivan
Posts: 7
Joined: 10. Feb 2008, 15:22
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Elementary
Location: Brazil
Contact:

Re: Graphic display old theme problem in Ubuntu 11.04

Post by josivan »

Perfect solution alexsecret.
In my vbox is runing correctly now.

Thank you and congratulations

j.
alexsecret wrote:
abcuser wrote:alexsecret, I have removed all my previous "hacks" and follow your step-by-step instructions and it works fine for me for all applications I have tried out. Excellent, problem solved. Thanks a lot for help.

Just wondering, is this a VirtualBox problem or Ubuntu problem?

I am glad it worked for you too! :wink:
It seems it's a Ubuntu 11.04 bug because it happens to many standalone installations and on different graphics cards. What bothers me is that it was happening since the beta versions and it seems it's not fixed on the final unfortunately!
sixgig
Posts: 11
Joined: 8. Aug 2008, 22:45

Re: Graphic display old theme problem in Ubuntu 11.04

Post by sixgig »

I am having this problem also.

The weird part is that i have 2 separate Ubuntu VM's (I ran the installer independently for each VM).

On one VM the theme appears just fine. On the other VM the theme is the old incorrect theme.

However, putting those two lines inside of my .gtkrc-2.0 file did fix the problem.
algida79
Posts: 6
Joined: 18. Feb 2008, 03:08

Re: Graphic display old theme problem in Ubuntu 11.04

Post by algida79 »

Thanks for the fix, alexsecret.

This bug was driving me nuts!
abcuser
Volunteer
Posts: 590
Joined: 10. May 2007, 20:03
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu, Windows XP

Re: Graphic display old theme problem in Ubuntu 11.04

Post by abcuser »

The problem has reappeared in my case and now I have found out a solution:
http://www.webupd8.org/2011/06/fix-ubun ... ng-to.html
algida79
Posts: 6
Joined: 18. Feb 2008, 03:08

Re: Graphic display old theme problem in Ubuntu 11.04

Post by algida79 »

abcuser wrote:The problem has reappeared in my case...
Same here.

The new fix seems to work better. But unfortunately, Ubuntu's file manager (Nautilus) still stays stuck on the old theme. :(
abcuser
Volunteer
Posts: 590
Joined: 10. May 2007, 20:03
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu, Windows XP

Re: Graphic display old theme problem in Ubuntu 11.04

Post by abcuser »

algida79 wrote:(Nautilus) still stays stuck on the old theme.
It works fine in my case. Have you tried increasing "sleep 5" to "sleep 20" as suggested in article?
algida79
Posts: 6
Joined: 18. Feb 2008, 03:08

Re: Graphic display old theme problem in Ubuntu 11.04

Post by algida79 »

Yes, the sleep value was set to 20 from the "get-go"... :cry:
abcuser
Volunteer
Posts: 590
Joined: 10. May 2007, 20:03
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu, Windows XP

Re: Graphic display old theme problem in Ubuntu 11.04

Post by abcuser »

I have found out that running programs with 'normal' user solution above solves the problem, but using root user, the problem persists.
From terminal:
gedit
nautilus
synaptic
works fine, but using:
gksudo gedit
gksudo nautilus
gksudo synaptic
it gets back to old-style theme.

Has someone also solve this problem for root user?
Post Reply