SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-05-27 04:43:46

shazbot
Member
From: Boston, USA
Registered: 2010-05-14
Posts: 32
Website

Taking the ugly out of Xscreensaver

Is there anything at all that can be done to modify Xscreensaver's login prompt? It's so incredibly ugly, but I have found no way at all to tweak it or replace the theme of it somehow. System-wide theme settings don't seem to affect it either.

Offline

Help fund CrunchBang, donate to the project!

#2 2010-05-27 11:09:30

slapfish
#! Die Hard
From: Athens, Greece
Registered: 2009-10-22
Posts: 601

Re: Taking the ugly out of Xscreensaver

You're not alone on that! I loved so much the 9.04 one, especially the "leave a message" feature. I don't remember the actual package but it was gnome-something. I think I have tried to install it but again I if I remember right, it wanted to drag a lot of its gnome friends and I never completed the installation. Maybe there is something else around...

p.s. sorry for not providing any help here...

Offline

#3 2010-05-27 15:20:00

winotree
#! Die Hard
Registered: 2010-03-26
Posts: 548

Re: Taking the ugly out of Xscreensaver

Offline

#4 2010-05-27 15:28:30

slapfish
#! Die Hard
From: Athens, Greece
Registered: 2009-10-22
Posts: 601

Re: Taking the ugly out of Xscreensaver

15.3MB? if only...

$ sudo aptitude install gnome-screensaver 
[sudo] password for jimmy: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done       
Writing extended state information... Done
Reading task descriptions... Done         
The following NEW packages will be installed:
  alacarte{a} app-install-data{a} brasero{a} brasero-common{a} 
  capplets-data{a} cdrdao{a} cpufrequtils{a} deskbar-applet{a} 
  desktop-base{a} dvd+rw-tools{a} evolution-data-server{a} 
  evolution-data-server-common{a} genisoimage{a} gnome-about{a} 
  gnome-applets{a} gnome-applets-data{a} gnome-control-center{a} 
  gnome-desktop-data{a} gnome-media{a} gnome-media-common{a} 
  gnome-menus{a} gnome-netstatus-applet{a} gnome-panel{a} 
  gnome-panel-data{a} gnome-screensaver gnome-session{a} 
  gnome-session-bin{a} gnome-session-common{a} 
  gnome-system-monitor{a} gnome-utils{a} gvfs-backends{a} 
  libalut0{a} libao-common{a} libao4{a} libapm1{a} libarchive1{a} 
  libbeagle1{a} libbrasero-media0{a} libcamel1.2-14{a} 
  libcdio-paranoia0{a} libebackend1.2-0{a} libebook1.2-9{a} 
  libecal1.2-7{a} libedata-book1.2-2{a} libedata-cal1.2-6{a} 
  libedataserver1.2-11{a} libedataserverui1.2-8{a} 
  libegroupwise1.2-13{a} libgdict-1.0-6{a} libglc0{a} 
  libglew1.5{a} libgnome-media0{a} libgnome-menu2{a} 
  libgnome-window-settings1{a} libgweather-common{a} 
  libgweather1{a} libical0{a} libimobiledevice1{a} 
  libmetacity-private0{a} libnet-dbus-perl{a} liboobs-1-4{a} 
  libopenal1{a} libplist1{a} libslab0a{a} libtie-ixhash-perl{a} 
  libusbmuxd1{a} libxml-twig-perl{a} libxml-xpathengine-perl{a} 
  menu-xdg{a} metacity{a} metacity-common{a} nautilus{a} 
  nautilus-data{a} python-beagle{a} python-gmenu{a} 
  python-gnomeapplet{a} python-gnomedesktop{a} 
  python-gnomekeyring{a} python-wnck{a} rss-glx{a} 
  system-tools-backends{a} usbmuxd{a} 
0 packages upgraded, 82 newly installed, 0 to remove and 9 not upgraded.
Need to get 99,0MB/99,1MB of archives. After unpacking 245MB will be used.
Do you want to continue? [Y/n/?] n
Abort.

Offline

