{"id":27781246,"url":"https://github.com/nihas101/steamdeck-scripts","last_synced_at":"2025-08-01T06:33:05.845Z","repository":{"id":287519428,"uuid":"964814187","full_name":"nihas101/steamdeck-scripts","owner":"nihas101","description":"Install scripts for the Steamdeck","archived":false,"fork":false,"pushed_at":"2025-05-23T05:22:29.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-23T06:47:58.175Z","etag":null,"topics":["bash","steamdeck"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nihas101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-11T20:42:53.000Z","updated_at":"2025-05-23T05:22:32.000Z","dependencies_parsed_at":"2025-05-23T06:39:28.009Z","dependency_job_id":"50bf28eb-d77d-4958-9ce3-72487c059149","html_url":"https://github.com/nihas101/steamdeck-scripts","commit_stats":null,"previous_names":["nihas101/steamdeck-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nihas101/steamdeck-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihas101%2Fsteamdeck-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihas101%2Fsteamdeck-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihas101%2Fsteamdeck-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihas101%2Fsteamdeck-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nihas101","download_url":"https://codeload.github.com/nihas101/steamdeck-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihas101%2Fsteamdeck-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268181262,"owners_count":24209165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","steamdeck"],"created_at":"2025-04-30T12:43:36.609Z","updated_at":"2025-08-01T06:33:05.834Z","avatar_url":"https://github.com/nihas101.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Steamdeck Scripts\n\n- [Steamdeck Scripts](#steamdeck-scripts)\n  - [General Tools \\\u0026 Misc](#general-tools--misc)\n    - [./scripts/install\\_xclip](#scriptsinstall_xclip)\n    - [Installing 7zz](#installing-7zz)\n    - [External Optical Drives](#external-optical-drives)\n  - [Japanese Learning](#japanese-learning)\n    - [./scripts/enable\\_jp\\_locale](#scriptsenable_jp_locale)\n    - [OCR](#ocr)\n      - [Installing YomiNinja](#installing-yomininja)\n      - [Installing Game2text](#installing-game2text)\n        - [Running the Windows Build Via Bottles](#running-the-windows-build-via-bottles)\n        - [Building Game2text From Source on the Steamdeck](#building-game2text-from-source-on-the-steamdeck)\n    - [Installing MPV and mpvacious](#installing-mpv-and-mpvacious)\n    - [Japanese Input](#japanese-input)\n    - [Anki](#anki)\n    - [Logseq](#logseq)\n  - [Development](#development)\n    - [./scripts/install\\_lein](#scriptsinstall_lein)\n    - [./scripts/install\\_neovim](#scriptsinstall_neovim)\n    - [./scripts/install\\_podman-compose](#scriptsinstall_podman-compose)\n\nA 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.\n\nTo run all scripts, simply execute\n```bash\n./install_all\n```\n\nIf 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\n```bash\nwarning: Public keyring not found; have you run 'pacman-key --init'?\ndownloading required keys...\nerror: keyring is not writable\nerror: required key missing from keyring\nerror: failed to commit transaction (could not find or read file)\n```\n\n## General Tools \u0026 Misc\n\n### ./scripts/install_xclip\n\nInstalls xclip, which is useful for copying and pasting in and out of [neovim](https://neovim.io/), [mpv](https://mpv.io/) with stuff like [mpvacious](https://github.com/Ajatt-Tools/mpvacious) etc.\n\n### Installing 7zz\n\n1. Download the newest version from the [website](https://7-zip.org/download.html)\n2. Run `tar -xf \u003c7zz-file-name\u003e.tar.xz`\n3. Move `7zz` somewhere in your `$PATH`\n\n### External Optical Drives\n\nShould the steam deck fail to recognize an external optical drive, try\n```bash\nsudo modprobe sg\n```\nas referenced [here](https://www.reddit.com/r/SteamDeck/comments/17k1975/how_do_i_use_makemkv_with_my_steam_deck_desktop/) and described [here](https://forum.makemkv.com/forum/viewtopic.php?t=16939\u0026start=90#p81635).\n\n\n\n## Japanese Learning\n\n### ./scripts/enable_jp_locale\n\nEnables 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\n```bash\nLANG=ja_JP 7zz x \u003czip-archive\u003e\n```\n### OCR\n\n#### Installing YomiNinja\n\nDownload the latest YomiNinja [AppImage](https://github.com/matt-m-o/YomiNinja/releases) and run it. See also `./scripts/install_yomininja`\n\n#### Installing Game2text\n\n##### Running the Windows Build Via Bottles\n\n[Game2text](https://game2text.com/) can be used via [bottles](https://usebottles.com/).\n\n1. Install bottles from the Software Center\n2. Download [Game2text for windows](https://github.com/mathewthe2/Game2Text/releases)\n3. Unzip Game2text `7zz x  win-game2text.zip `\n4. Setup a bottle optimized for gaming\n5. Run Game2text inside the bottle you just created\n\n##### Building Game2text From Source on the Steamdeck\n\nSee: [Game2Text](https://github.com/mathewthe2/Game2Text)\n\nInstall the prerequisites\n```bash\n# This will install tesseract and data for horizontal and vertical japanese\n./scripts/install_tesseract_jpn\n# This will install virtualenv which we will need for building Game2text from source\n./scipts/install_virtualenv\n# This will install the prerequisites to build Game2text\nsudo steamos-readonly disable\nsudo pacman base-devel glibc linux-api-headers zlib cmake python3 gcc nodejs npm libffi openssl rust tk tcl\nsudo steamos-readonly enable\n```\n\nClone Game2text and prepare its directory contents for building\n\n```bash\ngit clone https://github.com/mathewthe2/Game2Text.git\ncd Game2Text\nvirtualenv venv --python='/usr/bin/python'\nsource venv/bin/activate\npip install virtualenv\n```\n\n\u003e [!IMPORTANT]  \n\u003e Before continuing\n\u003e 1. Replace `==` with `\u003e=` for the versions in `requirements.py`\n\u003e 2. In `config.ini` replace `browser = default` with `browser = chromium`. See: https://game2text.com/faq/switch-browser/ \n\n```bash\npip install -r requirements.txt\ndeactivate\n```\n\nYou can now run Game2text natively in `Game2Text/` via\n\n```bash\nsource venv/bin/activate\npython game2text.py\ndeactivate\n```\n\nRun the following to build a distributable binary with PyInstaller\n\n```bash\nrm -rf build dist\nsource venv/bin/activate\npython -m eel game2text.py web \\\n--windowed \\\n--onefile --noconsole \\\n--icon \"public/icon.icns\" \\\n--add-data \"logs/images/temp.png:logs/images\" \\\n--add-data \"logs/text:logs/text\" \\\n--add-data \"anki:anki/\" \\\n--add-data \"resources/dictionaries:resources/dictionaries/\" \\\n--add-data \"config.ini:.\"\ndeactivate\n```\n\nAfterwards, you can find the executable under `/dist`\n\n### Installing MPV and mpvacious\n\n1. Install MPV through the Software Center\n2. Follow any of the tutorials out there to setup MPV and mpvacious exactly like you want. I believe the one by [Matt vs Japan](https://www.youtube.com/watch?v=bbg6ztWecbU) was the one I used as starting point.\n\n### Japanese Input\n\nYou can use [Fcitx5](https://fcitx-im.org/wiki/Fcitx_5) and `mozc Fcitx5` from the Software Center for japanese input.\n\n### Anki\n\n[Anki](https://apps.ankiweb.net/) is available from the Software Center.\n\n### Logseq\n\n[Logseq](https://logseq.com/) is available from the Software Center.\n\n## Development\n\n### ./scripts/install_lein\n\nInstalls [Leiningen](https://leiningen.org/) for clojure development. I suggest combining this with installing java via [SDKMAN](https://sdkman.io/).\n\n### ./scripts/install_neovim\n\nInstalls [neovim](https://neovim.io/) in `${HOME}/bin/nvim`. By default the nightly version is chosen. You may want to install this via `distrobox` in a dedicated development container.\n\n### ./scripts/install_podman-compose\n\nInstalls `aardvark-dns` and `podman-compose` for support of docker-compose files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnihas101%2Fsteamdeck-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnihas101%2Fsteamdeck-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnihas101%2Fsteamdeck-scripts/lists"}