[kanchilug] Re: Problem in setting Appearance!!!

  • From: Dhastha Gheer <dhasthagheer@xxxxxxxxx>
  • To: kanchilug@xxxxxxxxxxxxx
  • Date: Sun, 18 Jul 2010 08:23:44 +0530

On Sun, Jul 18, 2010 at 8:02 AM, rajesh ss <rajipce@xxxxxxxxx> wrote:
>
> Hi friends!
>
> when I log into the system, sometimes the appearance setting not running
> properly. The problem I found is shown in figure. Can anyone give the
> solution?
>
>
>
> with regards,
> rajesh
>



The solution is

Open your terminal type following

~$ gedit /etc/X11/Xsession.d/55gnome-session_gnomerc

Add the following line


# 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 change /etc/X11/Xsession.d/99x11-common_start completely, to the
following text:

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



-- 
 Cheers,

 Dhastha

 Kanchi Linux User Group Rocks !

 http://kanchilug.wordpress.com

 My Works on Linux

 http://dowithlinux.wordpress.com

Other related posts: