neige d'aoust

knowledge, art, and other stuff

User Tools

Site Tools


htpc:steam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
htpc:steam [2025/02/07 23:17] Yukihtpc:steam [2025/02/08 01:29] (current) Yuki
Line 1: Line 1:
 ====== Build your own SteamOS ====== ====== Build your own SteamOS ======
- 
-FIXME //This page is a stub.// 
  
 ===== Launch ===== ===== Launch =====
Line 11: Line 9:
 ^Name^Description^ ^Name^Description^
 |-e|Enable Steam integration| |-e|Enable Steam integration|
-|<nowiki>--</nowiki>expose-wayland|Important for launching native Wayland clients|+|%%--%%backend|Select the backend (usually drm, wayland, sdl or headless)| 
 +|%%--%%expose-wayland|Important for launching native Wayland clients|
 |-f|Fullscreen| |-f|Fullscreen|
 |-g|Grab the keyboard| |-g|Grab the keyboard|
 |-W, -H|Window width and height| |-W, -H|Window width and height|
-|<nowiki>--</nowiki>help|Check out the rest of the options|+|%%--%%help|Check out the rest of the options|
  
-==== Launch from desktop ====+==== Launch from a display manager ====
  
-Create an icon with this desktop file, add it to ''~/.local/share/applications/'', and link it in ''~/.config/autostart/'': +<code ini /usr/share/wayland-sessions/steam-big-picture.desktop>
- +
-<code ini ~/.local/share/applications/steam-big-picture.desktop>+
 [Desktop Entry] [Desktop Entry]
 Name=Steam Big Picture Mode Name=Steam Big Picture Mode
 Comment=Start Steam in Big Picture Mode Comment=Start Steam in Big Picture Mode
-Exec=/usr/bin/env WLR_RENDERER_ALLOW_SOFTWARE=1 gamescope -e -W 1920 -H 1080 ----expose-wayland --backend sdl -- /usr/bin/steam -tenfoot -steamdeck+Exec=/usr/bin/gamescope -e --expose-wayland --backend wayland --prefer-vk-device --disable-layers -- env WLR_RENDERER_ALLOW_SOFTWARE=1 steam -tenfoot -steamdeck
 Type=Application Type=Application
-Icon=steam 
 </code> </code>
  
-You can use ''sdl'' or ''wayland'' for the backend option.+You can use ''drm'' or ''wayland'' for the backend option. Then you can configure SDDM to autostart Steam:
  
-==== Launch from a display manager ====+<code ini /etc/sddm.conf.d/autologin.conf> 
 +[Autologin] 
 +User=yuki 
 +Session=steam-big-picture 
 +</code>
  
-<code ini /usr/share/wayland-sessions/steam-big-picture.desktop>+==== Launch from desktop ==== 
 + 
 +Works better if the above doesn't work. Also, lets you easily access the desktop without having to quit Steam. Start a desktop session (such as KDE), create an icon with this desktop file, add it to ''~/.local/share/applications/'', and link it in ''~/.config/autostart/'': 
 + 
 +<code ini ~/.local/share/applications/steam-big-picture.desktop>
 [Desktop Entry] [Desktop Entry]
 Name=Steam Big Picture Mode Name=Steam Big Picture Mode
 Comment=Start Steam in Big Picture Mode Comment=Start Steam in Big Picture Mode
-Exec=/usr/bin/gamescope -e --expose-wayland --backend wayland --prefer-vk-device --disable-layers -- env WLR_RENDERER_ALLOW_SOFTWARE=1 steam -tenfoot -steamdeck+Exec=/usr/bin/env WLR_RENDERER_ALLOW_SOFTWARE=1 gamescope -e -W 1920 -H 1080 ----expose-wayland --backend sdl -- /usr/bin/steam -tenfoot -steamdeck
 Type=Application Type=Application
 +Icon=steam
 </code> </code>
  
-You can use ''drm'' or ''wayland'' for the backend option.+You can use ''sdl'' or ''wayland'' for the backend option. Don't forget SDDM's autologin: 
 + 
 +<code ini /etc/sddm.conf.d/autologin.conf> 
 +[Autologin] 
 +User=yuki 
 +Session=plasma 
 +</code>
htpc/steam.1738988253.txt.gz · Last modified: 2025/02/07 23:17 by Yuki