force osk with user service

This commit is contained in:
UGA Innovation Factory
2025-12-08 20:00:55 +00:00
parent 31f1094a22
commit d2f23076ea

View File

@@ -99,6 +99,17 @@
ACTION=="add|change", KERNEL=="event*", ATTRS{name}=="AT Translated Set 2 keyboard", \
ENV{ID_INPUT_KEY}="", ENV{ID_INPUT_KEYBOARD}=""
'';
systemd.user.services."force-osk" = {
description = "Force the OSK to Enable";
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = ''
/run/current-system/sw/bin/dconf reset /org/gnome/desktop/a11y/applications/screen-keyboard-enabled
'';
};
};
systemd.user.services."chromium-kiosk" = {
description = "Chromium kiosk";
@@ -107,7 +118,6 @@
serviceConfig = {
ExecStart = ''
/run/current-system/sw/bin/dconf reset /org/gnome/desktop/a11y/applications/screen-keyboard-enabled
${pkgs.chromium}/bin/chromium \
--enable-features=UseOzonePlatform,WebRTCLibcamera,TouchpadOverscrollHistoryNavigation \
--ozone-platform=wayland \