TMatrix icon indicating copy to clipboard operation
TMatrix copied to clipboard

Make a screensaver?

Open ottoborden opened this issue 2 years ago • 3 comments

Hi! I love this digital rain effect. Best one I've ever seen by far. I've been thinking about how it might be possible to turn this into a screensaver somehow?

Has the creator considered this? Anyone have any ideas how this might be accomplished?

ottoborden avatar Oct 06 '22 02:10 ottoborden

Hi, thanks for the kind words, I'm glad you like it :)

I've heard people talking about maybe using XScreenSaver for this, though I've never seen it done. It seems like an approachable problem, some ways that come to mind are somehow full-screening the terminal or switching tty's but I haven't given much though to it, to be honest.

M4444 avatar Oct 13 '22 15:10 M4444

for X and alacritty: alacritty --option "window.decorations=none" --option "window.startup_mode=Fullscreen" --title alactmat --command tmatrix & $(wmctrl -a alactmat) & xtrlock && $(wmctrl -c alactmat) another ex.: projectMSDL & $(wmctrl -b add,fullscreen -a 'projectM') & xtrlock && (killall projectMSDL) || killall -9 projectMSDL

As for a real TTY, no idea, maybe You could port some 'vlock' code, on arch it's part of kbd package.

(https://superuser.com/questions/152347/change-linux-console-screen-blanking-behavior)

rochr4 avatar Nov 14 '23 16:11 rochr4

After some thought this could be improved using 'xautolock' or 'xidlehook' with a notify and some more programatic bash scipt checking 'pidoff' also since xtrlock can emit succes signal with '-f' possibilities are endless.

xidlehook

rochr4 avatar Nov 15 '23 08:11 rochr4