File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
configs/core/steam/buildroot_ext/package/skiff-core-steam/coreenv Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ RUN useradd -m core && \
4848 usermod -aG nopasswdlogin core && \
4949 printf "[Autologin]\n User=core\n Session=plasma.desktop\n Relogin=false\n\n [General]\n NumlockOnWaylandEnable=true" | sudo tee /etc/sddm.conf.d/10-autologin.conf && \
5050 sed -i '0,/^[^#]/s//auth sufficient pam_succeed_if.so user ingroup nopasswdlogin\n &/' /etc/pam.d/sddm-autologin && \
51- printf "[Unit]\n Description=Fix Steam directory permissions\n After=graphical.target\n\n [Service]\n Type=oneshot\n ExecStart=/bin/chown core:core /home/core/.local/ /home/core/.local/share /home/core/.local/share/Steam\n\n [Install]\n WantedBy=graphical.target" | sudo tee /etc/systemd/system/fix-steam-perms.service && sudo systemctl enable fix-steam-perms.service
51+ printf "[Unit]\n Description=Fix Steam directory permissions\n After=graphical.target\n\n [Service]\n Type=oneshot\n ExecStart=/bin/chown core:core /home/core/.local/ /home/core/.local/share /home/core/.local/share/Steam\n\n [Install]\n WantedBy=graphical.target" | sudo tee /etc/systemd/system/fix-steam-perms.service && sudo systemctl enable fix-steam-perms.service && \
52+ sed -i -z 's/#HandlePowerKey=poweroff\n #HandlePowerKeyLongPress=ignore/HandlePowerKey=suspend\n HandlePowerKeyLongPress=poweroff/' /etc/systemd/logind.conf
5253
5354# minimize image size by squashing OS to 1 layer.
5455FROM scratch
You can’t perform that action at this time.
0 commit comments