Hi, does someone know where okular is getting the printer list from? When I try to print something okular hangs for the next few minutes, obviously trying to contact some printers it found/knows. Starting from command line I can see begin enumerating printers printomat _ _ 1 HP_Color_LaserJet_MFP_M277dw_Peter_s_MacBook_Pro _ _ 2 HP_Color_LaserJet_4700_tine_thinkpad _ _ 3 HP_DeskJet_5820_series_Poonam_s_MacBook_Pro _ _ 4 end enumerating printers 1 (printomat) is the only one defined in cups (as local queue, smb printer) I disabled cups-browsed, Browsing in cupsd.conf is 'No', too An 'lpstat -a' only lists the printomat printer. Is okular/kde browsing by itself? Or is this some cache corpse from earlier? It's really annoying having to wait that long for printing something :(( -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Peter Suetterlin wrote:
Hi,
does someone know where okular is getting the printer list from? When I try to print something okular hangs for the next few minutes, obviously trying to contact some printers it found/knows.
.....
Is okular/kde browsing by itself? Or is this some cache corpse from earlier?
Yuck, found it: avahi-daemon, activated via dbus :o So after a woodstock:~ # systemctl disable avahi-daemon.service Removed /etc/systemd/system/multi-user.target.wants/avahi-daemon.service. Removed /etc/systemd/system/dbus-org.freedesktop.Avahi.service. woodstock:~ # systemctl disable avahi-daemon.socket Removed /etc/systemd/system/sockets.target.wants/avahi-daemon.socket. I'm no longer blocked by those users that export their configured remote printers Is that avahi thing neccessary/useful for other stuff, or can it stay disabled? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2018-01-25 at 13:43 -0000, Peter Suetterlin wrote:
Yuck, found it: avahi-daemon, activated via dbus :o
So after a woodstock:~ # systemctl disable avahi-daemon.service Removed /etc/systemd/system/multi-user.target.wants/avahi-daemon.service. Removed /etc/systemd/system/dbus-org.freedesktop.Avahi.service. woodstock:~ # systemctl disable avahi-daemon.socket Removed /etc/systemd/system/sockets.target.wants/avahi-daemon.socket.
I'm no longer blocked by those users that export their configured remote printers
Is that avahi thing neccessary/useful for other stuff, or can it stay disabled?
Well, it is supposed to find other machines and what they export, where they are, etc. But I thought that it did the searching in background and gave the info when requested, no need to wait. - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlprHIQACgkQtTMYHG2NR9UNrACfdmp/rfUm8El5YlQZOCmtnbKJ Bf4AnRVzQJlf0wPDm/Z7YDe6gy1Pzwwa =msza -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Is that avahi thing neccessary/useful for other stuff, or can it stay disabled?
Well, it is supposed to find other machines and what they export, where they are, etc.
So I'd probably know if I needed it - which means I don't :D
But I thought that it did the searching in background and gave the info when requested, no need to wait.
This probably is okular itself. I can see (on command line) that the printer list is indeed there immediately, the hang comes after building the printer list. Likely okular tries to get the settings for all those printers before continuing, and as those laptops do only advertize their printers but don't react on connects it runs into timeouts.... Not sure if that could be called a bug (rather not), but maybe a better solution would be to only request more info if one of those is actually selected... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2018-01-26 at 12:44 -0000, Peter Suetterlin wrote:
Carlos E. R. wrote:
Is that avahi thing neccessary/useful for other stuff, or can it stay disabled?
Well, it is supposed to find other machines and what they export, where they are, etc.
So I'd probably know if I needed it - which means I don't :D
Maybe connect to a Windows folder in the office? But if you don't miss anything, it is fine to stop the service. I did some years ago, but now it is running.
But I thought that it did the searching in background and gave the info when requested, no need to wait.
This probably is okular itself. I can see (on command line) that the printer list is indeed there immediately, the hang comes after building the printer list. Likely okular tries to get the settings for all those printers before continuing, and as those laptops do only advertize their printers but don't react on connects it runs into timeouts....
Not sure if that could be called a bug (rather not), but maybe a better solution would be to only request more info if one of those is actually selected...
Certainly. - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlprP6QACgkQtTMYHG2NR9VWVwCdEw8oIG34eClwtl3l/wHNidIt L4wAn1zB3utGrEpzj5+ldZS3UWHmXDzC =3s+6 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote: [avahi]
So I'd probably know if I needed it - which means I don't :D
Maybe connect to a Windows folder in the office?
Hehe, I'm one of those happy Zion people that live without the connectors. I'm Windows-free even at the office, since more than 20 Years :D
Not sure if that could be called a bug (rather not), but maybe a better solution would be to only request more info if one of those is actually selected...
Certainly.
I've mentioned it in a related (I think) issue, https://bugzilla.opensuse.org/show_bug.cgi?id=1064872 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-01-26 16:22, Peter Suetterlin wrote:
Carlos E. R. wrote:
[avahi]
So I'd probably know if I needed it - which means I don't :D
Maybe connect to a Windows folder in the office?
Hehe, I'm one of those happy Zion people that live without the connectors.
I'm Windows-free even at the office, since more than 20 Years :D
Good :-) Maybe iphone or Android tablets? [...] Ah, yes, I forgot Macs.
Not sure if that could be called a bug (rather not), but maybe a better solution would be to only request more info if one of those is actually selected...
Certainly.
I've mentioned it in a related (I think) issue, https://bugzilla.opensuse.org/show_bug.cgi?id=1064872
I just read it. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
participants (2)
-
Carlos E. R.
-
Peter Suetterlin