Whats the .local folder for in my Home Directory

1

This is a recent innovation, followed by Gnome and thus by Ubuntu, to store user-specific data in fixed directories. According to this document, there is

a single directory where user data is stored, defaulting to ~/.local/share; a single directory where configuration is stored, defaulting to ~/.config; a single directory which holds non-essiential data files, defaulting to ~/.cache.

Historically, Unix programs were free to spread their data all over the $HOME directory, putting their data in dot-files (files starting with ".") or subdirectories such as ~/.vimrc and ~/.vim. The new specification is intended to make this behavior more predictable. I suspect this makes backups of application data easier, in addition to giving your home directory a tidier appearance. Not all applications adhere to this standard yet.

In the .local hierarchy, programs put user information such as emails and calendar events. You could manually remove this data, but then the program would...

0 0
2

by

Roland

Last Updated July 11, 2017 17:02 PM

What is the ~/.local folder good for and is it safe to remove the content within this folder?

Answers 3

This is a recent innovation, followed by Gnome and thus by Ubuntu, to store user-specific data in fixed directories. According to this document, there is

a single directory where user data is stored, defaulting to ~/.local/share; a single directory where configuration is stored, defaulting to ~/.config; a single directory which holds non-essiential data files, defaulting to ~/.cache.

Historically, Unix programs were free to spread their data all over the $HOME directory, putting their data in dot-files (files starting with ".") or subdirectories such as ~/.vimrc and ~/.vim. The new specification is intended to make this behavior more predictable. I suspect this makes backups of application data easier, in addition to giving your home directory a tidier appearance. Not all applications adhere to...

0 0
3

Za I'm not entirely sure of your most recent question, but I will warn you about using something other than a Local Path. I have always, across the majority of networks I've been in charge of, connected the Home folder in AD to a network share and that would become that user's 'personal drive'.

Recently however, we've run into problems with software that uses the HOMEDRIVE and HOMEPATH that uses those environmental variables to install portions of it's software to.

I'm currently in the decision making process of whether I want to change the environmental variables in a post processing logon script for those individuals with this software, or if I want to just change the Home Folder option to a local destination in AD.

I know this isn't exactly what you asked, but thought it would be a good FYI that I've recently dealt with for...

0 0
4

The dot (.) hard link is part of the directory entry and is needed to support the path navigation/reference.

It is used for relative paths that refer to a location relative to a current directory. Relative paths make use of two special symbols, a dot (.) and a double-dot (..), which translate into the current directory and the parent directory. Double dots are used for moving up in the hierarchy. A single dot represents the current directory itself.

Let put it with an example:

if you are in /home/Downloads and you type in a terminal ls -a it will shows:

. .. programs stuff

and ls -a in /home/Desktop

. .. somefile

now, imagine you want to copy somefile from /home/Desktop into /home/Downloads and you are in the path /home/Downloads, you could use the short names:

/home/Downloads $ cp ../Desktop/file ./

so, in this example:

".." : is the /home directory

"." : is the /home/Downloads...

0 0
5


Quote:

Yes I want to know how to do it.

I already have 2 NFS folders from this NAS automatically mounted in my PC.

But I don't know how to procede to move my local existing home folder to the NAS.

And change the default folder to store the new documents created.

And to store the new downloaded documents

NjB

Last edited by njb; 12-02-2010 at . Reason: add some precisions

Very similar to moving /home to another partition.

1. BACKUP your home directory.

2. On the server make a directory for your PC home directory and share it.

3. Mount the server share on the PC (/mnt/tmp perhaps) and copy the contents of home to it.

4. Umount the server share, it's no longer needed.

4. Delete the contents your home directory on the PC (you DID make a backup right?).

5....

0 0
6

This is really weird. I don't know why this is. In every win7 computer I've ever used my desktop is located in C:\Users\username\Desktop

but on my laptop, it is in C:\Users\username\Favorites\Desktop

I can't figure out how to Google this, I keep getting hits about how to make your desktop show up in your favorites, but my desktop folder is physically in the favorites folder. It doesn't exist anywhere else.

Also, whenever I try to do something on my desktop like move a file to the trash I get a warning box saying:

These files might be harmful to your computer. Your Internet security settings suggest that one or more files may be harmful. Do you want to use it anyway?

I've tried disabling this in IE and my Win7 protection level. Nothing seems to work.

I don't know what other relevant info I can give.

