Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st June 2012, 10:35 PM
Bad2theBone's Avatar
Bad2theBone Offline
Registered User
 
Join Date: Jan 2007
Location: Lawrenceville, Georgia
Posts: 352
linuxfirefox
Unhappy Permanently removing certain folders from my home

I am trying to permanently delete the following folders in my home directory; Downloads, Documents, Music, Videos, Pictures, Public & Templates. I'll delte all 7 of them, then remove reference to them in the user-dirs.dirs file under .config. I can then close and reopen Nautilus and they are gone as they should be. However when I logout and back in again viola they reappear! How do I get rid of them. I have these folders on different filesystems/Logical Volumes in some cases different Volume Groups in my system.

I had tried editing user-dirs.dirs so each one pointed to the equivalent VG/LV/folders, but my mount points are not named the same way. My Downloads equivalent is /pub/dnlds/, as a result the title under computer in the left payne shows up as dnlds and not Downloads. I had even tried symbolic links from actual folder to the corresponding folder in /home, with no luck.

I am running Fedora 17 (the released version) with both Cinnamon and Gnome Shell. Both give me the same results. (I realize that Cinnamon is essentially Gnome Shell with extensions that cause it to behave differently).
__________________
Hey, I was born confused, what's your excuse?!?!?! :D
AMD Phenom II 965 64 X4, MSI 890FXA-GD70 8 GB (4x2GB) 1600 DDR3 RAM Corsair, Video = AMD HD5770 w/1GB VRAM, SATAIII SSD 1 = 256GB, SATAIII 2 = 600GB, SATAII 3 = 1.0TB, SATAII 4 = 1.0TB, SATAIII 5 = 1.0TB, SATA 7 = ASUS DVD/CD, Corsair HX850W, CoolMaster ATCS840 OS = Fedora 18
Reply With Quote
  #2  
Old 2nd June 2012, 12:10 AM
jswmcw's Avatar
jswmcw Offline
Registered User
 
Join Date: Jan 2011
Location: Ohio
Posts: 44
Have you tried setting up the mounts in /etc/fstab? That's what I do. For example:

/pub/dnlds /home/<username>/Downloads none bind

Sorry if it looks messed up. I'm on my phone.
Sent from my ADR6300 using Tapatalk 2
__________________
:C
"Anybody who tells me I can't use a program because it's not open source, go suck on rms. I'm not interested. 99% of that I run tends to be open source, but that's _my_ choice, dammit." -- Linus Torvalds, 2004.
Reply With Quote
  #3  
Old 2nd June 2012, 12:20 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
linuxfirefox
Re: Permanently removing certain folders from my home

Does this make sense? (see this reference)

http://freedesktop.org/wiki/Software/xdg-user-dirs


Maybe you go into /etc/xdg/user-dirs.conf

and set this:
Quote:
enabled=False
then you can do what you want to those directories

A possibly better way is to make a new file in ~/.config/user-dirs.conf
so you're doing the change only per-user and just put the one line in there:
Quote:
enabled=False
so you're only affecting your personal account and not the whole system

Last edited by marko; 2nd June 2012 at 12:24 AM.
Reply With Quote
  #4  
Old 2nd June 2012, 01:20 AM
oystercatcher Offline
Registered User
 
Join Date: Jul 2004
Posts: 241
macosmidori
Re: Permanently removing certain folders from my home

I have been doing it differently , commenting out the directories
that I was not interested in having ---
/etc/xdg/user-dir.defaults

but I like your way better.

thanks

Last edited by oystercatcher; 2nd June 2012 at 01:38 AM.
Reply With Quote
  #5  
Old 2nd June 2012, 01:46 AM
Bad2theBone's Avatar
Bad2theBone Offline
Registered User
 
Join Date: Jan 2007
Location: Lawrenceville, Georgia
Posts: 352
linuxsafari
Re: Permanently removing certain folders from my home

Marko, thanks that sounds like that is what I was looking for. I will try it later and let you know how it works.

Mario, that did it. I just put the enable=False statement in ~/.config/user-dirs.conf and it worked like a champ. Thanks again.
__________________
Hey, I was born confused, what's your excuse?!?!?! :D
AMD Phenom II 965 64 X4, MSI 890FXA-GD70 8 GB (4x2GB) 1600 DDR3 RAM Corsair, Video = AMD HD5770 w/1GB VRAM, SATAIII SSD 1 = 256GB, SATAIII 2 = 600GB, SATAII 3 = 1.0TB, SATAII 4 = 1.0TB, SATAIII 5 = 1.0TB, SATA 7 = ASUS DVD/CD, Corsair HX850W, CoolMaster ATCS840 OS = Fedora 18

Last edited by Bad2theBone; 2nd June 2012 at 03:42 AM.
Reply With Quote
Reply

Tags
folders, home, permanently, removing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
defaul home Folders xpzion7 Using Fedora 3 18th February 2012 09:13 PM
[SOLVED] Deleted folders from /home/user/ Jalovcan Using Fedora 4 19th November 2011 11:15 PM
Decapitalising Folders in Home? Mordent Using Fedora 2 11th February 2009 09:04 PM
Will removing harddrive temporarily mean that my LVM will be permanently damaged? Jongi Using Fedora 0 7th November 2006 01:33 PM
samba sharing only home folders, nothing else lucian303 Servers & Networking 0 6th September 2006 04:34 AM


Current GMT-time: 01:36 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat