Default settings not saved in Ubuntu 10.04

Questions on certain printers and applications
Post Reply
inetaccess
Posts: 8
Joined: Mon Mar 08, 2010 11:48 am

Default settings not saved in Ubuntu 10.04

Post by inetaccess »

Hi,

I'm having problems with getting TP to save the default settings for paper, brightness etc. when using Ubuntu 10.04.

Steps to reproduce:

1. Open TP Control
2. Select Configure
3. Set Brightness to 110%
4. Select Layout Tab
5. Set Paper Size to A4
6. Click Save

Now if I go straight back in to Configure the settings seem to have been remembered.
However closing TP Control then opening it again then accessing Configure I get the following:

Brightness = 130%
Papersize = US Letter

I have also tried setting the defaults via: sudo tpconfig
The defaults show:
Brightness = 110%
Papersize = A4

However back in my user profile I keep getting the 130% and US Letter.

Any help would be appreciated.
inetaccess
Posts: 8
Joined: Mon Mar 08, 2010 11:48 am

Update: seems to be user profile based...

Post by inetaccess »

Just an update: tried logging in as another user and was able to set the default settings for that user. The settings were saved correctly.

So this could be permission related?

I've checked the folder and file permissions for ~/.turboprint and they look the same.
inetaccess
Posts: 8
Joined: Mon Mar 08, 2010 11:48 am

RESOLVED: problem was profile specific

Post by inetaccess »

I had to create a new directory for my user account. TP now remembers my default settings.

Would be interested to know which files were causing the permission problems. Deleting the ~/.turboprint directory didn't help.
zedonet
Site Admin
Posts: 2159
Joined: Fri Oct 06, 2006 8:02 am

Post by zedonet »

Hello,

thank you for the information.

The print settings in the directory ~/.turboprint are only used in combination with the older lpr(ng) print spooler.

With CUPS, the settings in ~/.cups are used - maybe this directory was missing / corrupted?
inetaccess
Posts: 8
Joined: Mon Mar 08, 2010 11:48 am

Root cause found!

Post by inetaccess »

Thanks for the reply.

I checked my old home dir for ~/.cups/lpoptions and it exists but with root as owner. So any changes made under my user account wouldn't have saved to this file.

So it was a permission issue - nice to know which file was the cause :)
Post Reply