I'm using Win7 Professional SP 1 64...

0 0
7
Q: How do I locate my 'Local Settings' folder?

A:

The 'Local Settings' folder is a hidden folder, which contains information about your Windows User Profile and your IncrediMail installation and is usually located under the 'C:\Documents and Settings\Your Logon Name (usually your name)' folder.

If you are unable to locate the 'Local Settings' folder in the above location, please do the following:

Double-click the icon on your Desktop. At this point, the 'My Computer' explorer window opens. Click the menu and select . Select the tab and select the option in the 'Hidden files and folders' section. Browse to the following location:

C:\Documents and Settings\Your Logon Name (usually your name)

Your 'Local Settings' folder is now...
0 0
8

The concept of home directories is fairly universal across all organizations. Essentially, it is a networked storage location for users to store their personal files instead of using a directory on a local drive (like the non-redirected "My Documents"). Despite this being a common configuration item, there seems to be little standardization on how to configure a Windows file server to support personal home directories. Should permissions be set using NTFS or shares? Should individual shares even be used? What about the Home Folder Active Directory attribute?

My recommendation is to keep things as simple as possible with a single share and simple permissions only set at the NTFS level.

Setup the Directory Structure

The first step to creating home directories on your file server is to prepare the directory structure where the files will be physically stored on your server. As with a typical file server, do not store shared directories on your system or boot...

0 0
9

Question owner

Here is the troubleshooting info:

Application Basics Name: Thunderbird Version: 24.3.0 User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 Profile Folder: Show Folder (Local drive) Application Build ID: 20140131124303 Enabled Plugins: about:plugins Build Configuration: about:buildconfig Crash Reports: about:crashes Memory Use: about:memory Mail and News Accounts account1: INCOMING: account1, , (imap) sip1-45.nexcess.net:993, SSL, passwordCleartext OUTGOING: sip1-45.nexcess.net:587, alwaysSTARTTLS, passwordCleartext, true account2: INCOMING: account2, , (none) Local Folders, plain, passwordCleartext account3: INCOMING: account3, , (imap) sip1-45.nexcess.net:993, SSL, passwordCleartext OUTGOING: sip1-45.nexcess.net:587, alwaysSTARTTLS, passwordCleartext, true account4: INCOMING: account4, , (imap) sip1-45.nexcess.net:993, SSL, passwordCleartext OUTGOING: sip1-45.nexcess.net:587,...
0 0
10

Hi Rob here again. Periodically we’re asked “what is the best way to auto-create home, roaming profile, and folder redirection folders instead of Administrators creating and configuring the NTFS permissions manually?” The techniques in this post requires you to use the environment variable %USERNAME% in the user’s home folder attribute when you create the users account.

We will also make use of the “$” symbol in the share name; which makes the share hidden from anyone who attempts to list the shares on the file server via computer browsing.

Alright let’s get started.

Home directory:

Home folders are created automatically when the user’s account is created and an administrator has enabled the use of home folders. You change the home folders for the user afterwards, but we are all about making the Admin’s life easier.

Create the folder and enable sharing

As you can see we create the share name and added a dollar sign ($) to the...

0 0
11
...
0 0
12

I have two droplets active, in both of theme I have wordpress installed.

In one of them I follow this tutorial to instal LAMP and WordPress. This tutorial says: " ...The location of the document root in the Ubuntu 14.04 LAMP guide is /var/www/html/. We can transfer our WordPress files there by typing:.." So I have my wordpress files under var/www/html

But in the other droplet I follow this other tutorial to install wordpress through one click WordPress install, and this installed wordpress files on var/www.

I have read on google that on ubuntu 14.04 the root directory have been moved from var/www to var/www/html. Is digital ocean wordpress one click install adding files on incorrect directory? I should move my files from var/www to var/www/htmll?

Thanks in...

0 0
13

Profile path = Roaming Profiles - This is everything under c:\documents and settings\%username%

It takes a copy from the share at login, then copies it back to the share at logout.

Folder redirection = Changes the location that the computer stores certain folders in effectively removing them from the profile and point directly at the share all the time for these folders. (My Documents, Desktop, Application data, Start menu). Using this by itself yields a secure backed up location for storing user documents etc. Using it with Roaming profiles keeps the profiles small so that login times are much faster. if you use roaming profiles without folder redirection, each time they login, it will have to copy their My documents down to the PC at login and then back up to the share at log out. If they login to two different workstations, this can get ugly because they will have 2 different copies of their documents in play at the same time....

