Skip to content

Accidentally deleted all the dot files in my home directory.... Help?!

As the title says, I accidentally removed all the dot files. The vast majority of them were installed by default or when installing a package - luckily, my custom files were backed up.

Is there any way I can get back to the "default set", if you like? Reinstall all packages?

0 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
8562bp

Author

18
posts
114
comments
2
media
View profile

7 comments

The simplest solution would be to create a new user and copy the dot files to your account. If you know what you are looking for, you can find the default configs in /etc/skeleton

5 points

You shouldn't need to do anything, just launch the programs as usual and they'll generate the dotfiles if they are missing. You might however need to use xdg-user-dirs to set up directories.

5 points
unknown author

Deleted before we saved it.

1 points

Out of curiosity, how did you manage to do this?

1 points

Went to backup my whole home directory, didn't remember to copy hidden files as well. New filesystem on source, copied files back, voila, no dot files

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.