Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 91334

Summary: printconf-gui doesn't change ~home/.lpoptions default
Product: [Retired] Red Hat Linux Reporter: Hardy Merrill <hmerrill>
Component: printconfAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-05-21 15:30:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hardy Merrill 2003-05-21 15:23:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
When I use printconf-gui to change my default printer, it sets it fine and
printing a test page to the new default printer works.

*BUT*, while still logged in to same account, using 'lpr somefile' right after
changing the default printer prints to the *old* default printer.

Version-Release number of selected component (if applicable):
redhat-config-printer-gui-0.6.47-1

How reproducible:
Always

Steps to Reproduce:
1. Use printconf-gui (Main Menu / System Settings / Printing) to
   change default printer.
2. Apply change
3. Quit printconf-gui
4. lpr somefile
    

Actual Results:  still prints to *old* default

Expected Results:  should print to *new* default printer

Additional info:

A workaround was to manually change the .lpoptions file in my home directory.

I had to add these lines:
-------------------------
Dest newprinter
Default newprinter

and then my 'lpr somefile' printed on my *new* default printer.

Comment 1 Tim Waugh 2003-05-21 15:30:03 UTC
Redhat-config-printer, being a system tool (and needing to run as root), sets
the *system* default not the user default.  Use the Print manager (in
Accessories) to change your user default.