Installed XFCE ISO. Atril used as PDF viewer, which I like and prefer.
Where are the Atril settings stored?
I run Atril, =>File; and most recent PDFs accessed are displayed. Then I open a PDF and Atril remembers the saved width setting for that PDF. This is all well and good. But I cant seem to find where these config settings are stored. Searched in detail all files including hidden in home dir.
Where are they stored?
~/.config/atril and /org/mate/atril in dconf-editor.
I dont have ~/.config/atril . But I was able to find some settings for Atril in dconf. Thanks.
Also read:
$ man find
$ man grep
In your case:
$ find ~ -name '*atril*'
would find all files in your home directory or subdirectories whose names contain the text "atril", and
$ grep -ri ~/* atril
would find all files in your home directory or subdirectories which contain the text "atril" inside them. There is also a much faster program similar to
grep called
ag in the package
community/the_silver_searcher.
Bonus: The above grep command can be run in background with lower priority, and its output redirected to a file like this:
$ nice grep -ri ~/* atril >atril.found 2>/dev/null &
The problem was I dont have any files *atril* anything in home directory. The settings in question ended up being in the dconf system (as pointed out by nous), which are stored in ~.config/dconf/user and are in some sort of binary format and use of dconf-editor can be used to view/change them.
If a search string is in a binary file, the
grep command will print something like:
grep: /home/strajder/.config/dconf/user: binary file matches