How to run cmatrix without error using '-l' option in Terminal (not console)?
It's -l
mode, quoting from the manual page:
-l Linux mode (sets "matrix.fnt" font in console)
It requires that you run it on one of the Linux consoles (the ones Ctrl+Alt+F1 ... Ctrl+Alt+F6 switch to).
In a graphical terminal emulator it has no way of changing the font of the terminal. You can still use it there without the -l
flag.
Related videos on Youtube
Admin
Updated on September 18, 2022Comments
-
Admin over 1 year
I have installed
cmatrix
using the command:sudo apt-get install cmatrix
And when running the command:
cmatrix -l
In console (the
tty
s) I get a very cool looking font with matrix like symbols. But when I run it with that option ingnome-terminal
I just get this output:Couldn't get a file descriptor referring to the console
Although it works without the
-l
ingnome-terminal
, it does not give me the special font, so is there any way of running it ingnome-terminal
and also getting the same font that running it with the-l
option in the console would result in?
OS Information:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily Flavour: GNOME GNOME Version: 3.18
Package Information:
cmatrix: Installed: 1.2a-5build1 Candidate: 1.2a-5build1 Version table: *** 1.2a-5build1 0 500 http://archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages 100 /var/lib/dpkg/status
-
muru over 8 yearsWhat if you do
TERM=linux cmatrix -l
? -
Admin over 8 years@muru: I tried executing that command but got the same error, unless you don't mean just to execute it?
-
-
hernejj almost 9 yearsYes, I know, I have edited my question to better express what I meant.
-
egmont almost 9 yearsYou should avoid referring to a "normal terminal". There's the Linux console, and there are graphical terminal apps. For some people the former is the "normal", for some it's the latter.
-
egmont almost 9 yearsYou can probably take the console font shipped by cmatrix and somehow convert it to an X font (I don't know how to do it), but then you'd still have to configure your graphical terminal to use this font by some means outside of cmatrix's scope (e.g. define another profile in gnome-terminal and switch to that). Ideally cmatrix would use Unicode glyphs. Given that its homepage says "I wrote one evening", its manual doesn't say anything about such feature, and it's linked against ncurses rather than ncursesw, I don't think it supports Unicode.