[SOLVED] Console font resets to default after reboot
-
- Posts: 21
- Joined: Mon Mar 09, 2020 6:15 pm
[SOLVED] Console font resets to default after reboot
I wanted to change the font to terminus. I edited /etc/default/console-setup, rebooted and everything worked fine. Next day I boot up my lvptop and see that my font went back to default. Tried doing everything from the beginning to no avail. Please, help.
Last edited by suavedandy on Tue Jun 02, 2020 7:11 am, edited 1 time in total.
- Head_on_a_Stick
- Posts: 919
- Joined: Sun Mar 17, 2019 3:37 pm
Re: Console font resets to default after reboot
It would be nice to know the exact nature of your editing.
Does this method work any better:
Code: Select all
sudo dpkg-reconfigure console-setup
mod note: Signature removed, please read the forum rules
-
- Posts: 21
- Joined: Mon Mar 09, 2020 6:15 pm
Re: Console font resets to default after reboot
This time the changes didn't need a reboot but were lost after a reboot regardless. It appears that setupcon changes the font only after you make changes to /etc/default/console-setup and reboot or call setupcon directly or inderectly (such as through dpkg-reconfigure).Head_on_a_Stick wrote: Mon May 18, 2020 2:11 pmIt would be nice to know the exact nature of your editing.
Does this method work any better:Code: Select all
sudo dpkg-reconfigure console-setup
-
- Posts: 21
- Joined: Mon Mar 09, 2020 6:15 pm
Re: Console font resets to default after reboot
I also checked whether that's the issue with me using BtrFS with compression and encryption at the same time. Reinstalled with no encryption or compression. Same results.
- Head_on_a_Stick
- Posts: 919
- Joined: Sun Mar 17, 2019 3:37 pm
Re: Console font resets to default after reboot
This seems to be due to a bug in the console-setup-linux package. It supplies /etc/init.d/console-setup.sh and the post install script tries to enable it but that doesn't work for files with a .sh suffix. Fortunately your box should still have /etc/init.d/console-setup from the live system so you can get things working by running
We should probably report this as a bug but I doubt the Debian maintainer would accept a report from an MX Linux system and I don't want to use sysvinit in my buster box.
EDIT: using systemd instead of sysvinit should also get things working without having to use update-rc.d(8).
Code: Select all
sudo update-rc.d console-setup defaults
EDIT: using systemd instead of sysvinit should also get things working without having to use update-rc.d(8).
mod note: Signature removed, please read the forum rules
-
- Posts: 21
- Joined: Mon Mar 09, 2020 6:15 pm
Re: Console font resets to default after reboot
Thank you, thank you, thank you! It worked perfectly!Head_on_a_Stick wrote: Tue May 19, 2020 5:13 pm Fortunately your box should still have /etc/init.d/console-setup from the live system so you can get things working by runningCode: Select all
sudo update-rc.d console-setup defaults