I would like to know if it's possible to create an alias (on my .zsh_aliases) to launch a command from the graphical session to a tty (does not matter 1 or 6 ...) ?
I tried with for example cmatrix:
alias matrix='sudo chvt 1 && cmatrix -B'
and it will open the tty 1 but launch cmatrix on the current shell (on the Xsession).
(I have a zsh shell on Debian 10)