Re: [blfs-support] Default Printer Not Showing In Firefox Or Thunderbird
On 9/9/20 1:33 AM, Michael Shell via blfs-support wrote: On Tue, 08 Sep 2020 11:31:58 +0200 Stephen Berman via blfs-support wrote: added the line `gtk-print-backends = cups,file,lpr' to ~/.config/gtk-3.0/settings.ini and now firefox shows the printer. Thanks for posting the solution. Maybe this setting should be added to the GTK+3 configuration example in the BLFS book: http://www.linuxfromscratch.org/blfs/view/svn/x/gtk3.html possibly with a note that mentions the need for this setting for Firefox. When I looked at the page referenced in the book for gtk settings, I found “gtk-print-backends” char * A comma-separated list of print backends to use in the print dialog. Available print backends depend on the GTK+ installation, and may include "file", "cups", "lpr" or "papi". Owner: GtkSettings Flags: Read / Write Default value: "file,cups,cloudprint" Since: 2.10 = It's interesting that the OP's system didn't find cups since that is in the default list. I'll note that I cam not familiar with papi or cloudprint. -- Bruce -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Default Printer Not Showing In Firefox Or Thunderbird
On Tue, 08 Sep 2020 11:31:58 +0200 Stephen Berman via blfs-support wrote: > added the line `gtk-print-backends = cups,file,lpr' to > ~/.config/gtk-3.0/settings.ini and now firefox shows the printer. Thanks for posting the solution. Maybe this setting should be added to the GTK+3 configuration example in the BLFS book: http://www.linuxfromscratch.org/blfs/view/svn/x/gtk3.html possibly with a note that mentions the need for this setting for Firefox. Mike Shell -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Default Printer Not Showing In Firefox Or Thunderbird
On 08/09/2020 10:31, Stephen Berman wrote: On Fri, 4 Sep 2020 18:27:37 +0100 Vaughan Butler via blfs-support wrote: On 04/09/2020 11:35, Xi Ruoyao via blfs-support wrote: On 2020-09-04 11:03 +0100, Vaughan Butler via blfs-support wrote: Any ideas why the default network printer doesn't show up in Firefox or Thunderbird? This is on a LFS 9.1 system with XFCE. The printer is detected, set up and working perfectly well in CUPS. Have scoured the web, but this doesn't seem very common, so I'm guessing I've missed something obvious somewhere. Did you build gtk-3/gtk-2 with the optional dependency cups? gtk build system needs cups library to build the cups print backend. I'm not sure Firefox needs gtk-3 print backend or gtk-2 print backend. Thanks for the advice, I'd already tried reinstalling both versions of gtk+ and their dependencies, but gave it another go, again with no change. I created the /etc/gtk-3.0/settings.ini file to include cups, as gtk-query-settings showed only file and lpr in gtk-print-backends, still no difference. A search for printbackends revealed that libprintbackend-cups.so had been installed in /usr/lib64/... ! Copied it over to /usr/lib... and default printer now shows up in both Firefox and Thunderbird. FTR, I also had such a problem and found nothing on the web and the gtk/cups dependency never occurred to me. I had indeed installed gtk3 before installing cups but installed gtk2 after cups, and although /usr/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so exists, firefox didn't show my printer. So after reading this thread I rebuilt and reinstalled gtk3, and it installed /usr/lib/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so, but to my disappointment, firefox still failed to show the printer. But then I added the line `gtk-print-backends = cups,file,lpr' to ~/.config/gtk-3.0/settings.ini and now firefox shows the printer. Steve Berman Sorry, should have mentioned that, even with libprintbackend-cups.so in the right location, Firefox et al would not show the printer without the settings.ini file in place and with the cups reference included. Vaughan Butler -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Default Printer Not Showing In Firefox Or Thunderbird
On Fri, 4 Sep 2020 18:27:37 +0100 Vaughan Butler via blfs-support wrote: > On 04/09/2020 11:35, Xi Ruoyao via blfs-support wrote: >> On 2020-09-04 11:03 +0100, Vaughan Butler via blfs-support wrote: >>> Any ideas why the default network printer doesn't show up in Firefox or >>> Thunderbird? This is on a LFS 9.1 system with XFCE. The printer is >>> detected, set up and working perfectly well in CUPS. Have scoured the >>> web, but this doesn't seem very common, so I'm guessing I've missed >>> something obvious somewhere. >> Did you build gtk-3/gtk-2 with the optional dependency cups? gtk build >> system >> needs cups library to build the cups print backend. I'm not sure Firefox >> needs >> gtk-3 print backend or gtk-2 print backend. > Thanks for the advice, I'd already tried reinstalling both versions of gtk+ > and their dependencies, but gave it another go, again with no change. I > created the /etc/gtk-3.0/settings.ini file to include cups, as > gtk-query-settings showed only file and lpr in gtk-print-backends, still no > difference. A search for printbackends revealed that libprintbackend-cups.so > had been installed in /usr/lib64/... ! Copied it over to /usr/lib... and > default printer now shows up in both Firefox and Thunderbird. FTR, I also had such a problem and found nothing on the web and the gtk/cups dependency never occurred to me. I had indeed installed gtk3 before installing cups but installed gtk2 after cups, and although /usr/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so exists, firefox didn't show my printer. So after reading this thread I rebuilt and reinstalled gtk3, and it installed /usr/lib/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so, but to my disappointment, firefox still failed to show the printer. But then I added the line `gtk-print-backends = cups,file,lpr' to ~/.config/gtk-3.0/settings.ini and now firefox shows the printer. Steve Berman -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Default Printer Not Showing In Firefox Or Thunderbird
On 04/09/2020 11:35, Xi Ruoyao via blfs-support wrote: On 2020-09-04 11:03 +0100, Vaughan Butler via blfs-support wrote: Any ideas why the default network printer doesn't show up in Firefox or Thunderbird? This is on a LFS 9.1 system with XFCE. The printer is detected, set up and working perfectly well in CUPS. Have scoured the web, but this doesn't seem very common, so I'm guessing I've missed something obvious somewhere. Did you build gtk-3/gtk-2 with the optional dependency cups? gtk build system needs cups library to build the cups print backend. I'm not sure Firefox needs gtk-3 print backend or gtk-2 print backend. Thanks for the advice, I'd already tried reinstalling both versions of gtk+ and their dependencies, but gave it another go, again with no change. I created the /etc/gtk-3.0/settings.ini file to include cups, as gtk-query-settings showed only file and lpr in gtk-print-backends, still no difference. A search for printbackends revealed that libprintbackend-cups.so had been installed in /usr/lib64/... ! Copied it over to /usr/lib... and default printer now shows up in both Firefox and Thunderbird. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Default Printer Not Showing In Firefox Or Thunderbird
On 2020-09-04 11:03 +0100, Vaughan Butler via blfs-support wrote: > Any ideas why the default network printer doesn't show up in Firefox or > Thunderbird? This is on a LFS 9.1 system with XFCE. The printer is > detected, set up and working perfectly well in CUPS. Have scoured the > web, but this doesn't seem very common, so I'm guessing I've missed > something obvious somewhere. Did you build gtk-3/gtk-2 with the optional dependency cups? gtk build system needs cups library to build the cups print backend. I'm not sure Firefox needs gtk-3 print backend or gtk-2 print backend. -- Xi Ruoyao School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page