WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ~/. locale cannot be deleted completely  (Read 4003 times)

tinycorelinux

  • Guest
~/. locale cannot be deleted completely
« on: November 22, 2020, 11:58:51 AM »
After I deleted the ~/.local folder (an empty folder) ,and deleted the first few lines of code in the ~/.profile, it will be re-created every time the system restarts. How can I completely delete it? What other scripts control it?
« Last Edit: November 22, 2020, 12:02:40 PM by ONE »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: ~/. locale cannot be deleted completely
« Reply #1 on: November 22, 2020, 01:33:53 PM »
Hi ONE
Maybe it's being restored from your backup? After you make your deletions, run a backup and see if it still happens.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: ~/. locale cannot be deleted completely
« Reply #2 on: November 22, 2020, 07:43:50 PM »
Hi ONE
Do you have a persistent  /home  directory?
What does this command return:
Code: [Select]
showbootcodes

tinycorelinux

  • Guest
Re: ~/. locale cannot be deleted completely
« Reply #3 on: November 22, 2020, 07:47:42 PM »
Yes.
Code: [Select]
...nobackup home=sda...

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: ~/. locale cannot be deleted completely
« Reply #4 on: November 22, 2020, 07:56:11 PM »
Hi ONE
What do these 2 commands return:
Code: [Select]
showbootcodes
cat /opt/.filetool.lst

tinycorelinux

  • Guest
Re: ~/. locale cannot be deleted completely
« Reply #5 on: November 22, 2020, 08:43:37 PM »
Hi ONE
What do these 2 commands return:
Code: [Select]
cat /opt/.filetool.lst
nothing at all.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: ~/. locale cannot be deleted completely
« Reply #6 on: November 22, 2020, 08:54:41 PM »
Hi ONE
Based on the information you provided, I see nothing that should alter your  ~/.profile  file or recreate  ~/.local.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: ~/. locale cannot be deleted completely
« Reply #7 on: November 22, 2020, 11:26:48 PM »
Hi ONE
Why are you trying to remove  ~/.local ?

tinycorelinux

  • Guest
Re: ~/. locale cannot be deleted completely
« Reply #8 on: November 22, 2020, 11:45:25 PM »
Hi ONE
Why are you trying to remove  ~/.local ?
I feel a bit redundant.
« Last Edit: November 22, 2020, 11:47:27 PM by ONE »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: ~/. locale cannot be deleted completely
« Reply #9 on: November 23, 2020, 12:02:53 AM »
Hi ONE
~/.local/bin  is a place you can put scripts and other executables and the system will find them because they are in the
path. It also doesn't require a separate backup or an extension to be created.

tinycorelinux

  • Guest
Re: ~/. locale cannot be deleted completely
« Reply #10 on: November 23, 2020, 03:08:32 AM »
Hi ONE
~/.local/bin  is a place you can put scripts and other executables and the system will find them because they are in the
path. It also doesn't require a separate backup or an extension to be created.
I know, but it's really no use to me.
« Last Edit: November 23, 2020, 03:12:04 AM by ONE »