#5 2010-05-27 15:46:51

winotree
#! Die Hard
Registered: 2010-03-26
Posts: 548

Re: Taking the ugly out of Xscreensaver

What?  Ah!  My bad -- I forgot that I was running a 4GB USB with Debian Sid so that needs to be taken into consideration when reading the figures I posted earlier.  roll  I mean, it's so quick I didn't realize that I wasn't on my regular drive.  I apologize for any confusion.  smile

Offline

#6 2010-05-27 16:01:26

slapfish
#! Die Hard
From: Athens, Greece
Registered: 2009-10-22
Posts: 601

Re: Taking the ugly out of Xscreensaver

I figured it was something like that... smile

cheers

Offline

#7 2010-05-27 16:27:15

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Taking the ugly out of Xscreensaver

Offline

#8 2010-05-27 17:59:58

Piraja
#! Die Hard
From: Lost River Lake
Registered: 2009-02-19
Posts: 529

Re: Taking the ugly out of Xscreensaver

Offline

#9 2010-05-27 18:49:04

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: Taking the ugly out of Xscreensaver

Offline

#10 2010-05-28 16:05:55

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,131
Website

Re: Taking the ugly out of Xscreensaver

Offline

#11 2010-05-29 00:52:34

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,131
Website

Re: Taking the ugly out of Xscreensaver

Hmm, just had a quick look at xscreensaver's source and found this:

/* XScreenSaver Logo designed by Angela Goodman <*****@******.***>
 */

/* If you are looking in here because you're trying to figure out how to
   change the logo that xscreensaver displays on the splash screen and
   password dialog, please don't.  The logo is xscreensaver's identity.
   You wouldn't alter the name or copyright notice on a program that
   you didn't write; please don't alter its logo either.
 */

I am not going to argue with that, but I am not sure it really fits with the free software mentality. C'est la vie. hmm

Offline

#12 2010-05-29 02:09:34

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: Taking the ugly out of Xscreensaver

Offline

#13 2010-05-29 02:43:39

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,131
Website

Re: Taking the ugly out of Xscreensaver

Offline

#14 2010-05-29 03:17:32

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: Taking the ugly out of Xscreensaver

Offline

#15 2010-05-29 03:21:11

chillicampari
Pinball Wizard
Registered: 2009-10-09
Posts: 2,728

Re: Taking the ugly out of Xscreensaver

! xscreensaver ---------------------------------------------------------------

!font settings
xscreensaver.Dialog.headingFont:        -*-dina-bold-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.Dialog.bodyFont:           -*-dina-medium-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.Dialog.labelFont:          -*-dina-medium-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.Dialog.unameFont:          -*-dina-medium-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.Dialog.buttonFont:         -*-dina-bold-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.Dialog.dateFont:           -*-dina-medium-r-*-*-10-*-*-*-*-*-*-*
xscreensaver.passwd.passwdFont:         -*-dina-bold-r-*-*-10-*-*-*-*-*-*-*
!general dialog box (affects main hostname, username, password text)

xscreensaver.Dialog.foreground:         #ffffff
xscreensaver.Dialog.background:         #000000
xscreensaver.Dialog.topShadowColor:     #000000
xscreensaver.Dialog.bottomShadowColor:  #000000
xscreensaver.Dialog.Button.foreground:  #666666
xscreensaver.Dialog.Button.background:  #ffffff
!username/password input box and date text colour
xscreensaver.Dialog.text.foreground:    #666666
xscreensaver.Dialog.text.background:    #ffffff
xscreensaver.Dialog.internalBorderWidth:24
xscreensaver.Dialog.borderWidth:        20
xscreensaver.Dialog.shadowThickness:    2
!timeout bar (background is actually determined by Dialog.text.background)
xscreensaver.passwd.thermometer.foreground:  #666666
xscreensaver.passwd.thermometer.background:  #000000
xscreensaver.passwd.thermometer.width:       8

Last edited by chillicampari (2010-05-30 03:43:08)

Offline

#16 2010-05-29 03:50:28

