You are not logged in.

#1 2012-12-09 06:32:39

lspci
Member
From: Virginia, USA
Registered: 2012-06-09
Posts: 242

[SOLVED] Changing the default startup font

I've been trying to do this for ages, but I've never been able to find any concrete details as to how to do this.  I'd like to set the start up font so that it looks like the one used in like Debian, Ubuntu, and other distros, instead of the bitmap font that I currently have set as the terminal font.

Last edited by lspci (2013-02-12 08:14:05)


Please don't be a help vampire. | Bitbucket

Give a little more for a little less today.  smile

Offline

#2 2012-12-09 07:05:31

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: [SOLVED] Changing the default startup font

you try append
FONT=Lat2-Terminus16 tht as far I can remmeber is teh default in debian
on /etc/vconsole.conf and append 'consolefont' to the HOOKS on mkinitcpio.conf and rebuild initram


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#3 2012-12-13 01:17:27

lspci
Member
From: Virginia, USA
Registered: 2012-06-09
Posts: 242

Re: [SOLVED] Changing the default startup font

Thanks, Jristz.

I'll try that.

NOTE:

This probably doesn't work without reinstalling the kernel so that mkinitcpio will work its magic and actually add the consolefont thing to whatever it adds it to, I mean, I don't actually know this, but I'm figuring that this is more or less how it works.  Just an fyi to anyone who might also want to do what I just did.  

Last edited by lspci (2012-12-13 01:25:52)


Please don't be a help vampire. | Bitbucket

Give a little more for a little less today.  smile

Offline

#4 2012-12-13 11:31:03

hughitt1
Member
Registered: 2010-02-18
Posts: 82
Website

Re: [SOLVED] Changing the default startup font

Let us know how it goes. I'm curious to see if it works.

Offline

#5 2012-12-14 03:59:56

lspci
Member
From: Virginia, USA
Registered: 2012-06-09
Posts: 242

Re: [SOLVED] Changing the default startup font

It works big_smile ...sort of... sad

It does indeed set up the startup font to be the desired font in question, but systemd keeps changing it back everytime it hits the
[Starting Virtual Console] part. hmm

I tried figuring out how to get Systemd to stop setting the font, and currently I'm wondering whether commeting out

FONT=Lat2-Terminus16

part in vconsole.conf now that mkinitcpio has loaded it into the boot image thing--or at least I assume that's what it's done--might help, not sure though--in fact doing that may be a very bad idea... hmm

Okay, so get this.  Setting the console font using mkinitcpio works with Sysvinit, but doesn't work with Sysvcompat.  Sysvcompat changes the font back to the original setting when it hits the

[ OK ] Setup Virtual Console
...
[ OK ] Reached Sound Target

part


EDIT-SOLUTION:

As it turns out the default font can be set for the current tty using a homebrew service file. 

Here's the one I use:

# /etc/systemd/system/default.target.wants/vconf.service

[Unit]
Description=vconf
# Virtual Console Font sets the console font to whatever font you specify.  
# setfont Lat2-Terminus16 -> Debian, I believe.  

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/setfont Lat2-Terminus16

[Install]
WantedBy=default.target

Last edited by lspci (2013-02-12 08:12:15)


Please don't be a help vampire. | Bitbucket

Give a little more for a little less today.  smile

Offline

Board footer

Powered by FluxBB