You are not logged in.

#1 2011-04-12 00:00:01

asadsnowman
Member
From: Michigan
Registered: 2011-04-11
Posts: 13

[SOLVED]System Settings -> Printers greyed out

Trying out Arch for the first time and I decided to go with Gnome3 as well. Initially I had problems with network as well, but I installed networkmanager and network-manager-applet and all was well. However, I'm still not having any luck with printers after spending all of last night looking through the wiki and the forums. Cups is installed along with libgnomecups and system-config-printer-gnome and several other packages, but it hasn't made a difference. I am able to add printers through the local print server in a browser, but the Printers box that opens through System Settings is completely grayed out. Any help?

System Settings -> Printers

*changed image to thumbnail link

Last edited by asadsnowman (2011-04-22 16:39:56)

Offline

#2 2011-04-12 06:07:24

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: [SOLVED]System Settings -> Printers greyed out

Wow, new to Arch and you are jumping right in to [testing]. Someone is adventurous...

It's funny, I ran gnome-control-center from a terminal and didn't have a "Printers" option (Gnome 2.32), but it gave an error wanting gnome-cups-manager. Maybe this is what you need: http://aur.archlinux.org/packages.php?ID=13408

If you don't know how to use AUR let us know.

Offline

#3 2011-04-12 06:31:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,193

Re: [SOLVED]System Settings -> Printers greyed out

asadsnowman,

Welcome to the Arch Linux forums.  We like to keep the pictures down to about 250 pixels, we prefer thumbnails with links to the on-line image.  This is partly just so the pages don't become ridiculously long.
The file size, however, is small so I'm not going to worry about it.  The file size is important to our brethren on slow and/or expensive links.

Thanks


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2011-04-12 12:49:41

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: [SOLVED]System Settings -> Printers greyed out

Same here...
But when i configure a Printer with cups-webinterface this printer is shown in "gnome3-printer-settings"

Installing gnome-cups-manager change nothing.. still no way to add or del printer in System-Settings.
But i can reconfigure the setings and can print a testimage...
gnomeprintersetiings.th.png


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#5 2011-04-12 14:51:37

asadsnowman
Member
From: Michigan
Registered: 2011-04-11
Posts: 13

Re: [SOLVED]System Settings -> Printers greyed out

Actually it looks like I may have jumped the gun a little bit in saying that I could add printers through the web interface. I had pulled it up and everything seemed to be working, so I assumed that all was well, but when I actually click to add a printer or find a printer, it says Unable to add printer, Unknown. The error log file is filled with messages saying "IP lookup failed - connection from localhost closed!" and "[CGI] CUPS-Get-Devices request failed with status 502: Unknown". Chances are I've probably misconfigured something or maybe just missed configuring something altogether, but I'm not sure where else to go.

fphillips,
I was able to install the package you suggested, but it hasn't made any difference so far as I can tell... Is there any other information I can try and give you to help figure out what might be going on?

Offline

#6 2011-04-12 14:53:45

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]System Settings -> Printers greyed out

is simple, just start cups big_smile

/etc/rc.d/cups start


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2011-04-12 16:46:42

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: [SOLVED]System Settings -> Printers greyed out

for me cupsdaemon is startet in my rc.conf wink


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#8 2011-04-12 17:02:29

vlc
Member
Registered: 2011-04-12
Posts: 11

Re: [SOLVED]System Settings -> Printers greyed out

I have the same problem. When executing gnome-control-center from the terminal, I get the following error when opening Printers:

(gnome-control-center:31624): printers-cc-panel-WARNING **: Your system does not have the cups-pk-helper's policy "org.opensuse.cupspkhelper.mechanism.all-edit" installed. Please check your installation

Seems like we are missing some PolicyKit configuration.

Edit: BTW, CUPS is started from rc.conf, so that shouldn't be the problem

Last edited by vlc (2011-04-12 17:03:59)

Offline

#9 2011-04-12 17:43:23

asadsnowman
Member
From: Michigan
Registered: 2011-04-11
Posts: 13

Re: [SOLVED]System Settings -> Printers greyed out

My cups is (or says it is) started as well. I have it added to the daemons list in my rc.conf to start automatically, and I have tried restarting it manually. It reports that cups stops and is started again properly...

Offline

#10 2011-04-12 17:45:12

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: [SOLVED]System Settings -> Printers greyed out

