Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tweaking XScreenSaver's unlock dialog
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
allucid
Veteran
Veteran


Joined: 02 Nov 2002
Posts: 1314
Location: atlanta

PostPosted: Wed Nov 09, 2005 6:17 pm    Post subject: Tweaking XScreenSaver's unlock dialog Reply with quote

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
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Wed Nov 09, 2005 6:59 pm    Post subject: Re: Tweaking XScreenSaver's unlock dialog Reply with quote

.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
View user's profile Send private message
allucid
Veteran
Veteran


Joined: 02 Nov 2002
Posts: 1314
Location: atlanta

PostPosted: Fri Nov 11, 2005 1:32 am    Post subject: Reply with quote

Thanks. That helped. Anyone have any idea what the password dialog's window ID is or how to find it?
Back to top
View user's profile Send private message
allucid
Veteran
Veteran


Joined: 02 Nov 2002
Posts: 1314
Location: atlanta

PostPosted: Sun Dec 18, 2005 9:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum