Enabling Japanese in Cmatrix

Hi There !!
I would like to know how to enable Japanese characters as seen in the original matrix. I have installed one random Japanese fonts found on Arch Package but I guess I would have to install some specific package for that.
I have less knowledge about dealing with fonts & locale thing
I found this arch thread but everything went over my head
Can anyone help me ?

Try the GLMatrix or XMatrix as found in xscreensaver

cmatrix --help
-c: Use Japanese characters as seen in the original matrix. Requires appropriate fonts

Gives me black screen nothing will be displayed

cmatrix --help
-c: Use Japanese characters as seen in the original matrix. Requires appropriate fonts

Requires appropriate fonts being the keyword which I have no idea of

Isn’t there any ways to enable japanese in Cmatrix ?

There is always the noto-fonts-cjk package - I don’t know it that helps.

1 Like

Seems like I am not the only one haha…
I tried looking for GLmatrix and Xmatrix
Can you tell me what package do they belong to ?
I have installed xscreensaver but trying to execute glmatrix or xmatrix in terminal doesnot work

It’s a screen saver - use xscreensaver-settings to test and to setup

You can easily implement on demand by means of a hotkey combination - where N is the program in the list in .xscreensaver

xscreensaver-command -select N

Example .xscreensaver

# XScreenSaver Preferences File
# Written by xscreensaver-settings 6.03 for fh on Fri Mar 25 15:17:55 2022.
# https://www.jwz.org/xscreensaver/

timeout:	0:10:00
cycle:		0:10:00
lock:		False
lockTimeout:	0:00:00
passwdTimeout:	0:00:30
visualID:	default
installColormap:    True
verbose:	False
splash:		True
splashDuration:	0:00:05
demoCommand:	xscreensaver-settings
nice:		10
fade:		True
unfade:		True
fadeSeconds:	0:00:03
dpmsEnabled:	False
dpmsQuickOff:	False
dpmsStandby:	2:00:00
dpmsSuspend:	2:00:00
dpmsOff:	4:00:00
grabDesktopImages:  True
grabVideoFrames:    False
chooseRandomImages: False

mode:		one
selected:	0

textMode:	file
textLiteral:	XScreenSaver
textProgram:	fortune
textURL:	https://en.wikipedia.org/w/index.php?title=Special:NewPages&feed=rss
dialogTheme:	default

programs:								      \
  GL: 				xmatrix -root -small -phone 004980923309094

In the above example the xmatrix is the first - so this command will run the xmatrix (note the selected: 0 which is N-1) so if you have selected a specific screensaver you can force run it by supplying N as selected + 1

xscreensaver-command -select 1

More info using

xscreensaver-command -h


man xscreensaver-command
1 Like

I use unimatrix from github: GitHub - 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.

sudo curl -L https://raw.githubusercontent.com/will8211/unimatrix/master/unimatrix.py -o /usr/local/bin/unimatrix
sudo chmod a+rx /usr/local/bin/unimatrix

1 Like

Wow !!
Loved unimatrix so much
Thank you :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.