Mako config not applying

I’ve looked everyhwere. Where’s the mako config file?

Maki and Mako are the pals of Tako who lives right next to Bako.

Please read how to post in a forum, if you cannot use google.

5 Likes

Hi @brnartg,

As far as I can tell, if I’ve got the correct thing here, according to

https://manpages.ubuntu.com/manpages/jammy/man5/mako.5.html

The config file is located at ~/.config/mako/config or at $XDG_CONFIG_HOME/mako/config.

Sorry, should have been more specific. That folder does not exist in the system, but there is a configuration loading at boot.

Have you tried makoctl command ?

That means it uses default settings that you can override in that file as specified in the link:

Option lines can be specified to configure mako like so:

key=value

Empty lines and lines that begin with # are ignored.

❯ makoctl
Usage: makoctl <command> [options...]

Commands:
  dismiss [-n id]                Dismiss the notification with the
                                 given id, or the last notification
                                 if none is given
          [-a|--all]             Dismiss all notifications
          [-g|--group]           Dismiss all the notifications
                                 in the last notification's group
  restore                        Restore the most recently expired
                                 notification from the history buffer
  invoke [-n id] [action]        Invoke an action on the notification
                                 with the given id, or the last
                                 notification if none is given
  menu [-n id] <prog> [arg ...]  Use <prog> [args ...] to select one
                                 action to be invoked on the notification
                                 with the given id, or the last
                                 notification if none is given
  list                           List notifications
  history                        List history
  reload                         Reload the configuration file
  mode                           List modes
  mode [-a mode]... [-r mode]... Add/remove modes
  mode [-t mode]...              Toggle modes (add if not present, remove if present)
  mode -s mode...                Set modes
  help                           Show this help

Ok just created the folder, and the config file, trying to set up black box with white text

~/.config/mako/config

background-color=#000000
text-color=#ffffff

rebooting

1 Like

It worked! Thank you very much.

Just to confirm, there’s no mako default config file, you have to create one.

1 Like