Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

[Software] Run console-setup service after kms resolution change

$
0
0
Hi there,

My TTY fonts are properly setup by the console-setup service.
However, when kernel modesetting (kms) kicks in during boot, they are once again set to the default small and unreadable fonts.

Is it possible to somehow make console-setup wait for kms modesetting to complete in order to run?

This is my /etc/systemd/system/multi-user.target.wants/console-setup.service:

Code:

[Unit]                                                                                                                                 Description=Set console font and keymap                                                                                                DefaultDependencies=no                                                                                                                 After=console-screen.service kbd.service local-fs.target                                                                               Before=display-manager.service                                                                                                         RequiresMountsFor=/usr                                                                                                                 ConditionPathExists=/bin/setupcon                                                                                                                                                                                                                                             [Service]                                                                                                                              Type=oneshot                                                                                                                           ExecStart=/lib/console-setup/console-setup.sh                                                                                          RemainAfterExit=yes                                                                                                                                                                                                                                                           [Install]                                                                                                                              WantedBy=multi-user.target 

Statistics: Posted by vanfanel — 2024-05-14 17:41 — Replies 0 — Views 13



Viewing all articles
Browse latest Browse all 3423

Trending Articles