0 0
14

I have changed the configuration of Apache to point towards a folder in my home directory:

ServerAdmin [email protected] DocumentRoot /home/dbugger/html Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /doc/ "/usr/share/doc/" Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128

I have even given my /home/dbugger/html permission 777. But I still keep getting the same error message at...

0 0
15

Hello,

You can use some basic unix wizardry to make this happen. What you will be doing is creating a unix "soft link" from your home directory to the actual location of the directories, wherever they may be. This link serves as a "behind-the-scenes redirect" to the actual location to which you link. For example, with the soft link in place, if you

Here's what you do:

Use Finder to move your directories of choice from your home directory to the external HDD. This will require your admin password. Now you should see the folders on your external HDD, and NOT in your home folder. For purposes of this procedure, I will assume your external HDD is named "Storage". Wherever you see "Storage" in the following steps, replace it with the actual name of your external HDD. Open the Terminal app.From the command prompt, type the following commands (with a after each) to create a soft link (in this example we are using the "Movies" folder. The "Movies" folder must have been...
0 0
16

Ok, roaming profiles and folder redirection is not the same. Roaming profiles are set in Active Directory Users & Computers after you right click a user, go to properties, then to the profile tab. In the "profile path" window you set your roaming profile location. It is NOT the redirect location. All this does is set a roaming profile location (details about how roaming profiles work can be set via GPO in Computer Configuration/Policies\Administrative Templates\System\User Profiles) A roaming profile is a copy of a profile that is held in a network location that gets synchronised every time a user logs in and logs off - it is not "live".

What you seem to be talking about here as well is folder redirection - that can set your profile folders permamently to a network location for example instead of having your documents folder in c:\users\user1\documents it can be in a network location like \\yourserver\proflies\user1\documents Those can be set via diffent GPO - those...

0 0
17

With the user icon still selected on the left of the Lion Server Workgroup Manager, the Home tab gives you various options for setting the location of a user’s home folder:

Click the Add (+) button to add a new location for user home folders. In the dialog that appears, enter the Mac OS X Server/share point URL (this may be another server besides Lion Server), the path to the home folder, and the full path the Mac OS X client will use to access the home folder. The new location will be available to all users in the directory.

If users store only their home folders on the local Mac OS X computer, set the home folder to /Users. By doing so, regardless of where the user logs in, his home folder is in the local Users folder.

If you don’t see a /Users folder in the list, and you want one, click the Add (+) button and then enter /Users/short name in the Full Path field. Leave the Mac OS X Server/Share Point URL and Path to Home Folder fields blank.

Next...

0 0
18

In an earlier post, we saw why we need "Roaming Profile" and how to configure "Roaming Profile" (

http://www.adshotgyan.com/2011/07/how-to-configure-roaming-profiles.html

). A User Profile contains data - documents, files, folders but.... can also contain movies, songs, etc... (Even though we as an administrator can restrict them) but still the bottom line is that the profile size can be few MBs to few GBs...

Now think about a situation that Mr. Gappu has a Roaming Profile and the size of his Roaming Profile is 3 GB... Now you will ask.. Whats a big deal.. Whats a problem in that... Think again....

The problem lies in the working and design of Roaming Profiles... Roaming Profiles download "ALL" the data from the network location when you log on to a machine where you have not logged in before... So assuming Mr. Gappu uses a new machine every time/everyday to log on, then every day 3 GB of data is copied from the server to his local machine....

A lot...

0 0
19

Today I release the 0.9pb4 to the public, but this was the last prebeta version I released to the public, the next ones will be non-public again. It was really a mistake to let anybody download 0.9pb3 without most people knowing what “prebeta” really means… Many think it is a full working version, but it wasn’t and also this one will contain many bugs, that’s why it is called prebeta. I just put up this version to remove most bugs of the last version.
The following changes are made from 0.9pb3 :

Many bug fixes (sound output, CDDB, LAME, cd write, MMC C2, etc.) Support for some more writers CD-Text write support FAAC (both versions) support Native SCSI support for WinNT/2000 Many improvements to the CD write layout editor Some more new features…

Hope you enjoy it!
The SCSI native interface could be still buggy, on my computer sometimes the data was not transferred correctly. This is visible e.g. in displaying only one track (track number 00!) with other wrong...

0 0