DEV Community

Mir Habib Ul Latif
Mir Habib Ul Latif

Posted on

A day with Linux-1: Authentication is required to create a color profile (Ubuntu 20LTS)

If your facing this issue like me you can solve it by placing a new .rules file in
/etc/polkit-1/rules.d/
and paste this

polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.color-manager.create-device" ||
        action.id == "org.freedesktop.color-manager.create-profile" ||
        action.id == "org.freedesktop.color-manager.delete-device" ||
        action.id == "org.freedesktop.color-manager.delete-profile" ||
        action.id == "org.freedesktop.color-manager.modify-device" ||
        action.id == "org.freedesktop.color-manager.modify-profile") &&
       subject.isInGroup("ATTENTION")) {
      return polkit.Result.YES;
   }
});
Enter fullscreen mode Exit fullscreen mode

Reference: https://unix.stackexchange.com/questions/417906/authentication-is-required-to-create-a-color-profile

Top comments (0)