This is just what I have done and works well for me. Give it a shot, tweak as you need to and in the end, it’s all about what you want and how you wan to do it. Try this: 1) cp /etc/xdg/autostart/sktop /.config/autostart 2) Logout and log back in. Nothing is wrong with the package, but with the method you're using to start it. In my case, once I close the lid, the lappy hibers and when I open it - I am prompted for a password. That is showing you your grep command looking for it. I have a feeling that that line is just left over and I never removed it so it may not be needed. The second line I have in the i3 config simply sets the auto-lock color to a black screen. After that pause, I have to move the mouse every 10 minutes to make sure the screensaver doesnt activate. The reason I have xscreensaver disabled is because it always came up during a movie if I hit pause, even with disablexscreensaver enabled. The password via xscreensaver, you have 30 seconds before it goes back to the screensaver.Īnd lastly, I don’t want xscreensaver to display the splash screen (because it will give someone the ability to change the screensaver settings at that point). Im curious because Im thinking about not start xscreensaver at all like I have it now. The startx (1) script is a front-end for xinit (1). Its a tool for setting screensavers with a HUGE collection within. The lock timeout is set to 0 (that means it requires a password once the screensaver kicks in. The xinit program allows a user to manually start an Xorg display server. For enjoying screensaver, we have to get a tool XscreenSaver. So basically, the screensaver kicks in in 15 mins. xscreensaver file, I have these set for my default timings: You will also want to set the time outs too. For example, you may only want one screen saver opposed to the default of random. linux users, could you tell me if and how i can activate xscreensaver by a cronjob As background information i have to get off the pc every hour (for health reasons)- i thought it would be easies. debug Causes lots of diagnostics to be printed on stderr. The xscreensaver-settings program will open its window on that display, and also control the xscreensaver daemon that is managing that same display. Following I followed the point of 'Make ing GNOMEs 'Lock Screen' use XScreenSaver. display host:display.screen The X display to use. I had xscreensaver running, with hibernation in principle working fine when I closed the laptop lid. You will need to run xscreensaver to set the parms you want. xscreensaver-settings accepts the following command line options. You can run xscreensaver from your gdm(1) session, so that the screensaver will run even when nobody is logged in on the console. I installed xsceensaver also since I actually want a screen saver to kick in.Įxec -no-startup-id xscreensaver -no-splash &Įxec -no-startup-id xautolock -time 30 -locker “i3lock -c 000000” What I’m about to show you works for me quite well (YMMV - and in the end, may not be what you are looking for).
0 Comments
Leave a Reply. |