will8211 / unimatrix

Python script to simulate the display from "The Matrix" in terminal. Uses half-width katakana unicode characters by default, but can use custom character sets. Accepts keyboard controls while running. Based on CMatrix.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to use this as a terminal screensaver...

luzpaz opened this issue · comments

that is activated after X amount of minutes?

That would be cool, but I don't know of any way to do it! Maybe ask on /r/linuxquestions or superuser.com. Let me know if you do find a way.

@luzpaz which desktop environment are you using?

@Rizhiy manjaro 17 xfce 4

It appears that xfce doesn't support non-black screensavers by default, you will have to play with xscreensaver or gnome-screensaver.

commented

xscreensaver has an XMatrix display mode... man page for more details. Select it by launching xscreensaver-demo. This is, however, completely independent from this project.

This is the command I use for my screensaver. Put it in a script to have it triggered after a timeout by your preferred method.

xterm -fullscreen -e bash -l -c unimatrix

I'm on i3 and this is what I use:

bindsym $mod+l fullscreen disable; exec "urxvt -e bash -c \\"i3-msg fullscreen enable; unimatrix\\""; exec xlock -mode blank -geometry 1x1

Essentially, launch a terminal with unimatrix in fullscreen, then run an invisible xlock, so that hitting a key afterwards will ask for password. Note: if your terminal has an option to start in fullscreen that makes the command much simpler.