Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


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

Rep: Reputation: 103Reputation: 103
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:
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 
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
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,045

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
Senior Member
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.3 with Cinnamon & KDE
Posts: 1,534
Blog Entries: 3

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


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 > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:38 AM.

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