Project

General

Profile

Bug #2782

xdm service from OpenRC overrides consolefont

nona - almost 4 years ago - . Updated over 2 years ago.

Status:
not-a-bug
Priority:
bug
Assignee:
-
% Done:

100%


Description

If the xdm service starts, the console font is changed (tested with lxdm and lightdm).

  1. Enable the consolefont service
    rc-update add consolefont boot
    
  2. Change the font to test
    sed -i 's%^\(consolefont=.*\)%\1"lat4-19"%g' /etc/conf.d/consolefont
    
  3. Make sure that lightdm or lxdm are part of /etc/conf.d/xdm
    sed -i 's%^\(DISPLAYMANAGER=\).*%\1"lightdm" /etc/conf.d/xdm
    
  4. Enable the xdm service
    rc-update add xdm
    
  5. Restart

Related issues

Related to Packages - Bug #2781: small change to /etc/conf.d/consolefontconfirmed

Actions

History

#1

Updated by bill-auger almost 4 years ago

is this a bug - does it cause any problem ?

#2

Updated by nona almost 4 years ago

If one has many dpi, and cannot see what one types because the font is so very small, I would say it is. There is no zoom-in in tty.

#3

Updated by freemor almost 4 years ago

Tiny font on highDPI displays in not a bug. There is a large section on the Arch wiki on how to deal with the issue.
One work around would be adding a setfont command to your .bashrc

That way even if the login prompt is tiny the console font will be corrected one you login.

If you set the consolefont after xdm in installed and enabled does the setting stick or does xdm constantly clobber it?
Is the actual setting getting undone? Or is xdm just setting framebuffer ttys to some default state?

#4

Updated by nona almost 4 years ago

Thank you, Bill. I had checked that [documentation] . Over there you will have three ways to change the font:

1. setfont: I cannot use `setfont' in .bashrc, because it asks me for super-user permissions
2. vconsole.conf: this only works with systemD (or was not working with OpenRC, and that is why I had to work with /etc/conf.d/consolefont)
3. fbcon: /etc/conf.d/consolefont and xdm override the configuration

Regarding:

Or is xdm just setting framebuffer ttys to some default state?

I don’t know if it brings the font to a default state, but it certainly looks like that. If you let me know how to check it, I will.

One more thing. Since my video card does not play well with free software, I have to add `nomodeset' to the kernel line (on the boot
loader). I don’t think that this has anything to do with it, but who knows…

And just to make sure:

openrc 0.42.1-5
linux-libre 5.6.12-gnu-1
lightdm 1:1.30.0-3
xdm 0.5.3-6

[documentation]
<https://wiki.archlinux.org/index.php/Linux_console#Fonts>

#5

Updated by bill-auger almost 4 years ago

  • Related to Bug #2781: small change to /etc/conf.d/consolefont added
#6

Updated by nona over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from unconfirmed to not-a-bug

Hello. I want to apologise, first of all. I had a file in /etc/profile.d/ which was changing the terminal font. Sorry, and thank you.

Also available in: Atom PDF