Fixing leafpad config error on Ubuntu.
leafpad: can't save config file – /home/furycd001/.config/leafpad/leafpadrc
For me leafpad on Ubuntu constantly throws up a config error and is never able to save any settings. Turns out it's just some permission errors that are super easy to fix. Simply enter the commands below into a terminal and change “username” to whatever your username is. The problem should now be sorted and leafpad should now be able to save your settings.
sudo chown username ~/.config/leafpad
sudo chown username ~/.config/leafpad/leafpadrc