Author Topic: Deleting folders from desktop (SOLVED)  (Read 5381 times)

oldhack

  • Guest
Deleting folders from desktop (SOLVED)
« on: October 01, 2015, 03:57:43 PM »
I have recently installed wattOS and I am very pleased with this OS, however, I have tried to delete one of the desktop folders that appeared on the original install (/home) desktop without success. I am unable to permanently delete or get rid of the 'Template' folder in any way (I can end up with several copies in the trash file!) On a restart I log back in and there it is again.
I would welcome some help to deal with this bit of trivia, only because I don't want or use a 'Template' folder it is very irritating! Can someone help please?

(I am using a GPS partioned ext4 file system on an HP Envy dv7)
« Last Edit: October 04, 2015, 09:55:15 PM by oldhack »

leenie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 234
    • View Profile
Re: Deleting folders from desktop
« Reply #1 on: October 01, 2015, 05:10:56 PM »
Hello and welcome. We need to know exactly which wattOS you are using. If LXDE, I can help.

oldhack

  • Guest
Re: Deleting folders from desktop
« Reply #2 on: October 02, 2015, 12:13:09 PM »
Thank you for your prompt response and my apologies (another brainslip!)
I am using R9 and LXDE on a GPT partitioned HD.

leenie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 234
    • View Profile
Re: Deleting folders from desktop
« Reply #3 on: October 02, 2015, 02:41:06 PM »
Hi, your subject said delete folders from desktop, this should say deleting folders from home folder. I have duplicated what you said happens with deleting Template folder. Same result with opening the home folder with root privileges. Biff will see this, he will know how. I use my templates folder for greeting card templates. It does come in handy to have a place for them.
« Last Edit: October 02, 2015, 02:45:53 PM by leenie »

oldhack

  • Guest
Re: Deleting folders from desktop
« Reply #4 on: October 02, 2015, 03:01:53 PM »
Hello leeni,
- you are right it is no real problem to have an additional template folder except I already have a folder for temp files. I am new with Linux and I frequently get confused (my excuse!) with 'element' identities, I should have taken more care to specify the home folder. Again my apologies for misleading info.

leenie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 234
    • View Profile
Re: Deleting folders from desktop
« Reply #5 on: October 02, 2015, 06:34:27 PM »
No problem. I was new to Linux as we all were. Your Template folder is not the same as the temp files folder. I use Templates Folder for the card templates for my office writer program.

seppalta

  • Guest
Re: Deleting folders from desktop
« Reply #6 on: October 02, 2015, 10:45:01 PM »
Folders in your home directory determined in /home/me/.config/user-dirs.dirs .

oldhack

  • Guest
Re: Deleting folders from desktop
« Reply #7 on: October 03, 2015, 01:10:09 AM »
seppallta,
I do not have such a directory or file  /user-dirs.dirs   -  in my /home/john/.config/
Can you be mre specific about this configuration - is it part of  - R9 version?

leenie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 234
    • View Profile
Re: Deleting folders from desktop
« Reply #8 on: October 03, 2015, 03:00:00 AM »
You have to change the name of the Templates folder. Then you can delete it successfully.

oldhack

  • Guest
Re: Deleting folders from desktop
« Reply #9 on: October 03, 2015, 03:47:48 PM »
Hi leenie,

Thanks for the response, unfortunately I tried renaming but that did not get rid,  - 'Template'    still returned after a reboot. I also tried this in 'root' but it didn't work, no matter what name I give it, 'Template' returns after a reboot.
I have been looking for some kind of  ~ /config file hidden somewhere and there are a few, one of which looked promising  - /etc/apparmor.d/tunables/xdg-users-dirs but after changing elements of this file, this did not have any effect. So back to square one. I may eventually give up and just leave it.
Thanks for your help.

leenie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 234
    • View Profile
Re: Deleting folders from desktop
« Reply #10 on: October 03, 2015, 04:42:00 PM »
Not to worry, Biff or Cheiron will see this and maybe they can help.

seppalta

  • Guest
Re: Deleting folders from desktop
« Reply #11 on: October 04, 2015, 01:44:28 AM »
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

Name the above user-dirs.dirs and put it in .config appropriately edited to what you want.

oldhack

  • Guest
Re: Deleting folders from desktop (SOLVED)
« Reply #12 on: October 04, 2015, 01:22:44 PM »
Hi seppalta,

You gave me the solution!
After much 'tinkering' and managing to badly mess up the OS, I decided to completely re-install it.
Interestingly the file  - user-dirs.dirs   - was not created (again) on reinstall, in the .config file, so I copied the configuration from you, into the .config file and with the appropriate modification to delete the 'Template' file, it is now working correctly.
Thank you very much for your help.