Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ steam-session (steam-login)

Put STEAM BigPicture mode at login screen

Also provide systemd target for direct login into STEAM BigPicture at system startup.
To do so, add `systemd.unit=steam-de@<username>.target` to kernel options.

NEWS
----
* *Version 11 - Test version with Steam manager* <br/>
Expand Down
2 changes: 1 addition & 1 deletion steam-login/usr/bin/steam-de
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export NVIDIA_SETTINGS
export GNOME_SETTINGS_DAEMON
export PREFIX=""
export PROGRAM=""
export STEAM_ARGS="-tenfoot -enableremotecontrol"
export STEAM_ARGS="-tenfoot -enableremotecontrol $@"

if cmd_exist steam; then
STEAM="$(get_path steam)"
Expand Down
14 changes: 14 additions & 0 deletions steam-login/usr/lib/systemd/system/steam-de-xorg@.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (C) 2020 ТяФ/ка (tyafffka) <tyafffka@yandex.ru>
#
# This file is part of steam-login package; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.

[Unit]
Description=Xorg for Steam DE on %I
After=multi-user.target

[Service]
Type=simple
ExecStart=/usr/bin/Xorg -noreset -nolisten tcp %I
25 changes: 25 additions & 0 deletions steam-login/usr/lib/systemd/system/steam-de@.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (C) 2020 ТяФ/ка (tyafffka) <tyafffka@yandex.ru>
#
# This file is part of steam-login package; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.

[Unit]
Description=Steam DE for %i
Wants=steam-de-xorg@vt1.service
Conflicts=getty@tty1.service
After=getty@tty1.service steam-de-xorg@vt1.service systemd-user-sessions.service systemd-logind.service

[Service]
Type=simple
Restart=always
RestartSec=1
StartLimitIntervalSec=0
User=%i
WorkingDirectory=~
TTYPath=/dev/tty1
PAMName=login
Environment=XDG_SESSION_TYPE=x11 DISPLAY=:0
EnvironmentFile=-/etc/default/locale
ExecStart=/bin/bash --login /usr/bin/steam-de -steamos
14 changes: 14 additions & 0 deletions steam-login/usr/lib/systemd/system/steam-de@.target
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (C) 2020 ТяФ/ка (tyafffka) <tyafffka@yandex.ru>
#
# This file is part of steam-login package; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.

[Unit]
Description=Autologin directly to Steam DE for %i
Requires=multi-user.target
Wants=steam-de@%i.service
Conflicts=rescue.service rescue.target
After=multi-user.target rescue.service rescue.target steam-de@%i.service
AllowIsolate=yes