r3dux.org

A number-pimping side project from the valleys in *NEW* upside-down flavour.
  • rss
  • Home
  • About
  • Email

How To: Fix Gnome Icon Themes That Won’t Change

r3dux | November 25, 2009

When configuring your Gnome appearance and icon themes in Ubuntu 9.10 do they keep reverting to some ugly defaults? Yeah, mine were too. The problem’s related to gnome-settings-daemon, as seen here.

The fix:

Modify the file: /etc/X11/Xsession.d/55gnome-session_gnomerc so that it contains the following two additional lines (shown in comments):

# ADD FOLLOWING LINE
rm -f /tmp/session-is-gnome
BASESTARTUP=`basename "$STARTUP" | cut -d\  -f1`
if [ "$BASESTARTUP" = gnome-session -o \
        \( "$BASESTARTUP" = x-session-manager -a \
        "`readlink /etc/alternatives/x-session-manager`" = \
                /usr/bin/gnome-session \) ]; then
  GNOMERC=$HOME/.gnomerc
  if [ -r "$GNOMERC" ]; then
    . "$GNOMERC"
  fi
  # ADD FOLLOWING LINE
  touch /tmp/session-is-gnome
fi

Then modify the file: /etc/X11/Xsession.d/99×11-common_start to contain only the following code:

if [ -f /tmp/session-is-gnome ]; then
  exec /usr/bin/dbus-launch $STARTUP
else
  exec $STARTUP
fi

Fixed! Next!

Update: Although gnome-settings-daemon is definitely the guilty party here, the above fix doesn’t resolve it dying on login all the time, although it does increase the odds of starting correctly. If your icons switch back to some drab default, or other such off behaviour, check gnome-settings-daemon hasn’t died on start with ps -ef | grep gnome-settings, if it’s not running, you know it’s the problem. Will have to research this a bit more…

Comments
No Comments »
Categories
How-To, Linux
Tags
Broken, Gnome, gnome-settings-daemon, Icon, Icon-Theme, icons

Comments rss Comments rss
Trackback Trackback

Translate

Categories

Archives

  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009

Post Calendar

July 2010
M T W T F S S
« Jun    
 1234
567891011
12131415161718
19202122232425
262728293031  

Tags

10.04 360 ActionScript ActionScript 3.0 Adobe Ballarat Bash Compiz Controller CS4 CUFDIG302A Effect Film Fire Flash Gaming Hack How-To install Jaunty Josh Joplin Group Linkage Linux Little Big Planet Motion mount Music NAS Particle photography Photoshop Problem PS3 r3dux.org Retro Slides Softmod Sound Systems Ubuntu Video VirtualBox Wii Windows XBox

Linkage

  • 9GAG
  • A Day in the Life of Jim
  • Truxnor.net

Gamercard

Prepare for Awesome

Misc.

Creative Commons License

stopsoftwarepatents.eu petition banner

“If you think good architecture is expensive, try bad architecture.”

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox