This script will initialize pacman-key and populate some keys in preparation for the other scripts in that directory
4.0 KiB
Steamdeck Scripts
A collection of scripts I use to automate installation of some components and also just some general notes on installing and setting up things I use regularly.
To run all scripts, simply execute
./install_all
If you want to run the scripts individually, make sure to execute /scripts/initialize_pacman beforehand, to initialize pacman-key and populate it with some trusted keys otherwise you may see this error for install scripts
warning: Public keyring not found; have you run 'pacman-key --init'?
downloading required keys...
error: keyring is not writable
error: required key missing from keyring
error: failed to commit transaction (could not find or read file)
General Tools & Misc
./scripts/install_xclip
Installs xclip, which is useful for copying and pasting in and out of neovim, mpv with stuff like mpvacious etc.
Installing 7zz
- Download the newest version from the website
- Run
tar -xf <7zz-file-name>.tar.xz - Move
7zzsomewhere in your$PATH
External Optical Drives
Should the steam deck fail to recognize an external optical drive, try
sudo modprobe sg
as referenced here and described here.
Japanese Learning
./scripts/enable_jp_locale
Enables the japanese locale on the steamdeck. Useful for learners of japanese that have to interact with e.g. zip archives with japanese characters in file names
LANG=ja_JP 7zz x <zip-archive>
Installing game2text
game2text can be used via bottles.
- Install bottles from the Software Center
- Download game2text for windows
- Unzip game2text
7zz x win-game2text.zip - Setup a bottle optimized for gaming
- Run game2text inside the bottle you just created
Installing MPV and mpvacious
- Install MPV through the Software Center
- Follow any of the tutorials out there to setup MPV and mpvacious exactly like you want. I believe the one by Matt vs Japan was the one I used as starting point.
Japanese Input
You can use Fcitx5 and mozc Fcitx5 from the Software Center for japanese input.
Anki
Anki is available from the Software Center.
Logseq
Logseq is available from the Software Center.
Development
./scripts/install_lein
Installs Leiningen for clojure development. I suggest combining this with installing java via SDKMAN.
./scripts/install_neovim
Installs neovim in ${HOME}/bin/nvim. By default the nightly version is chosen. You may want to install this via distrobox in a dedicated development container.
./scripts/install_podman-compose
Installs aardvark-dns and podman-compose for support of docker-compose files.