|
Author | Topic: Using xscreensaver with Slim. (Read 1,142 times) |
62chevy Senior Member
    member is offline
![[avatar] [avatar]](http://img541.imageshack.us/img541/451/hrdp0704patinachevrolet.jpg)
Hard Core!
Joined: Jan 2011 Gender: Male  Posts: 412 Location: West Virginia, USA
|  | Using xscreensaver with Slim. « Thread Started on Feb 25, 2011, 12:08pm » | |
beardeddragon pointed out here http://salinelinux.proboards.com/index.c....158&page=2#2062 That you can stop Xorgfrom blanking/shutting down the screen.
My question is can you start xscreensaver from Slim or Xorg? /etc/slim.confg and man xorg.confg gave no clues I could use on starting xscreensaver.
It's not a huge deal but any help would be appreciated.
|
Debian 6.0.3 Gnome2 Debian - Sid Caution DE may change on a whim. SalineOS 1.5
|
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 586 Location: Venezuela
|  | Re: Using xscreensaver with Slim. « Reply #1 on Feb 25, 2011, 1:53pm » | |
You'll have to install it. Don't think it is installed by default. But it works for me in SalineOS.
'scuse me. I misread. You'll need to put it in autostart or rc.local. via Menu > Settings > Session and Startup.
Don't have SalineOS running here to check.
|
SalineOS-1.7, Xfce4.6.2, w/ 3.2.0-0.bpo.4-686-pae; SalineOS-2.0, Xfce4.8, w/ 3.2.0-4-686-pae Fedora-18, Xfce4.10, w/ 3.8.x
|
|
beardedragon Global Moderator
     member is offline
![[avatar] [avatar]](http://smile-media-production-1.s3.amazonaws.com/images/83a50d70550b01307b5322000afe0a5a/168x168.jpg)
Joined: Feb 2011 Gender: Male  Posts: 857
|  | Re: Using xscreensaver with Slim. « Reply #2 on Feb 25, 2011, 1:59pm » | |
Feb 25, 2011, 12:08pm, 62chevy wrote:beardeddragon pointed out here http://salinelinux.proboards.com/index.c....158&page=2#2062 That you can stop Xorgfrom blanking/shutting down the screen.
My question is can you start xscreensaver from Slim or Xorg? /etc/slim.confg and man xorg.confg gave no clues I could use on starting xscreensaver.
It's not a huge deal but any help would be appreciated. |
|
Try this: http://www.jwz.org/xscreensaver/man1.html
|
Robert Collard, Madison, WI HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD Debian 7.0 XFCE-4.10 3.2.0-4-amd64
If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line. |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | Re: Using xscreensaver with Slim. « Reply #3 on Feb 25, 2011, 8:55pm » | |
Open the Xfce settings manager and go to Sessions and Startup. Add an entry to auto started applications for xscreensaver (According to the docs the command is xscreensaver). Starting it from rc.local or SLiM is really not recommended and I don't think will work.
| |
|
62chevy Senior Member
    member is offline
![[avatar] [avatar]](http://img541.imageshack.us/img541/451/hrdp0704patinachevrolet.jpg)
Hard Core!
Joined: Jan 2011 Gender: Male  Posts: 412 Location: West Virginia, USA
|  | Re: Using xscreensaver with Slim. « Reply #4 on Feb 26, 2011, 12:16am » | |
Feb 25, 2011, 8:55pm, Anthony Nordquist wrote:| Open the Xfce settings manager and go to Sessions and Startup. Add an entry to auto started applications for xscreensaver (According to the docs the command is xscreensaver). Starting it from rc.local or SLiM is really not recommended and I don't think will work. |
|
That misses the hole point Anthony. This is the server/grandkids computer. Ideally It would nice if the screensaver came on at like 8 am and went off at 10 pm but that might be asking a bit to much, anyways looking at a black screen is boring. It would be nice to have a slide show of family pictures.
GDM can run xscreensaver so there has to be away without installing gdm3. Richard may be on the right track but I haven't found the right command for /etc/rc.local. exec xscreensaver --nosplash does not work. It may have something to do with permissions because it doesn't like to run as root.
|
Debian 6.0.3 Gnome2 Debian - Sid Caution DE may change on a whim. SalineOS 1.5
|
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | Re: Using xscreensaver with Slim. « Reply #5 on Feb 26, 2011, 1:09am » | |
I am not sure I understand? After you login SLiM will start Xfce which will then start xscreensaver which will show the screensaver when the computer is idle. You can actually schedule the screensaver to come on everyday at 8am and off at 10 pm using cron. This website here goes over the finer details: http://www.webmasters-central.com/articl....on-job-is-easy/
There is also the man page but its a bit more cryptic and hard to read.
If I remember right xscreensaver --demo will turn on the screensaver without having to wait for the machine to become idle. Been some time since I bothered with screensaver.
| |
|
beardedragon Global Moderator
     member is offline
![[avatar] [avatar]](http://smile-media-production-1.s3.amazonaws.com/images/83a50d70550b01307b5322000afe0a5a/168x168.jpg)
Joined: Feb 2011 Gender: Male  Posts: 857
|  | Re: Using xscreensaver with Slim. « Reply #6 on Feb 26, 2011, 10:51am » | |
Feb 26, 2011, 1:09am, Anthony Nordquist wrote:
If I remember right xscreensaver --demo will turn on the screensaver without having to wait for the machine to become idle. Been some time since I bothered with screensaver. |
|
That's why I recommended that URL. I don't use one now, I just turn off my external monitor when I get up from the computer.
|
Robert Collard, Madison, WI HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD Debian 7.0 XFCE-4.10 3.2.0-4-amd64
If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line. |
|
62chevy Senior Member
    member is offline
![[avatar] [avatar]](http://img541.imageshack.us/img541/451/hrdp0704patinachevrolet.jpg)
Hard Core!
Joined: Jan 2011 Gender: Male  Posts: 412 Location: West Virginia, USA
|  | Re: Using xscreensaver with Slim. « Reply #7 on Feb 26, 2011, 12:03pm » | |
Feb 26, 2011, 1:09am, Anthony Nordquist wrote:I am not sure I understand? After you login SLiM will start Xfce which will then start xscreensaver which will show the screensaver when the computer is idle. You can actually schedule the screensaver to come on everyday at 8am and off at 10 pm using cron. This website here goes over the finer details: http://www.webmasters-central.com/articl....on-job-is-easy/
There is also the man page but its a bit more cryptic and hard to read.
If I remember right xscreensaver --demo will turn on the screensaver without having to wait for the machine to become idle. Been some time since I bothered with screensaver. |
|
Most of the time no one will use this computer. Down the road I want add a 1 gig network card and 2 trb HHD for back-ups. The Grandkids might use it twice a week for a couple of hours to surf the internet but I would like it to replace my old Linksys router and have 1 gig networking. I would like to have a slide show because of where the computer sits. It's not a huge deal but would make it more interesting than a black screen when you walk past the computer room.
The problem is xscreensaver wants to run as a user not root. I'll read man xscreensaver more and the faq at their web site and hopefully something will click. Anyways if gdm and xdm can run it slim should too.
|
Debian 6.0.3 Gnome2 Debian - Sid Caution DE may change on a whim. SalineOS 1.5
|
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | Re: Using xscreensaver with Slim. « Reply #8 on Feb 26, 2011, 12:47pm » | |
If you add the application to auto start in the Xfce settings manager then it won't run as root unless you put gksu or the like in the command line.
| |
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 586 Location: Venezuela
|  | Re: Using xscreensaver with Slim. « Reply #9 on Feb 26, 2011, 2:02pm » | |
Try this that the BeardedDragon suggested: http://salinelinux.proboards.com/index.c....d=128&post=1651 for DeskTopNova in the repos. It will change the wallpaper as set by you.
Use Session&Startup in the menu to set desktopnova to start at boot.
|
SalineOS-1.7, Xfce4.6.2, w/ 3.2.0-0.bpo.4-686-pae; SalineOS-2.0, Xfce4.8, w/ 3.2.0-4-686-pae Fedora-18, Xfce4.10, w/ 3.8.x
|
|
62chevy Senior Member
    member is offline
![[avatar] [avatar]](http://img541.imageshack.us/img541/451/hrdp0704patinachevrolet.jpg)
Hard Core!
Joined: Jan 2011 Gender: Male  Posts: 412 Location: West Virginia, USA
|  | Re: Using xscreensaver with Slim. « Reply #10 on Feb 27, 2011, 8:52pm » | |
Feb 26, 2011, 12:47pm, Anthony Nordquist wrote:| If you add the application to auto start in the Xfce settings manager then it won't run as root unless you put gksu or the like in the command line. |
|
If I wanted to keep someone logged in all the time that would work.
EDIT:
I tried this.
Code:| xauth -f /home/chevy/.Xauthority -i nextract - $DISPLAY | xauth nmerge - |
|
Because of the FAQ said at http://www.jwz.org/xscreensaver/faq.html#root-fail
Quote: % su % Password: # xauth -f /home/user/.Xauthority nextract - $DISPLAY | xauth nmerge - # rooty-program ...Ok! # exit
The above will extract the X access cookie from the .Xauthority file in your home directory, and write it into the .Xauthority in root's home directory, making it possible for root to access your display. |
|
But I'm not sure what # rooty-program is.
|
Debian 6.0.3 Gnome2 Debian - Sid Caution DE may change on a whim. SalineOS 1.5
|
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | Re: Using xscreensaver with Slim. « Reply #11 on Feb 27, 2011, 11:28pm » | |
Rooty-program is just what he put in place of the root password in that code.
| |
|
|