Dude! Where’s My Data!
Little in life sucks more than moving to a new desktop environment or distro, only to realize your data for specific applications didn’t make it. This usually happens with stuff like desktop-specific note taking apps or clipboard managers.
In today’s quick tip, I’ll show you some common places where you can recover this data or how to simply migrate it to another installation.
Some folks will tell you that what goes into Parcellite never comes out unless it’s installed. This is false. First off, Parcellite and many other clipboard managers store data in
Tip: For those who don’t know, clipboard managers allow us to take copy and paste to the next level. Instead of merely copy one instance at a time, you can use a clipboard manager like Parcellite to copy multiple/separate text entries, images, even entire directories.
For this particular clipboard manager, you only need worry about ~/.local/share/parcellite/history
Did you try reading the file? Garbled enough for ya? Don’t sweat it, just do this in your terminal.
Nine times out of ten, you’ll have the entire clipboard history…garble free. Wait, you need a text file?
strings ~/.local/share/parcellite/history > history.txt
Now you have a history.txt in your user’s home directory. Awesome pants.
There are a number of places depending the specific app, however usually it’s going to be in ~/.local/share/ whereas the configuration data is often kept in
In my case, I was (stupidly) using MATE’s sticky notes. Contrary to what you might think, the data for this applet was kept in
At any rate, you only need to open this up in your preferred text editor and the formatting will remain intact.
Obviously there are downsides to restoring an entire home directory if you’re switching desktop environments. However if you’re sticking to the same distro and desktop, generally speaking it’s perfectly fine to backup your entire home while excluding stuff like Dropbox,
.cache, etc. Good luck!