Re: Intel nuc 11 i5 kit 安裝debian後,首次開機就失敗,黑化面左上角遊標一直閃
On Sun 15 Aug 2021 at 00:41:30 (+0300), ellanios82 wrote:
> On 8/15/21 12:31 AM, Greg Wooledge wrote:
> > Press Ctrl-Alt-F2 to attempt to reach a text console. If that's successful, then he can login there (as root) and attempt to install whatever's required to fix the problem
>
> - that Text Console has letters too small for my poor eyesight :(
>
> - is there please, a complete command, as root. that will give large
> font??
>
> - believe once saw some command which included the command "Setfont"
I use this bash function, because it acts as a reminder:
function my-font-usr-share-consolefonts {
[ -z "$1" ] && printf '%s\n' "Usage: ${FUNCNAME[0]} /usr/share/consolefonts/<fontname>.psf.gz
sets the specified font on the current VC.
The command name serves as a reminder of the fonts' location.
Use filename-completion to specify the appropriate filename.
Redundant elements of the filename are stripped out before use.
Typically, filenames start Lat15- or Uni." >&2 && return 1
local Filename="$(basename "$1")"
setfont "${Filename%%.*}"
}
Of course, it's easy enough to delete the path and extension
manually. I also have the following aliases set, but I guess
they depend on xfonts-terminus having been installed:
alias my-font-tiny='setfont Lat15-Terminus12x6'
alias my-font-small='setfont Lat15-Terminus14'
alias my-font-medium='setfont Lat15-Terminus20x10'
alias my-font-large='setfont Lat15-Terminus24x12'
alias my-font-huge='setfont Lat15-Terminus28x14'
alias my-font-vast='setfont Lat15-Terminus32x16'
Cheers,
David.
Reply to: