Solved

Ubuntu 14.04 – How to Change Home Directory

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
capture pcap with filtered traffic 1 61
nagios monitor 3 54
Need To Change Centos 6 Timestamp Form In Log File 24 71
Need BIOS update Linux for MSI X99A motherboard. 4 41
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

770 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