Tag Info

Hot answers tagged

4

Since you use low ressources, I'm gonna guess the default screenlocker is xlock without any screensaver turned on. In that case. You'll have to edit the command for screen locking from "xlock" to "xlock && pkill firefox" or "xlock && pkill chromium". I dont know more on this but basically, if you add " && " after a command, you ...


1

Write a screen saver. This is not as crazy as it sounds. Xlock uses screensavers to draw on the screen that are not part of the screen locker so you can write a simple shell script which kills the browser then execs another screensaver to draw on the screen, and set xlock to use that script as the screensaver. I could probably get it down to about five ...



Only top voted, non community-wiki answers of a minimum length are eligible