Running several virtual consoles and customizing the keymap
Dear all,
I am new to build root. First of all thanks a lot for having designed such a tool, and for having done so in such an elegant way.
I use a system in pure text-mode, booted by systemd.
There are two things I don't know how to achieve right now.
1. Define a (french) keymap. Is there a way to do that in the .config file while not running an X server?
2. I am able to run one virtual console but would love to have several of them, typically 6 as on my PC. Can tht be achieved?
Many thanks in advance for any hint,
Sh?rab.
Hello,
Quoted 2 lines · Sh?rab
I am new to build root. First of all thanks a lot for having designed such a tool, and for having done so in such an elegant way.
Thanks!
Quoted 6 lines
I use a system in pure text-mode, booted by systemd.
There are two things I don't know how to achieve right now.
1. Define a (french) keymap. Is there a way to do that in the .config file while not running an X server?
Use "loadkeys fr"
Quoted 2 lines
2. I am able to run one virtual console but would love to have several of them, typically 6 as on my PC. Can tht be achieved?
Add more symlinks from /etc/systemd/system/getty.target.wants/ to lib/systemd/system/getty at service. See SYSTEMD_INSTALL_SERVICE_TTY in package/systemd/systemd.mk.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com
Hi Thomas!
Many thanks for your so prompt and helpful response!
Thomas Petazzoni (2018/03/02 21:30 +0100):
Quoted 9 lines
Hello,
Quoted 2 lines · Sh?rab
I am new to build root. First of all thanks a lot for having designed such a tool, and for having done so in such an elegant way.
Thanks!
w> > I use a system in pure text-mode, booted by systemd.
Quoted 7 lines
Quoted 5 lines
There are two things I don't know how to achieve right now.
1. Define a (french) keymap. Is there a way to do that in the .config file while not running an X server?
Use "loadkeys f"
Ah! So should I add this to some startup script,e.g.on the overlay file system that will be copied on the target?
Where would it be appropriate to add such a command ona system started with systemd?
Quoted 6 lines
Quoted 2 lines
2. I am able to run one virtual console but would love to have several of them, typically 6 as on my PC. Can tht be achieved?
Add more symlinks from
/etc/systemd/system/getty.target.wants/tolib/systemd/system/gettyat service. SeeSYSTEMD_INSTALL_SERVICE_TTYinpackage/systemd/systemd.mk.
Thanks for that, too! Again should these links be added to the overlay filesystem?
Cheers and thanks again for such a nice thing!
Sh?rab.