How can i change the Pictures/Documents/etc directory?
I am a total noob in Ubuntu, and i would like to change the default directory of Documents, Music, Pictures etc. My setting is as follows:
- 1 partition for Windows
- 1 partition for ubuntu
- 1 partition in NTFS format for Storage.
In that particular partition I store the Documents, Pictures etc for Windows.
Now I would like to make the exact same folders that store these stuff in Windows, to store the same stuff in Ubuntu as well. I used the tips I found in one post here, mentioning how to change the lines like this in ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_MUSIC_DIR="/home/common/Music"
XDG_VIDEOS_DIR="$HOME/Movies"
and indeed it works fine, but every time I restart the machine, it's reset to simple "$Home/", without pointing to any actual directory. I mean that if I open the Documents folder, it takes me to an empty folder.
What is it that I'm doing wrong? How can I fix it? Many thanks in advance. (I use 14.04)
my fstab looks like that:
The terminal on the right side has the dev6, which is the partition i want to assign the Home folder to
directory home-directory xdg
|
show 3 more comments
I am a total noob in Ubuntu, and i would like to change the default directory of Documents, Music, Pictures etc. My setting is as follows:
- 1 partition for Windows
- 1 partition for ubuntu
- 1 partition in NTFS format for Storage.
In that particular partition I store the Documents, Pictures etc for Windows.
Now I would like to make the exact same folders that store these stuff in Windows, to store the same stuff in Ubuntu as well. I used the tips I found in one post here, mentioning how to change the lines like this in ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_MUSIC_DIR="/home/common/Music"
XDG_VIDEOS_DIR="$HOME/Movies"
and indeed it works fine, but every time I restart the machine, it's reset to simple "$Home/", without pointing to any actual directory. I mean that if I open the Documents folder, it takes me to an empty folder.
What is it that I'm doing wrong? How can I fix it? Many thanks in advance. (I use 14.04)
my fstab looks like that:
The terminal on the right side has the dev6, which is the partition i want to assign the Home folder to
directory home-directory xdg
what is the exact content of your$HOME/.config/user-dirs.dirs
file ? Please, edit your post. Does this content change after a reboot ? How do you mount your NTFS partition ? may be it's mounted too late during boot or login. That could be why.
– solsTiCe
Jul 21 '15 at 13:24
2
You do have to have partition mounted or it will not recognized different settings. And clicking on partition may auto mount it, but that is too late. You need to add to fstab so auto mounted during boot. I prefer linking which is another way to do it. ubuntuforums.org/showthread.php?t=1811198
– oldfred
Jul 21 '15 at 13:34
This might be the case, oldfred. But like i said, it's my first time in Ubuntu and i probably need a step by step guidance. :) If you'd be so kind, please guide me. Here is the xdg text after i edit it: dl.dropboxusercontent.com/u/30353620/screen1.png and here it is after the restart. dl.dropboxusercontent.com/u/30353620/screen3.png, dl.dropboxusercontent.com/u/30353620/screen4.png
– Odette
Jul 22 '15 at 13:22
I downloaded Ubuntu tweak and it's supposed to be set to automount the disks... but the same thing happens every time i reboot. I don't know if i need to do it manually. If so, please tell me how. Thank you.
– Odette
Jul 22 '15 at 13:24
What is the content of/etc/fstab
. Edit your question above with that.
– solsTiCe
Jul 23 '15 at 11:53
|
show 3 more comments
I am a total noob in Ubuntu, and i would like to change the default directory of Documents, Music, Pictures etc. My setting is as follows:
- 1 partition for Windows
- 1 partition for ubuntu
- 1 partition in NTFS format for Storage.
In that particular partition I store the Documents, Pictures etc for Windows.
Now I would like to make the exact same folders that store these stuff in Windows, to store the same stuff in Ubuntu as well. I used the tips I found in one post here, mentioning how to change the lines like this in ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_MUSIC_DIR="/home/common/Music"
XDG_VIDEOS_DIR="$HOME/Movies"
and indeed it works fine, but every time I restart the machine, it's reset to simple "$Home/", without pointing to any actual directory. I mean that if I open the Documents folder, it takes me to an empty folder.
What is it that I'm doing wrong? How can I fix it? Many thanks in advance. (I use 14.04)
my fstab looks like that:
The terminal on the right side has the dev6, which is the partition i want to assign the Home folder to
directory home-directory xdg
I am a total noob in Ubuntu, and i would like to change the default directory of Documents, Music, Pictures etc. My setting is as follows:
- 1 partition for Windows
- 1 partition for ubuntu
- 1 partition in NTFS format for Storage.
In that particular partition I store the Documents, Pictures etc for Windows.
Now I would like to make the exact same folders that store these stuff in Windows, to store the same stuff in Ubuntu as well. I used the tips I found in one post here, mentioning how to change the lines like this in ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_MUSIC_DIR="/home/common/Music"
XDG_VIDEOS_DIR="$HOME/Movies"
and indeed it works fine, but every time I restart the machine, it's reset to simple "$Home/", without pointing to any actual directory. I mean that if I open the Documents folder, it takes me to an empty folder.
What is it that I'm doing wrong? How can I fix it? Many thanks in advance. (I use 14.04)
my fstab looks like that:
The terminal on the right side has the dev6, which is the partition i want to assign the Home folder to
directory home-directory xdg
directory home-directory xdg
edited Jul 23 '15 at 13:43
muru
1
1
asked Jul 21 '15 at 12:57
OdetteOdette
2613
2613
what is the exact content of your$HOME/.config/user-dirs.dirs
file ? Please, edit your post. Does this content change after a reboot ? How do you mount your NTFS partition ? may be it's mounted too late during boot or login. That could be why.
– solsTiCe
Jul 21 '15 at 13:24
2
You do have to have partition mounted or it will not recognized different settings. And clicking on partition may auto mount it, but that is too late. You need to add to fstab so auto mounted during boot. I prefer linking which is another way to do it. ubuntuforums.org/showthread.php?t=1811198
– oldfred
Jul 21 '15 at 13:34
This might be the case, oldfred. But like i said, it's my first time in Ubuntu and i probably need a step by step guidance. :) If you'd be so kind, please guide me. Here is the xdg text after i edit it: dl.dropboxusercontent.com/u/30353620/screen1.png and here it is after the restart. dl.dropboxusercontent.com/u/30353620/screen3.png, dl.dropboxusercontent.com/u/30353620/screen4.png
– Odette
Jul 22 '15 at 13:22
I downloaded Ubuntu tweak and it's supposed to be set to automount the disks... but the same thing happens every time i reboot. I don't know if i need to do it manually. If so, please tell me how. Thank you.
– Odette
Jul 22 '15 at 13:24
What is the content of/etc/fstab
. Edit your question above with that.
– solsTiCe
Jul 23 '15 at 11:53
|
show 3 more comments
what is the exact content of your$HOME/.config/user-dirs.dirs
file ? Please, edit your post. Does this content change after a reboot ? How do you mount your NTFS partition ? may be it's mounted too late during boot or login. That could be why.
– solsTiCe
Jul 21 '15 at 13:24
2
You do have to have partition mounted or it will not recognized different settings. And clicking on partition may auto mount it, but that is too late. You need to add to fstab so auto mounted during boot. I prefer linking which is another way to do it. ubuntuforums.org/showthread.php?t=1811198
– oldfred
Jul 21 '15 at 13:34
This might be the case, oldfred. But like i said, it's my first time in Ubuntu and i probably need a step by step guidance. :) If you'd be so kind, please guide me. Here is the xdg text after i edit it: dl.dropboxusercontent.com/u/30353620/screen1.png and here it is after the restart. dl.dropboxusercontent.com/u/30353620/screen3.png, dl.dropboxusercontent.com/u/30353620/screen4.png
– Odette
Jul 22 '15 at 13:22
I downloaded Ubuntu tweak and it's supposed to be set to automount the disks... but the same thing happens every time i reboot. I don't know if i need to do it manually. If so, please tell me how. Thank you.
– Odette
Jul 22 '15 at 13:24
What is the content of/etc/fstab
. Edit your question above with that.
– solsTiCe
Jul 23 '15 at 11:53
what is the exact content of your
$HOME/.config/user-dirs.dirs
file ? Please, edit your post. Does this content change after a reboot ? How do you mount your NTFS partition ? may be it's mounted too late during boot or login. That could be why.– solsTiCe
Jul 21 '15 at 13:24
what is the exact content of your
$HOME/.config/user-dirs.dirs
file ? Please, edit your post. Does this content change after a reboot ? How do you mount your NTFS partition ? may be it's mounted too late during boot or login. That could be why.– solsTiCe
Jul 21 '15 at 13:24
2
2
You do have to have partition mounted or it will not recognized different settings. And clicking on partition may auto mount it, but that is too late. You need to add to fstab so auto mounted during boot. I prefer linking which is another way to do it. ubuntuforums.org/showthread.php?t=1811198
– oldfred
Jul 21 '15 at 13:34
You do have to have partition mounted or it will not recognized different settings. And clicking on partition may auto mount it, but that is too late. You need to add to fstab so auto mounted during boot. I prefer linking which is another way to do it. ubuntuforums.org/showthread.php?t=1811198
– oldfred
Jul 21 '15 at 13:34
This might be the case, oldfred. But like i said, it's my first time in Ubuntu and i probably need a step by step guidance. :) If you'd be so kind, please guide me. Here is the xdg text after i edit it: dl.dropboxusercontent.com/u/30353620/screen1.png and here it is after the restart. dl.dropboxusercontent.com/u/30353620/screen3.png, dl.dropboxusercontent.com/u/30353620/screen4.png
– Odette
Jul 22 '15 at 13:22
This might be the case, oldfred. But like i said, it's my first time in Ubuntu and i probably need a step by step guidance. :) If you'd be so kind, please guide me. Here is the xdg text after i edit it: dl.dropboxusercontent.com/u/30353620/screen1.png and here it is after the restart. dl.dropboxusercontent.com/u/30353620/screen3.png, dl.dropboxusercontent.com/u/30353620/screen4.png
– Odette
Jul 22 '15 at 13:22
I downloaded Ubuntu tweak and it's supposed to be set to automount the disks... but the same thing happens every time i reboot. I don't know if i need to do it manually. If so, please tell me how. Thank you.
– Odette
Jul 22 '15 at 13:24
I downloaded Ubuntu tweak and it's supposed to be set to automount the disks... but the same thing happens every time i reboot. I don't know if i need to do it manually. If so, please tell me how. Thank you.
– Odette
Jul 22 '15 at 13:24
What is the content of
/etc/fstab
. Edit your question above with that.– solsTiCe
Jul 23 '15 at 11:53
What is the content of
/etc/fstab
. Edit your question above with that.– solsTiCe
Jul 23 '15 at 11:53
|
show 3 more comments
1 Answer
1
active
oldest
votes
You can add a line in your etc/fstab
/dev/sda6 /media/basislis/Storage ntfs rw,users,nosuid,nodev,default_permissions
This should automatically mount your NTFS share at boot and should normally fix the problem.
You may have to tweak the mount option. Look for documenation on that and educate yourself.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f650930%2fhow-can-i-change-the-pictures-documents-etc-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can add a line in your etc/fstab
/dev/sda6 /media/basislis/Storage ntfs rw,users,nosuid,nodev,default_permissions
This should automatically mount your NTFS share at boot and should normally fix the problem.
You may have to tweak the mount option. Look for documenation on that and educate yourself.
add a comment |
You can add a line in your etc/fstab
/dev/sda6 /media/basislis/Storage ntfs rw,users,nosuid,nodev,default_permissions
This should automatically mount your NTFS share at boot and should normally fix the problem.
You may have to tweak the mount option. Look for documenation on that and educate yourself.
add a comment |
You can add a line in your etc/fstab
/dev/sda6 /media/basislis/Storage ntfs rw,users,nosuid,nodev,default_permissions
This should automatically mount your NTFS share at boot and should normally fix the problem.
You may have to tweak the mount option. Look for documenation on that and educate yourself.
You can add a line in your etc/fstab
/dev/sda6 /media/basislis/Storage ntfs rw,users,nosuid,nodev,default_permissions
This should automatically mount your NTFS share at boot and should normally fix the problem.
You may have to tweak the mount option. Look for documenation on that and educate yourself.
answered Jul 23 '15 at 14:10
solsTiCesolsTiCe
6,10432049
6,10432049
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f650930%2fhow-can-i-change-the-pictures-documents-etc-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
what is the exact content of your
$HOME/.config/user-dirs.dirs
file ? Please, edit your post. Does this content change after a reboot ? How do you mount your NTFS partition ? may be it's mounted too late during boot or login. That could be why.– solsTiCe
Jul 21 '15 at 13:24
2
You do have to have partition mounted or it will not recognized different settings. And clicking on partition may auto mount it, but that is too late. You need to add to fstab so auto mounted during boot. I prefer linking which is another way to do it. ubuntuforums.org/showthread.php?t=1811198
– oldfred
Jul 21 '15 at 13:34
This might be the case, oldfred. But like i said, it's my first time in Ubuntu and i probably need a step by step guidance. :) If you'd be so kind, please guide me. Here is the xdg text after i edit it: dl.dropboxusercontent.com/u/30353620/screen1.png and here it is after the restart. dl.dropboxusercontent.com/u/30353620/screen3.png, dl.dropboxusercontent.com/u/30353620/screen4.png
– Odette
Jul 22 '15 at 13:22
I downloaded Ubuntu tweak and it's supposed to be set to automount the disks... but the same thing happens every time i reboot. I don't know if i need to do it manually. If so, please tell me how. Thank you.
– Odette
Jul 22 '15 at 13:24
What is the content of
/etc/fstab
. Edit your question above with that.– solsTiCe
Jul 23 '15 at 11:53