Solved

Ubuntu 14.04 – How to Change Home Directory

Posted on 2015-02-12
2
310 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
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 87

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now