Toolz
#! Die Hard
From: Asia
Registered: 2009-02-02
Posts: 937

Re: Taking the ugly out of Xscreensaver

Offline

#17 2010-05-29 03:57:36

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,131
Website

Re: Taking the ugly out of Xscreensaver

Offline

#18 2010-05-29 06:36:58

chillicampari
Pinball Wizard
Registered: 2009-10-09
Posts: 2,728

Re: Taking the ugly out of Xscreensaver

Last edited by chillicampari (2010-05-29 06:49:02)

Offline

#19 2010-05-29 14:00:34

slapfish
#! Die Hard
From: Athens, Greece
Registered: 2009-10-22
Posts: 601

Re: Taking the ugly out of Xscreensaver

I'm trying to use your .Xdefaults but nothing seems to work... I log out/in, even rebooted but I still have the default lock screen...

I created ~/.Xdefaults and I copy the content you have posted... is there something else to be done???

Offline

#20 2010-05-29 16:35:49

chillicampari
Pinball Wizard
Registered: 2009-10-09
Posts: 2,728

Re: Taking the ugly out of Xscreensaver

Whoops! I tested in only in .Xresources so give it a try in that instead.

Edit- I updated the post after reading that .Xdefaults isn't really used anymore in Debian.

Last edited by chillicampari (2010-05-29 17:00:19)

Offline

#21 2010-05-29 17:59:28

slapfish
#! Die Hard
From: Athens, Greece
Registered: 2009-10-22
Posts: 601

Re: Taking the ugly out of Xscreensaver

That did it!!! Thanks!

Offline

#22 2010-05-30 02:59:26

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Taking the ugly out of Xscreensaver

If the developer of xscreensaver wants the logo left in, I wonder if it'd be OK to make it smaller, and moved off to a corner or something...

btw chillicampari, there's a line starting with a "#" in the .Xresources you posted. Comments like that don't work here, you have to use a "!" instead. (I don't know what effect that had though.)

Last edited by johnraff (2010-05-30 03:05:41)

Offline

#23 2010-05-30 03:45:47

chillicampari
Pinball Wizard
Registered: 2009-10-09
Posts: 2,728

Re: Taking the ugly out of Xscreensaver

Last edited by chillicampari (2010-05-30 04:41:12)

Offline

#24 2010-05-30 15:34:06

shazbot
Member
From: Boston, USA
Registered: 2010-05-14
Posts: 32
Website

Re: Taking the ugly out of Xscreensaver

Some really great suggestions here everyone, thanks a lot! I fiddled with theming it, but if the Xscreensaver author really won't allow the logo to be removed or altered, I figure I'm better off with an alternate screensaver. I was tempted to just quietly patch it out on my own machine and not distribute the fix but it just doesn't feel right to do that, so I've gone with xautolock and slock from dwm instead. It's almost *too* minimal for my liking-- there is no prompt at all, it just blacks the screen and when you type in your password and hit enter it drops you back to X. But this is a much better solution than having to wrestle with Xscreensaver. Having to fight my software to make it do what I want is what sent me away from Mac and Windows in the first place.

This is probably a fairly obvious explanation for most readers here, but for sake of clarity, if anybody else wants to go the same route, just do a

sudo apt-get install xautolock slock

and then edit your Openbox autostart.sh, remove the whole line that starts with "xscreensaver" and add a line that says:

xautolock -time 5 -locker slock

...and change the number to the time in minutes that you want slock to activate.

Also in Openbox's rc.xml, you should change the lock screen keybinding to this:

    <keybind key="W-l">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>Lock screen</name>
        </startupnotify>
        <command>slock</command>
      </action>
    </keybind>

Offline

Help fund CrunchBang, donate to the project!

#25 2010-05-30 18:46:42

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,131
Website

Re: Taking the ugly out of Xscreensaver

I have played about with slock before, I really like it, but I do not think it is something which could be used as a default. hmm

Regarding xscreensaver's fugliness, I have implemented some of the suggestions here and I think my screen lock dialog is looking much better. The changes should make it into the next build. Thanks everyone! smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo