LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-30-2010, 07:17 AM   #1
Al_
Member
 
Registered: Jun 2009
Location: Switzerland
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 15
Theme in Ubuntu not applied to menu bars at startup


The theme I have chosen in Ubuntu 10.04 (Ambiance with buttons in the upper right-hand corner) is not applied to the menu bars at boot/login. Menu and title bars should be very dark with a white font. When I boot the computer, the application title bar is correctly formatted, but the main menu bar of gnome and the menu bars of all applications are black font on gray background. When I open the theme selection (in German Einstellungen | Erscheinungsbild, in English likely something like Preferences | Appearance), the correct theme is applied to menu bars without that I have to select the theme again; simply opening the Appearance dialog suffices.

First I did not name my modified theme (showed up as first theme in the theme selection dialog, user modified). In trying to solve the above issue I gave the theme a name, but the strange behaviour persists.

Any hints where I can make the theme automatically and completely applied at boot are appreciated.

Al_
 
Old 05-31-2010, 12:10 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Presumably you did something like this?
http://ubuntuforums.org/showthread.php?t=1434658

Are other themes persistent?

note: I'd normally select a theme from system > preferences > appearance ... you are right
 
Old 05-31-2010, 12:16 PM   #3
Al_
Member
 
Registered: Jun 2009
Location: Switzerland
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
Presumably you did something like this?
http://ubuntuforums.org/showthread.php?t=1434658
Yes, limited to the gconf-editor part to move the buttons.

Quote:
Originally Posted by Simon Bridge View Post
Are other themes persistent?
Good point. I just tried it with DarkRoom (as this also has a dark menu bar): no, this theme is also not persistent after a boot; but something is stored anyway, as the DarkRoom theme is preselected and re-applied as soon as I open the appearances dialog, i.e., same behavior as with the modified Ambiance theme.
 
Old 06-01-2010, 06:27 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
in gconf-editor, change button_layout value to menu:maximize,minimize,close

Do you only lose settings on reboot? eg. what if you just log out and log back in.
You have said that another dark theme is not persistent, but have not said if any other themes are persistent.
 
Old 06-02-2010, 12:02 PM   #5
Al_
Member
 
Registered: Jun 2009
Location: Switzerland
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
in gconf-editor, change button_layout value to menu:maximize,minimize,close
Did unluckily not solve the issue.

Quote:
Do you only lose settings on reboot? eg. what if you just log out and log back in.
After logout - login the selected theme is lost, too. Again, as soon as I open the theme selection dialog, the theme is automatically re-applied.

Quote:
You have said that another dark theme is not persistent, but have not said if any other themes are persistent.
Also other themes are not persistent.
 
Old 06-02-2010, 02:28 PM   #6
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: SLED, openSUSE
Posts: 1,009

Rep: Reputation: 171Reputation: 171
After you log in, when the theme is not being applied correctly, run this command
Code:
$ ps U $USER | grep gnome-settings-daemon
and make a note of the output. Then when you've opened Gnome Appearance Preferences and the theme is being applied correctly run that command again. Post the output of both times you ran the command.
 
1 members found this post helpful.
Old 06-04-2010, 12:06 PM   #7
Al_
Member
 
Registered: Jun 2009
Location: Switzerland
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
Smile [solved]

@arizonagroovejet: your advice allowed me to solve the issue.

prior to opening theme dialog (i.e., with wrong theme)
Quote:
4606 pts/0 S+ 0:00 grep gnome-settings-daemon
with theme dialog open (and thus correct theme applied)
Quote:
4637 ? Ss 0:00 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
4643 pts/0 S+ 0:00 grep gnome-settings-daemon
theme dialog closed
Quote:
4637 ? Ss 0:00 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
4645 pts/0 S+ 0:00 grep gnome-settings-daemon
My conclusion: gnome-settings-daemon does not start automatically as it should. So, next, I logged out and in again, then manually started in a terminal window gnome-settings-daemon. The theme was indeed applied! I also get the following error message, that I hope is only caused because the daemon was not started directly during login.
Quote:
$ Unable to find a synaptics device.

** (gnome-settings-daemon:5112): WARNING **: Grab failed for some keys, another application may already have access the them.
Then I added gnome-settings-daemon to the startup programs in System Settings. Again logged in and out; and the correct theme is applied.

Many thanks!
 
Old 06-04-2010, 01:11 PM   #8
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: SLED, openSUSE
Posts: 1,009

Rep: Reputation: 171Reputation: 171
In Gnome 2.24 I found that gnome-settings-daemon sometimes failed to start up at login. Most of the time it did, sometimes it didn't. Never did work out why. I did much the same as you did except I created a second start up item for gnome-settings-daemon with a 15 second delay. If you try and start it and it's already running then it exits gracefully so you don't end up with two copies running, but it failed to start on login for some reason, then it starts up with the second attempt.
 
Old 06-05-2010, 01:42 AM   #9
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Hmmm... has been an on-again-off-again thing before.
http://ubuntuforums.org/archive/index.php/t-688522.html
... has pretty much the same fix, but a suggestion to edit /etc/hosts so the localhost line includes the hostname as well.

this old bug involves theme messes and suggests adding

#!/bin/sh
exec gnome-session

to the $HOME/.Xsession file.

But every one of these seems to get helpful error messages.
arizonagroovejet - have you files this as a bug at all?
 
  


Reply

Tags
themes


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ratpoison gives me menu bars - that's not right!!!! Wombat Pete Linux - Software 0 04-24-2010 11:49 AM
Menu bars (on top and bottom of desktop) disappear in Ubuntu 7.10 Olahh Ubuntu 1 11-06-2007 11:23 AM
xubuntu menu bars are gone jarco Ubuntu 5 04-06-2007 04:52 AM
Cursor theme not applied in firefox nerzack Linux - Software 0 04-17-2006 11:06 AM
How to hide menu bars in gnome joelanders Linux - Newbie 2 11-22-2004 06:21 PM


All times are GMT -5. The time now is 05:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration