LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-05-2010, 06:27 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,361
Blog Entries: 3

Rep: Reputation: 86
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
 
Old 07-06-2010, 01:15 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,674

Rep: Reputation: Disabled
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).
 
Old 07-06-2010, 10:15 AM   #3
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,361
Blog Entries: 3

Original Poster
Rep: Reputation: 86
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
 
  


Reply

Tags
context, gnome, panels, username


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
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
How to stop bash from replacing "~/" with "/home/username"? daihard Linux - Software 8 08-22-2010 02:32 PM
Why "bash-2.05b$" in Terminal instead of "username@localhost username" jayelitumbiolo Linux - General 9 10-04-2009 03:16 AM
K3b: - Howto re-dock "Directories" and "Contents" windows back into the main window? hagies Linux - Software 4 04-26-2006 08:38 AM
using symlinks for /home/"username" and /var/www/html hamza11050 Linux - Networking 10 08-05-2005 10:36 PM


All times are GMT -5. The time now is 01:03 AM.

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