The complete messages are as follows:
----
killajoe: ~ $ gnome-control-center
libnm-glib.so.4: can not open shared object file: No such file or
Directory not found
Failed to load module: / usr/lib/control-center-1/panels/libnetwork.so

(gnome-control-center:29325): printers-cc-panel-WARNING **: Your system does not have the cups-pk-helper's policy "org.opensuse.cupspkhelper.mechanism.all-edit" installed. Please check your installation
---


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#11 2011-04-12 17:51:42

vlc
Member
Registered: 2011-04-12
Posts: 11

Re: [SOLVED]System Settings -> Printers greyed out

@killajoe: Actually, the first 3 lines have nothing to do with our cups problem. They are about network manager probably not being installed. On my system, I only get the last line.

Offline

#12 2011-04-12 17:54:14

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: [SOLVED]System Settings -> Printers greyed out

@vlc: right.. installing nm solve this errors....

Found the same bug here:

http://www.mail-archive.com/debian-bugs … 92087.html


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#13 2011-04-12 19:33:25

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: [SOLVED]System Settings -> Printers greyed out

A quick PKGBUILD: http://pastebin.com/7Lm5QDka

Will someone try it and see if it fixes the PolicyKit error?

*Note: I didn't adjust any permissions, only /usr/libexec/cups-pk-helper-mechanism is executable.

Offline

#14 2011-04-12 19:41:00

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: [SOLVED]System Settings -> Printers greyed out

Yes i do:


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#15 2011-04-12 19:46:22

vlc
Member
Registered: 2011-04-12
Posts: 11

Re: [SOLVED]System Settings -> Printers greyed out

Just installed it. Seems to work, but I cannot unlock because of an unrelated problem with policykit. Will try it once that is sorted out.

Anyway, thanks fphillips.

Offline

#16 2011-04-12 19:48:11

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 168
Website

Re: [SOLVED]System Settings -> Printers greyed out

I just can unlock but if i press + to add a printer gui segfaults:
---
segmentation fault  gnome-control-center
---

My system is fresh installed ...

Last edited by killajoe (2011-04-12 19:49:25)


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#17 2011-04-12 20:08:28

vlc
Member
Registered: 2011-04-12
Posts: 11

Re: [SOLVED]System Settings -> Printers greyed out

Well, I sorted out my problems with policykit (had disabled root account). I can unlock the dialog and click on "Add New Printer". It shows me a dialog with local and network printers and even shows my printer. But when I select it, the UI lags. Eventually, the dialog disappears, but all buttons are disabled.

This is what I get on the terminal:

(gnome-control-center:4772): printers-cc-panel-WARNING **: The name org.freedesktop.PackageKit was not provided by any .service files

I'm assuming gnome wants to find a driver for my printer, but cannot connect to packagekit.

Offline

#18 2011-04-12 20:32:19

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: [SOLVED]System Settings -> Printers greyed out

(gnome-control-center:4772): printers-cc-panel-WARNING **: The name org.freedesktop.PackageKit was not provided by any .service files

Hmm, yeah, the other distros are using packagekit and we aren't, so...

Earlier I was going to suggest logging out/ restarting dbus / rebooting, but that's not going to do anything for this packagekit error.
You can install packagekit from [community], if you want to go that route.

Last edited by fphillips (2011-04-12 20:34:43)

Offline

#19 2011-04-12 22:38:05

asadsnowman
Member
From: Michigan
Registered: 2011-04-11
Posts: 13

Re: [SOLVED]System Settings -> Printers greyed out

@fphillips: PKGBUILD brings up the unlock button and I'm able to unlock, but when I click on add printer I get

(gnome-control-center:5158): printers-cc-panel-WARNING **: Cannot get devices.

and my printer doesn't show up, nor am I able try and add it blindly.

I'm not getting the PackageKit error, although this error could be keeping it from getting it that far. What am I missing?

Offline

#20 2011-04-12 23:18:51

asadsnowman
Member
From: Michigan
Registered: 2011-04-11
Posts: 13

Re: [SOLVED]System Settings -> Printers greyed out

