documents/devices/Steam Deck.md

Steam Deck

SteamOS based on Arch Linux

ip: 192.168.86.21 hostname: steamdeck user: deck pass: cannon

Pacman

Disable read-only mode: sudo btrfs property set -ts / ro false

sudo steamos-readonly disable;
sudo pacman-key --init;
sudo pacman-key --populate archlinux;
  • In /etc/pacman.conf, under [options], add SigLevel = TrustAll
  • Then sudo pacman -Sy --noconfirm nginx

Install AUR packages

Clone git repo, then run makepkg -si

Yay

Allow to write over file system (steam os block)

sudo steamos-readonly disable`

Ensure we have the keys updated

sudo pacman-key --init`
sudo pacman-key --populate archlinux`

Install git and base-devel dependencies

sudo pacman -S --needed git base-devel

Ensure that dependencies get installed correctly (this may be not necessary in some cases)

sudo pacman -S git base-devel`

INSTALL FROM SOURCE

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

OR INSTALL FROM BINARY

git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si

Disable again the write over file system

sudo steamos-readonly disable

Install yay packages like pacman, just replace sudo pacman

Batocera

user: root pass: linux host: BATOCERA wifi: fly

/userdata/system/.ssh/authorized_keys

bios go into /userdata/bios/ https://r-roms.github.io/ http://batocera:1234/

Create new desktop

https://wiki.archlinux.org/title/desktop_entries

  • /usr/local/share/applications for system wide
  • ~/.local/share/applications/ for local user
  • desktop-file-validate <your desktop file>
  • update-desktop-database ~/.local/share/applications
  • Right click on desktop entry, pin to task manager

desktop template

UGS.desktop file

[Desktop Entry]

Type=Application
 # schema version, not SW version. Keep 1.0
Version=1.0
Name=UGS
Comment=Universal Gcode Sender for CNC
Path=/home/deck/Apps/ugsplatform-linux/bin
Exec=/home/deck/Apps/ugsplatform-linux/bin/ugsplatform
Icon=dom-ugs
Terminal=true
# determines folder it'll show up in the desktop menu
Categories=Education;Languages;Development;

Icons

  • See xdg-icon-resource
  • Create a png file with a prefix (e.g., "dom-")
  • `xdg-icon-resource install --size 64 dom-ugs.png
  • update-desktop-database ~/.local/share/applications