Mobius
Posts: 238
Joined: Thu Aug 30, 2012 1:07 am
Location: San Angelo, Texas USA

Can't add icons to Desktop

Thu Dec 20, 2012 3:03 pm

I added a new user and copied everything in the /home/pi directory to the new user folder then, after logging in as the new user, I deleted the pi user and home folders. Everything seems to work as expected except when I do "startx" I cannot add anything to the desktop. I can run programs like NetSurf and Midori but the "Add to desktop" option no longer works. I did run "sudo visudo" and gave the new user full sudo rights. Any ideas?

Mobius
Posts: 238
Joined: Thu Aug 30, 2012 1:07 am
Location: San Angelo, Texas USA

Re: Can't add icons to Desktop

Thu Dec 20, 2012 3:38 pm

Ok, solved it. I'm new to Linux so I didn't realize that when I copied the folders from user pi into the new user folder that the owner and group would get set to "root". Found the command to set owner and group to the new user: sudo chown <username:username> filename

In my case it was: sudo chown tom:tom Desktop
And: sudo chown tom:tom python_games

Confirmed it with "ls -l" and then was able to add icons to the Desktop.

Return to “Beginners”