Смена раскладки в porteus-kiosk
Posted: 22 Aug 2023, 09:50
Здравствуйте! Возникла такая проблема: появилась необходимость поменять раскладку с "ctrl+пробел" на "alt+shift". Компьютер с posteus kiosk и основная машина (win10) находятся в одной подсети, подключаюсь к porteus kiosk через ssh. В интернете нашёл 2 варианта решения: 1) Непосредственно через /etc/X11/xorg.conf.d/00-keyboard.conf (Изначально в xorg.conf.d нет конфиг-файла 00-keyboard. Создаю вручную). 2) Через setxkbmap.
Оба варианта работают только в рамках одной сессии. При перезагрузке файл 00-keyboard удаляется, setxkbmap добавил в автозагрузку, но всё равно ничего не сохраняется. То есть он в принципе не сохраняет вообще изменения, произведённые в файловой системе. Можно ли сделать так, чтобы изменения в файловой системе, произведённые по ssh сохранялись и не сбрасывались? Или можно ли как-нибудь по-другому настроить смену раскладки? Спасибо!
Hello! There was such a problem: there was a need to change the layout from "ctrl+space" to "alt+shift". The computer with the posteus kiosk and the main machine (win10) are on the same subnet, I connect to the porteus kiosk via ssh. I found 2 solutions on the Internet: 1) Directly through /etc/X11/xorg.conf.d/00-keyboard.conf (Initially, there is no 00-keyboard config file in xorg.conf.d. I create it manually). 2) Through setxkbmap.
Both options work only within one session. On reboot, the 00-keyboard file is deleted, setxkbmap added it to autoload, but still nothing is saved. That is, in principle, it does not save any changes made to the file system at all. Is it possible to make filesystem changes made via ssh persist and not be discarded? Or is there any other way to configure the layout change? Thank you!
Оба варианта работают только в рамках одной сессии. При перезагрузке файл 00-keyboard удаляется, setxkbmap добавил в автозагрузку, но всё равно ничего не сохраняется. То есть он в принципе не сохраняет вообще изменения, произведённые в файловой системе. Можно ли сделать так, чтобы изменения в файловой системе, произведённые по ssh сохранялись и не сбрасывались? Или можно ли как-нибудь по-другому настроить смену раскладки? Спасибо!
Hello! There was such a problem: there was a need to change the layout from "ctrl+space" to "alt+shift". The computer with the posteus kiosk and the main machine (win10) are on the same subnet, I connect to the porteus kiosk via ssh. I found 2 solutions on the Internet: 1) Directly through /etc/X11/xorg.conf.d/00-keyboard.conf (Initially, there is no 00-keyboard config file in xorg.conf.d. I create it manually). 2) Through setxkbmap.
Both options work only within one session. On reboot, the 00-keyboard file is deleted, setxkbmap added it to autoload, but still nothing is saved. That is, in principle, it does not save any changes made to the file system at all. Is it possible to make filesystem changes made via ssh persist and not be discarded? Or is there any other way to configure the layout change? Thank you!