Solved

Ubuntu 14.04 – How to Change Home Directory

Posted on 2015-02-12
2
330 Views
Last Modified: 2015-03-18
Hi,

I've a dual boot system, Windows 7 with Ubuntu 14.04,. There is only one user in Ubuntu and only one in Windows too.

How can I point my Ubuntu user's Documents, Downloads, Pictures etc. Folders to the one on Windows 7 User's? So that whatever OS I'm in, I've the same documents / downloads / pics folder when I save / open my files by default?

Thanks.
0
Comment
Question by:practitioner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 40605303
In Ubuntu, mount the windows drive / folder and then save to those folders.
0
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 40605360
First of all, On Windows you will need another User account. You need at least an Admin account (which you never use except for specific admin tasks), and a standard Account that doesn't have Admin rights which is your normal working account. If anything requires Admin rights, UAC will pop up and prompt you for your admin credentials. That makes it much safer to work and harder for malware to infect the PC.

In Ubuntu under /media/ create a folder, maybe named Windows. Then change your fstab so that your your Windows partition is automatically mounted to that folder when the system boot up. The ubuntu help pages explain how that is done:

https://help.ubuntu.com/community/MountingWindowsPartitions

After that create a Symlink in your /home/UserName/Documents folder that points to your /media/Windows/Users/WindowsUserName/Documents folder, maybe named "WindDocs"

ln -s /media/Windows/Users/WindowsUserName/Documents /home/UbuntuUserName/Documents/WinDocs

You can then access the documents directory on your Windows partition via your Ubuntu Documents/WinDocs folder.

You can create more symlinks for further directories of your Windows Partition.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question