Okay, so I figured out my "IP lookup failed - connection from localhost closed!" error that was keeping me from adding printers via the cups server through the browser. My cupsd.conf must have gotten a little hosed up because restoring the default file fixed that, and now adding printers through the browser works like a charm! Also, luckily I'm still not getting the PackageKit error (*knock on wood), but I still can't add printers through gnome-control-center. When you click Add Printer the dialog box comes up and acts like its searching for printers, but nothing ever shows up, and if you try and put in the address manually (i'm using a networked printer) and click add, the windows just closes and nothing else happens. I'm not getting any error messages through the console either to help point in the right direction, so I'm not sure where else to go with this.

On a side note, thanks for all the help so far everyone, Arch forums are great!

*Edit: This also applies to the "(gnome-control-center:5158): printers-cc-panel-WARNING **: Cannot get devices." error I was getting earlier. Restoring the cupsd.conf file fixed this.

Last edited by asadsnowman (2011-04-12 23:20:06)

Offline

#21 2011-04-12 23:46:30

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: [SOLVED]System Settings -> Printers greyed out

Do you have hplip installed, assuming its a HP network printer? I have a Photosmart C6100 on the network here.

[fp@viron ~]$ pacman -Q |egrep 'cups|print'
cups 1.4.6-1
cups-pk-helper 0.1.2-1
gnome-cups-manager 0.33-6
libcups 1.4.6-1
libgnomecups 0.2.3-7
libgnomeprint 2.18.8-1
libgnomeprintui 2.18.6-1
printproto 1.0.5-1
python-gnomeprint 2.32.0-4

Are there no other errors on the command line from gnome-control-center when you click and it closes?

Last edited by fphillips (2011-04-12 23:48:23)

Offline

#22 2011-04-13 02:31:09

asadsnowman
Member
From: Michigan
Registered: 2011-04-11
Posts: 13

Re: [SOLVED]System Settings -> Printers greyed out

hplip is installed, and no, I don't get any kind of output at all. The whole printer windows doesn't close, only the add printer window, just to clarify. Here's my output from that same command:

[adam@atlas ~]$ pacman -Q |egrep 'cups|print'
cups 1.4.6-1
cups-pdf 2.5.0-1
cups-pk-helper 0.1.2-1
gnome-cups-manager 0.33-6
gutenprint 5.2.6-1
libcups 1.4.6-1
libgnomecups 0.2.3-7
libgnomeprint 2.18.8-1
libgnomeprintui 2.18.6-1
pycups 1.9.55-1
system-config-printer-common 1.3.2-1
system-config-printer-gnome 1.3.2-1

Last edited by asadsnowman (2011-04-13 02:32:08)

Offline

#23 2011-04-13 03:19:19

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: [SOLVED]System Settings -> Printers greyed out

1) From https://fedoraproject.org/wiki/Test_Day … 9_Printing
one user (Tim Waugh, a gnome dev) says "Network printer detection by IP address/hostname not yet implemented"

2) Here is a picture of F15 Network Printer setup https://bugzilla.redhat.com/attachment.cgi?id=487539
The bug is about showing "localhost" rather than the IP.

Both of these points were from more than two weeks ago. I think I'll try F15 ( http://www.gnome3.org/tryit.html ) to see what it does here. If it really is not implemented, then that could explain why the dialog just closes without error (exits when it gets to that function.)

Are you able to print when you set up the printer through CUPS (from any app or inside the cups webpage)?

Offline

#24 2011-04-13 03:32:40

asadsnowman
Member
From: Michigan
Registered: 2011-04-11
Posts: 13

Re: [SOLVED]System Settings -> Printers greyed out

I am able to print fine if I get the printer set up through CUPS, and it even shows up fine in the gnome-control-center after it was added with the correct IP address and everything. It just can't seem to add them. If they haven't implemented it yet then it looks like I'm at a dead end. Not too much of a big deal since I can still add through CUPS and it seems to work fine after that, but it'll be nice once everything is all working properly.

Offline

#25 2011-04-13 04:14:32

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: [SOLVED]System Settings -> Printers greyed out

You should have avahi installed (its a dependency of libcups). Put avahi-daemon in your rc.conf, delete the printer, and make sure the daemon starts. Then see if it is detected automatically in control center. It may work better when it is detected over DNS-SD rather than putting in the IP manually.

You should be able to do this at least:

[root@viron ~]# lpinfo -l -v
Device: uri = dnssd://Photosmart%20C6100%20series%20%5B98D1AD%5D._pdl-datastream._tcp.local/
        class = network
        info = Photosmart C6100 series [98D1AD]
        make-and-model = HP HP Photosmart C6100 series
        device-id = MFG:HP;MDL:Photosmart C6100 series
        location = 

Offline

Board footer

Powered by FluxBB