On Tuesday 18 June 2002 4:41 pm, Geraint Jones wrote:
Finally! Got it to work. Kevin's instructions are correct, but, you need to make sure that StarOffice can write to the config file. The file should be in your home directory and it's called ".Xpdefaults". Just "chmod 666 .Xpdefaults" and follow Kevin's instructions.
Interesting - I have no such file. See below.
I found this out because a message came up after running "SPAdmin" from the "Start" bar saying ".Xpdefaults" was read-only. I never knew there was a "Start" bar - it was somehow hidden from me and I only found it after minimizing the document I was working on, it didn't even show up on SO's desktop! Now it's there all the time.
Since both you and Tom are using SuSE 8.0 and SO 5.2, I just had to try that combination, for the sake of completeness. There does in fact seem to be a slight bugette in SO in this combination - the lower Start/Taskbar line gets hidden behind the Panel for some reason, so if you didn't already know it was there you would not look for it. Presumably at some point it decides to be sociable. Anyway, that's the reason for your missing Start bar.
For me, "SPAdmin" was under "Start->Program File->Star Office 5.2->SPAdmin", and not under "Settings".
This is normal. So. I went over my howto again, and it all works fine - if I add a printer as root, the user can see it. So how come when you added the printer as root the user was not able to see it? Well, I did another run-through, but this time opened SPAdmin as user once I had added the printer as root. Instead of Close, I then clicked the button at the bottom of the dialogue labelled Store Settings Locally (it then changed to read Match Settings Locally). Sure enough, I then got a file .Xpdefaults in my user home dir. This is just a version of the SO system file /opt/office52/share/xp3/Xpdefaults, which (if you start spadmin as a user) you will get a message about, saying it is write-protected (ie, only root can alter it). I can only surmise that if in an earlier iteration you click this button, then SO assumes you are going to sort yourself out, and creates this file. Thereafter, printers made available by root will not show up automatically, but only if you specifically add them as the user (since you are using your local settings now, and not the system ones). This would explain Tom's experience. The only issue that is not clear is why you needed to change permissions on .Xpdefaults. I had no trouble updating this as user, and it has permissions 644. I suspect some other gremlin, but life is too short, especially since it's working now. Incidentally, can you both confirm that you used the console to launch spadmin? Pob hwyl Kevin