[SOLVED] Console font resets to default after reboot

Report Bugs, Issues and non- package Requests
Message
Author
suavedandy
Posts: 21
Joined: Mon Mar 09, 2020 6:15 pm

[SOLVED] Console font resets to default after reboot

#1 Post by suavedandy »

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.

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: Console font resets to default after reboot

#2 Post by Head_on_a_Stick »

suavedandy wrote: Mon May 18, 2020 2:01 pmI edited /etc/default/console-setup
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

suavedandy
Posts: 21
Joined: Mon Mar 09, 2020 6:15 pm

Re: Console font resets to default after reboot

#3 Post by suavedandy »

Head_on_a_Stick wrote: Mon May 18, 2020 2:11 pm
suavedandy wrote: Mon May 18, 2020 2:01 pmI edited /etc/default/console-setup
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
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).

suavedandy
Posts: 21
Joined: Mon Mar 09, 2020 6:15 pm

Re: Console font resets to default after reboot

#4 Post by suavedandy »

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.

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: Console font resets to default after reboot

#5 Post by Head_on_a_Stick »

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

Code: Select all

sudo update-rc.d console-setup defaults
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).
mod note: Signature removed, please read the forum rules

suavedandy
Posts: 21
Joined: Mon Mar 09, 2020 6:15 pm

Re: Console font resets to default after reboot

#6 Post by suavedandy »

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 running

Code: Select all

sudo update-rc.d console-setup defaults
Thank you, thank you, thank you! It worked perfectly!

Post Reply

Return to “Bugs and Non-Package Requests Forum”