Can I use my own compton conf file?

I am currently using Marco with Compton (set by Mate Tweak) and it is running really well. However, the default configuration does not include panel shadows or menu transparencies, which I like. Ordinarily, when I manually install Compton, I usually put a compton.conf file in my .config folder to enable all of the features I like. I have just taken a look in the .config folder (I am using UM 16.04), but I cannot find an existing compton.conf file. That being the case, I am unsure as to how to proceed. Do I put my own compton.conf file in there and, if so, will it override the current Compton settings unproblematically? Or, will it cause a wobble on the system?

I would appreciate any advice from the devs or anyone else in the know.

By browsing the code on Bitbucket it appears you can simply override the default compton conf by dropping yours in ~/.config/marco-compton.conf

Here are the relevant lines from the source:

# Allow users to override the defaults by creating their own config
# for this wrapper.
if [ -f ${HOME}/.config/${WM}-compton.conf ]; then
    compton \
        --config ${HOME}/.config/${WM}-compton.conf &
else
    compton \ [...]

Cheers

5 Likes

I just did as you suggested. It worked immediately. Outstanding advice. Thanks very much. Marked as solved…:slight_smile:

1 Like

I just made a tutorial in the tips section

1 Like