You are not logged in.

#1 2015-04-12 20:27:37

Czarcasmo
Member
From: Colorado Springs, Colorado
Registered: 2011-04-20
Posts: 82

[SOLVED] Gnome Printing

Hi folks,

For as long as I've been using Arch, I don't remember having this issue and I can't find something directly relating to it.

When I or other users on my system attempt to add a printer, it requires root ("Administrator" on the pop-up, actually) access, which is an annoyance to say the least. I double-checked my work on the CUPS Arch Wiki page and journalctl doesn't spit out anything obvious and accessing the web interface is fine but the GNOME front-end seems to be a PITA right now. Is there something I am missing that I need to do?

That or I'm missing something painfully obvious, which will be made very clear to me soon. If it is that obvious, feel free to launch a public shaming campaign.

Thanks!
Czar.

EDIT: Realized I never asked a question - so I added one.

Last edited by Czarcasmo (2015-04-13 00:31:43)


Laptop: Lenovo X1 Carbon, Core i7 2.0Ghz, 8GB RAM, Gnome 3.16

Offline

#2 2015-04-13 00:31:30

Czarcasmo
Member
From: Colorado Springs, Colorado
Registered: 2011-04-20
Posts: 82

Re: [SOLVED] Gnome Printing

I managed to fix my problem with the cunning (sarcasm, sarcasm) use of a polkit rule in /etc/polkit-1/rules.d/.

polkit.addRule(function(action, subject) {
    if (action.id == "org.opensuse.cupspkhelper.mechanism.all-edit" &&
        subject.isInGroup("lp")) {
        return polkit.Result.YES;
    }
});

Cheers,
Czar.


Laptop: Lenovo X1 Carbon, Core i7 2.0Ghz, 8GB RAM, Gnome 3.16

Offline

Board footer

Powered by FluxBB