[Bug 8023] Re: unable to change printer name
** Changed in: gnome-cups-manager (upstream) Status: Unconfirmed => Confirmed -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: [Bug 8023] Re: unable to change printer name (workaround)
On Thu, May 25, 2006 at 05:54:47PM -, Lars wrote: > The good news (for a short while) was that I could change the printer > name on its initial creation in the new three-step process. > > However, the automatic update immediately notified me that the two > packages needed an update... and after accepting the update, I'm right > back where I started. The "new printer" screen shows the usual two-step > process only and you can't change the printer name on initial creation! If you feel brave, you can modify $package_dir/debian/changelog by adding an entry for your changes and bumping the package version by .1, e.g. x.y.z-a becomes x.y.z-a.1. When you remake and install the packages, they'll be ahead of the ubuntu repos so they should stay put. There's probably other ways of doing this including apt 'pinning', but this is what I do when I modify packages on machines that don't use local repositories. Ryan -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name (workaround)
Thanks for the helpful explanation. I just had to sudo apt-get install fakeroot before I could start the process. Both of steps your produced some output in the console for a couple of minutes, but I ended up with five new files in total: gnome-cups-manager_0.31-0ubuntu3_i386.deb libgnomecupsui1.0-1_0.31-0ubuntu3_i386.deb libgnomecupsui1.0-dev_0.31-0ubuntu3_i386.deb libgnomecups1.0-1_0.2.2-0ubuntu1_i386.deb libgnomecups1.0-dev_0.2.2-0ubuntu1_i386.deb (first three files from the patch 1 and last two files from patch 2). In the end issued sudo dpkg -i for all five *.deb packages. The good news (for a short while) was that I could change the printer name on its initial creation in the new three-step process. However, the automatic update immediately notified me that the two packages needed an update... and after accepting the update, I'm right back where I started. The "new printer" screen shows the usual two-step process only and you can't change the printer name on initial creation! To make a long story short: I figured out to use sudo foomatic-gui to update the printers (be careful not to enter blanks in the printer name). I wont bother with gnome-cups-manager the next time. The foomatic-gui is an acceptable workaround. Thanks for your help anyway, it pointed me in the right direction. -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name
You can rebuild the gnome-cups-manager / libgnomecups packages by doing: sudo apt-get build-dep libgnomecups sudo apt-get build-dep gnome-cups-manager apt-get source libgnomecups apt-get source gnome-cups-manager the sources for the two packages (and the build dependencies) will be downloaded and extracted in corresponding directories. Now... 1) For gnome-cups-manager, copy the patch file in debian/patches directory and then, from the source base directory (ex. gnome-cups- manager-0.31) issue: dpkg-buildpackage -rfakeroot -uc -b after compilation, you'll find the .deb package in the parent directory 2) For libgnomecups, copy the patch file in the base directory of the source (ex. libgnomecups-0.2.2), then cd into that directory and use patch -p1 < nameofthepatch.patch to apply the patch (supposing that you saved the patch as nameofthepatch.patch). Now you can build the package with dpkg-buildpackage -rfakeroot -uc -b Finally you can install both packages with: sudo dpkg -i packagename Beware that the version number will be unchanged and the update-manager will advertise both packages as upgradable. -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name
This might be the wrong place for asking, but neither the search in Launchpad or Google did show any useful (understandable?) results Question: How do I apply the patch to an Ubuntu 5.10 system? I assume: 1) I need to apt-get some source files 2) do the magic command line stuff ;-) with patch and diff 3) compile the changed files? Or am I on the wrong road to success? Is it perhaps as easy as just adding a new entry in sources.list and do an apt-get upgrade? Would you be able to point me to an instruction URL? Something similar should be OK and I'll try out to transform it to this files. Thx a lot! I'm helping to use Ubuntu in a small company for the typists and this printer issue is very anoying (whith three PostScript printers all being called the same...) -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name
gnome-cups-manager (0.31-1.1ubuntu7) dapper; urgency=low . * Add debian/patches/ui_edit_name_description.patch: - Add gnome-cups-add step to change printer name, description, and location. - Thanks to Amos Brocco for this patch! - This patch supersedes valid_printer_names.diff. - Closes: LP#8023 OKs from doc-team and Colin. Easy to back out again if necessary. ** Changed in: gnome-cups-manager (Ubuntu) Status: Fix Committed => Fix Released -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name
Yeah this is no problem: the documentation we have doesn't deal in any detail with printing. -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name
Matt, documentation team, would you be fine with accepting this patch for dapper? (I. e. add a third step to setting up a new printer, to be able to change the name). -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name
I tested the patch, it works with our current package after some minor tweaking and works very well. -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name
libgnomecups patch applied, thank you! libgnomecups (0.2.2-1ubuntu2) dapper; urgency=low . * libgnomecups/gnome-cups-printer.c: - Replace IPP_SET_PRINTER_ATTRIBUTES call with CUPS_ADD_MODIFY_PRINTER, since Cups does not implement the former. (See http://lists.samba.org/archive/samba-technical/2003-February/027044.html) - Thanks to Amos Brocco for this patch! - See LP#8023 the other patch needs an UI freeze exception, I'm discussing this now. Thanks a million for it! ** Changed in: gnome-cups-manager (Ubuntu) Status: Confirmed => Fix Committed -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name
** Bug 41401 has been marked a duplicate of this bug -- unable to change printer name https://launchpad.net/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name
Martin, what do you think that that patch? ** Changed in: gnome-cups-manager (Ubuntu) Assignee: Sebastien Bacher => Martin Pitt -- unable to change printer name https://launchpad.net/malone/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 8023] Re: unable to change printer name
** Bug 34081 has been marked a duplicate of this bug -- unable to change printer name https://launchpad.net/malone/bugs/8023 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs