View previous topic :: View next topic |
Author |
Message |
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Wed Nov 09, 2005 6:17 pm Post subject: Tweaking XScreenSaver's unlock dialog |
|
|
Has anyone done this? I can't seem to get any settings to take effect. From /usr/lib/X11/app-defalts/XScreenSaver:
Code: | ! These resources, when placed in the system-wide app-defaults directory
! (e.g., /usr/lib/X11/app-defaults/XScreenSaver) will provide the default
! settings for new users. However, if you have a ".xscreensaver" file in
! your home directory, the settings in that file take precedence. |
to test this, I copied some of the stuff from this file to ~/.xscreensaver and changed the default values:
Code: | *passwd.heading.label: Testing Cutom Settings %s
*passwd.body.label: This display might be locked.
*passwd.user.label: Name:
*passwd.passwd.label: Passwerd:
*passwd.passwdFont: *-courier-medium-r-*-*-*-140-*-*-*-iso8859-1
*passwd.thermometer.width: 12 |
and nothing seems to take effect. Any ideas? |
|
Back to top |
|
|
nephros Advocate
Joined: 07 Feb 2003 Posts: 2139 Location: Graz, Austria (Europe - no kangaroos.)
|
Posted: Wed Nov 09, 2005 6:59 pm Post subject: Re: Tweaking XScreenSaver's unlock dialog |
|
|
.xscreensaver is the config file for the program itself.
The lines you posted specify "X resources" which is something different and can only have an effect if you put them in your ~/.Xdefaults file.
However, in that file, I think you will have to prepend it with the program Window ID.
That you can usually find out using xwininfo, but I don't thing xscreensaver itself has a window you could get it from.
A typical line in that file would look like this:
Code: | Xmatrix*passwd.heading.label: Testing Cutom Settings %s |
But that would only have effect on the Xmatrix screensaver program.
It's a bit tricky to explain HTH anyway _________________ Please put [SOLVED] in your topic if you are a moron. |
|
Back to top |
|
|
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Fri Nov 11, 2005 1:32 am Post subject: |
|
|
Thanks. That helped. Anyone have any idea what the password dialog's window ID is or how to find it? |
|
Back to top |
|
|
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Sun Dec 18, 2005 9:18 am Post subject: |
|
|
Just thought of this about 10 seconds ago. You can just change the settings in /usr/lib/X11/app-defaults/XScreenSaver directly. I would have perferred there to be some per-user configuration but this will do. |
|
Back to top |
|
|
|