Views:
9,296β
Votes: 9β
Tag :
home-directory
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/866531
Title:
Can I move all dotfiles from ~ to ~/.config?
ID:
/2016/12/31/Can-I-move-all-dotfiles-from-~-to-~_.config_
Created:
December 31, 2016
Edited: April 13, 2017
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
No you canβt move ~/.* to ~/.config
Most files and directories beginning with .
in the top level home directory (/home/$USER
) are controlled by applications doing things on your behalf.
Folders within such as .../Documents
, .../Pictures
, .../Downloads
, etc. are almost always your exclusive domain. The best practice is to never put your own files into /home/$USER
(~
). Then you arenβt inconvenienced by searching through all the .
files and directories that you donβt control.
Using the good ship Nautilus
to navigate troubled waters
Iβm a self-confessed CLF (Command Line Freak) dating back to IBM PC-DOS days. After a few years though Iβve come to admire the efficiency and power of Nautilus
.
Within the Nautilus file manager you can hide these files and directories from your eyes. Go to the top bar Files
menu and select Edit
then Preferences
and unset the option on this screen:
In answering this question I did the above myself and instantly the main Nautilus window repainted. To my surprise I discovered a dozen of my own files that had been hidden within all the system files. I moved them to appropriate sub-directories or deleted them.
Nautilus hot key / keyboard shortcut
Press Ctrl+H to toggle hidden files / directories viewing on and off. This doesnβt change the permanent settings described in the previous section. It only lasts for your current session but saves you the inconvenience of changing the configuration for one time views.
Many thanks to commentators below (@videonauth and @utf-8) for providing information on this section.