You are not logged in.

#1 2016-03-08 22:42:25

photobix
Member
Registered: 2012-10-29
Posts: 8

[solved] gnome is showing /home/$user instead of /home/$user/desktop

Hi,

I did a reinstall and a mistake -> I used legacy instead of EFI.
So, it's Linux, let's change it smile
Changing from legacy to EFI (reformating /dev/sda1 to FAT32, set type to EF00, reinstall syslinux, etc.

Now, my scheme is:

/sda -> M.2 SSD
/sdb -> internal HDD

/dev/sda1 -> /boot
/dev/sda2 -> / (luks)
/dev/sdb1 -> /mnt/data (luks, open via key while boot)

In /home are only the dotfiles/-folders. The other folders (like Desktop, Documents, etc) are stored in /mnt/data. I did a "ln -s /mnt/data/Desktop /home/$user/Desktop to link them to my home directory.

In the first boot, I was not able to decrypt /dev/sdb1 (no idea why), but I was able to boot and to logon. Then, I saw the main problem: The gnome Desktop shows the content of /home/$user and not longer the content from /home/$user/Desktop.

Does anyone have an idea, how I can fix this?

Thank you, photobix

Last edited by photobix (2016-03-09 05:43:40)

Offline

#2 2016-03-08 23:01:23

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [solved] gnome is showing /home/$user instead of /home/$user/desktop

What is the actual mount situation when you're logged in?

lsblk

Also, how do you handle the mounting? /etc/crypttab?


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2016-03-08 23:34:17

photobix
Member
Registered: 2012-10-29
Posts: 8

Re: [solved] gnome is showing /home/$user instead of /home/$user/desktop

Hi,

lsblk output:

photobix@karotte: ~ $ lsblk
NAME           MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda              8:0    0  59.6G  0 disk  
├─sda1           8:1    0   512M  0 part  /boot
└─sda2           8:2    0  59.1G  0 part  
  └─root       254:0    0  59.1G  0 crypt /
sdb              8:16   0 465.8G  0 disk  
└─sdb1           8:17   0 465.8G  0 part  
  └─sdb1_crypt 254:1    0 465.8G  0 crypt /mnt/data

I have a line in my crypttab:

sdb1_crypt	/dev/disk/by-uuid/1ba84776-d867-4ddd-b255-b1d18f5c3582		/root/keyfile	luks

The mounting thing is fine, it's working like a charme.
The only problem is, that gnome does not show the content of /home/$user/Desktop, but /home/$user
I can access all my data, incl. the symlinks, now showing up at my desktop.
In my mind, I only have to edit one line (which folder represents the Desktop), but I can't find the correct file to edit.

Good night (it's after midnight in Germany), photobix

Offline

#4 2016-03-09 00:46:43

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: [solved] gnome is showing /home/$user instead of /home/$user/desktop


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#5 2016-03-09 05:43:18

photobix
Member
Registered: 2012-10-29
Posts: 8

Re: [solved] gnome is showing /home/$user instead of /home/$user/desktop

Yes!

I have no idea why, but in ~/.config/user-dirs.dirs all variables where set to /home/$user.

Thank you very much smile

Offline

Board footer

Powered by FluxBB