LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   trouble details "sticky" with [b]username[/b] not $HOME contents (https://www.linuxquestions.org/questions/linux-desktop-74/trouble-details-sticky-with-%5Bb%5Dusername%5B-b%5D-not-%24home-contents-818145/)

SaintDanBert 07-05-2010 06:27 PM

trouble details "sticky" with [b]username[/b] not $HOME contents
 
QUESTION: How can per-user desktop details (gnome) follow a username instead of the contents of /home/username?

I'm running Ubuntu Lucid on a Lenovo Thinkpad.

So I have this problem with the gnome panel for user=XXXX. After hours
of tinkering without success, I decide to make a fresh user, abandon the per-user context and migrate the data files.

I run users-admin and create a fresh new user=NNNN.

From a terminal, I do the following:
Code:

user@host:/path/ $ #--- enable root authority
user@host:/path/ $ sudo -i
user@host:/path/ $ #--- we want to alter /home folders
user@host:/path/ # cd /home
user@host:/path/ # ls
  XXXX  NNNN
user@host:/path/ $ #--- swap the new user $HOME with old user $HOME
user@host:/path/ # mv XXXX  TTTT
user@host:/path/ # mv NNNN  xxxx
user@host:/path/ # mv TTTT  NNNN
user@host:/path/ $ #--- update ownership
user@host:/path/ # chown -Rv  XXXX:XXXX  XXXX
user@host:/path/ # chown -Rv  NNNN:NNNN  NNNN

At this point, I expect that a login as user=XXXX will get the context
from the $HOME=/home/NNNN (before rename). I also expect that a login
as user=NNNN will get the context from the $HOME=/home/XXXX (before rename). The original username would thus have a freshly made user
desktop and the new username would thus have the desktop with problems.
Instead, both username exhibit the troubled gnome panel.

No idea,
~~~ 0;-Dan

JZL240I-U 07-06-2010 01:15 AM

AFAIK the desktop settings are stored in directories like /home/user/.kde4 (or in your case ~/.gnome?) -- which you copied too. Just renaming that directory should prompt gnome to create a new (working one).

SaintDanBert 07-06-2010 10:15 AM

I found some per-user context outside of $HOME folder tree.

I found two folder trees outside of the usual $HOME tree.
  • /var/tmp/kdecache-username/*
  • /var/cache/gdm/[i]username[/]/*

I don't know what they are, yet, and would welcome useful explanation.

~~~ 0;-Dan


All times are GMT -5. The time now is 11:54 AM.