diff --git a/Containerfile b/Containerfile index e150bea0..c76b837a 100644 --- a/Containerfile +++ b/Containerfile @@ -517,6 +517,12 @@ RUN /tmp/image-info.sh && \ sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/discover_overlay.desktop && \ cp "/usr/share/ublue-os/firstboot/yafti.yml" "/etc/yafti.yml" && \ echo "import \"/usr/share/ublue-os/just/80-bazzite.just\"" >> /usr/share/ublue-os/justfile && \ + echo "import \"/usr/share/ublue-os/just/81-bazzite-fixes.just\"" >> /usr/share/ublue-os/justfile && \ + echo "import \"/usr/share/ublue-os/just/82-bazzite-apps.just\"" >> /usr/share/ublue-os/justfile && \ + echo "import \"/usr/share/ublue-os/just/82-bazzite-sunshine.just\"" >> /usr/share/ublue-os/justfile && \ + echo "import \"/usr/share/ublue-os/just/82-bazzite-waydroid.just\"" >> /usr/share/ublue-os/justfile && \ + echo "import \"/usr/share/ublue-os/just/83-bazzite-audio.just\"" >> /usr/share/ublue-os/justfile && \ + echo "import \"/usr/share/ublue-os/just/84-bazzite-virt.just\"" >> /usr/share/ublue-os/justfile && \ echo "import \"/usr/share/ublue-os/just/85-bazzite-image.just\"" >> /usr/share/ublue-os/justfile && \ echo "import \"/usr/share/ublue-os/just/90-bazzite-de.just\"" >> /usr/share/ublue-os/justfile && \ pip install --prefix=/usr yafti && \ diff --git a/README-ID.md b/README-ID.md index 19d4fe71..9eb6cbad 100644 --- a/README-ID.md +++ b/README-ID.md @@ -60,7 +60,7 @@ Bazzite dibentuk dari [ublue-os/main](https://github.com/ublue-os/main) and [ubl - Driver [GCAdapter_OC](https://github.com/hannesmann/gcadapter-oc-kmod) untuk men-overclocking Kontroller Nintendo Gamecube sampai dengan 1000hz polling. - Dukungan untuk keyboard [Wooting](https://wooting.io/). - Dukungan untuk kartu grafis Southern Islands (HD 7000) and Sea Islands (HD 8000) dengan driver `amdgpu`. -- Memperbaiki masalah untuk [game yang menggunakan engine Source 1 (Contoh: TF2)](https://github.com/ValveSoftware/Source-1-Games/issues/5043) yang membuat game-nya crash saat dijalankan `ujust patch-source1-tcmalloc` +- Memperbaiki masalah untuk [game yang menggunakan engine Source 1 (Contoh: TF2)](https://github.com/ValveSoftware/Source-1-Games/issues/5043) yang membuat game-nya crash saat dijalankan `ujust fix-source1-tcmalloc` - [XwaylandVideoBridge](https://invent.kde.org/system/xwaylandvideobridge) untuk Discord screensharing di Wayland. - [Webapp Manager](https://github.com/linuxmint/webapp-manager) tersedia untuk membuat aplikasi dari situs web dengan berbagai macam peramban, termasuk Firefox. diff --git a/README-SPA.md b/README-SPA.md index cf8a0429..6330de63 100644 --- a/README-SPA.md +++ b/README-SPA.md @@ -72,7 +72,7 @@ Bazzite es creado con [ublue-os/main](https://github.com/ublue-os/main) y [ublue - Driver [GCAdapter_OC](https://github.com/hannesmann/gcadapter-oc-kmod) para aumentar la frecuencia del reloj (overclocking) del adaptador para el mando de videojuegos del Gamecube de Nintendo para obtener una taza de sondeo (polling rate) de 1000hz. - Soporte fuera de la caja para los teclados hechos por [Wooting](https://wooting.io/). - Soporte incorporado de las GPU de las familias (HD 7000) y Sea Islands (HD 8000) de AMD bajo el driver `amdgpu`. -- Un parche esta disponible [para un bug en juegos de 32 bits que usen el motor Source 1](https://github.com/ValveSoftware/Source-1-Games/issues/5043)[(Por ejemplo: TF2)](https://github.com/ValveSoftware/Source-1-Games/issues/5043) que provoca que el juego se congele al ser iniciado, para aplicar el parche, ejecuta el siguiente comando en una terminal: `ujust patch-source1-tcmalloc` +- Un parche esta disponible [para un bug en juegos de 32 bits que usen el motor Source 1](https://github.com/ValveSoftware/Source-1-Games/issues/5043)[(Por ejemplo: TF2)](https://github.com/ValveSoftware/Source-1-Games/issues/5043) que provoca que el juego se congele al ser iniciado, para aplicar el parche, ejecuta el siguiente comando en una terminal: `ujust fix-source1-tcmalloc` - [XwaylandVideoBridge](https://invent.kde.org/system/xwaylandvideobridge) esta disponible para hacer posible compartir tu pantalla con Discord usando Wayland. - [Webapp Manager](https://github.com/linuxmint/webapp-manager) esta disponible para crear aplicaciones de sitios web con una variedad de navegadores web, incluyendo Firefox. @@ -156,10 +156,10 @@ rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/bazzite-deck:stabl Si estas usando esta imagen en otras computadoras Handheld que no son la Steam Deck, puedes controlar el TDP usando el plugin de Decky Loader llamado SimpleDeckyTDP. -- Primero, instala Decky Loader ejecutando el siguiente comando en una terminal: `ujust get-decky` -- Despues, instala SimpleDeckyTDP ejecutando el siguiente comando en una terminal: `ujust get-simpledeckytdp` +- Primero, instala Decky Loader ejecutando el siguiente comando en una terminal: `ujust setup-decky` +- Despues, instala SimpleDeckyTDP ejecutando el siguiente comando en una terminal: `ujust setup-decky simpledeckytdp` -Si estas usando una computadora Handheld que tiene soporte por parte de [hhd](https://github.com/hhd-dev/hhd) (Como la Lenovo Legion Go o la ASUS ROG Ally), tambien puedes obtener un plugin que integra esta funcionalidad en Game Mode, solo ejecuta el siguiente comando en una terminal: `ujust get-hhd-decky` +Si estas usando una computadora Handheld que tiene soporte por parte de [hhd](https://github.com/hhd-dev/hhd) (Como la Lenovo Legion Go o la ASUS ROG Ally), tambien puedes obtener un plugin que integra esta funcionalidad en Game Mode, solo ejecuta el siguiente comando en una terminal: `ujust setup-decky hhd-decky` **Igualmente, asegurate de tambien leer la [documentación de HHD (en inglés)](https://github.com/hhd-dev/hhd#after-install), algunas computadoras Handheld requieren ciertos ajustes o tweaks especificos para funcionar correctamente.** diff --git a/README.md b/README.md index d6500949..9f6a0d71 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Bazzite is built from [ublue-os/main](https://github.com/ublue-os/main) and [ubl - [GCAdapter_OC](https://github.com/hannesmann/gcadapter-oc-kmod) driver for overclocking Nintendo's Gamecube Controller Adapter to 1000hz polling. - Out of the box support for [Wooting](https://wooting.io/) keyboards. - Built in support for Southern Islands (HD 7000) and Sea Islands (HD 8000) AMD GPUs under the `amdgpu` driver. -- A fix is available for [a 32-bit Source 1 engine game bug (IE: TF2)](https://github.com/ValveSoftware/Source-1-Games/issues/5043) that makes the game crash on launch - `ujust patch-source1-tcmalloc` +- A fix is available for [a 32-bit Source 1 engine game bug (IE: TF2)](https://github.com/ValveSoftware/Source-1-Games/issues/5043) that makes the game crash on launch - `ujust fix-source1-tcmalloc` - [XwaylandVideoBridge](https://invent.kde.org/system/xwaylandvideobridge) is available for Discord screensharing on Wayland. - [Webapp Manager](https://github.com/linuxmint/webapp-manager) is available for creating applications from websites for a variety of browsers, including Firefox. @@ -147,10 +147,10 @@ rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/bazzite-deck:stabl #### Alternative Handhelds If you're using this image on a handheld other than the Steam Deck, you can get TDP control via the SimpleDeckyTDP Decky Loader Plugin. -- First install Decky Loader with: `ujust get-decky` -- Then install SimpleDeckyTDP with: `ujust get-simpledeckytdp` +- First install Decky Loader with: `ujust setup-decky` +- Then install SimpleDeckyTDP with: `ujust setup-decky simpledeckytdp` -If you're using a handheld supported by [hhd](https://github.com/hhd-dev/hhd) (Such as the Lenovo Legion Go and the ASUS Ally), you can also get the plugin to integrate an option menu for it into game mode with: `ujust get-hhd-decky` +If you're using a handheld supported by [hhd](https://github.com/hhd-dev/hhd) (Such as the Lenovo Legion Go and the ASUS Ally), you can also get the plugin to integrate an option menu for it into game mode with: `ujust setup-decky hhd-decky` **Be sure to also read the [hhd documentation](https://github.com/hhd-dev/hhd#after-install), some handhelds require specific setting changes/tweaks to function properly.** diff --git a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml index 5f89f7f8..468dc3da 100644 --- a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml +++ b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml @@ -31,7 +31,7 @@ screens: description: A plugin loader for the Steam Deck default: false packages: - - Retrieve Decky: sudo -A ujust get-decky + - Retrieve Decky: sudo -A ujust setup-decky install EmuDeck: description: | A utility for installing and configuring emulators on the Steam Deck @@ -42,14 +42,14 @@ screens: description: A self-hosted game stream host for Moonlight default: false packages: - - Install Sunshine: ujust install-sunshine - - Autostart Sunshine: ujust autostart-sunshine + - Install Sunshine: ujust setup-sunshine install + - Autostart Sunshine: ujust setup-sunshine autostart Hide GRUB Menu: description: | NOTE: Press the escape key before boot to show the menu default: true packages: - - Hide GRUB: sudo -A ujust hide-grub + - Hide GRUB: sudo -A ujust configure-grub hide Install Game Mode Startup Video: description: Adds a Bazzite themed startup video for Steam's game mode. default: true @@ -79,7 +79,7 @@ screens: description: A configurator for Wooting keyboards default: false packages: - - Retrieve Wootility: ujust get-wootility + - Retrieve Wootility: ujust install-wootility OpenTabletDriver: description: Open source, cross-platform, user-mode tablet driver default: false @@ -99,7 +99,7 @@ screens: description: Installs SteamCMD default: true packages: - - Install SteamCMD: ujust get-steamcmd + - Install SteamCMD: ujust install-steamcmd Use EXT4 for SD Cards: description: Disable BTRFS support for SD cards for direct compatibility with SD cards formatted on stock SteamOS (Not recommended). default: false diff --git a/system_files/deck/shared/usr/share/ublue-os/just/85-bazzite-image.just b/system_files/deck/shared/usr/share/ublue-os/just/85-bazzite-image.just index 04e294cc..ce88ef13 100644 --- a/system_files/deck/shared/usr/share/ublue-os/just/85-bazzite-image.just +++ b/system_files/deck/shared/usr/share/ublue-os/just/85-bazzite-image.just @@ -1,37 +1,58 @@ # vim: set ft=make : -# Install Decky Loader (https://github.com/SteamDeckHomebrew/decky-loader) -get-decky: - #!/usr/bin/bash - export HOME=$(getent passwd ${SUDO_USER:-$USER} | cut -d: -f6) - curl -L https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/install_release.sh | sh - sudo chcon -R -t bin_t $HOME/homebrew/services/PluginLoader - -# Install SimpleDeckyTDP, a simple TDP plugin for alternative PC handhelds -get-simpledeckytdp: - #!/usr/bin/bash +# Install and configure Decky Loader (https://github.com/SteamDeckHomebrew/decky-loader) and plugins for alternative handhelds +setup-decky ACTION="": + #!/bin/bash + source /usr/lib/ujust/ujust.sh + DECKY_STATE="${b}${red}Not Installed${n}" if [[ -d $HOME/homebrew/plugins ]]; then - sudo rm -rf $HOME/homebrew/plugins/SimpleDeckyTDP - curl -L $(curl -s https://api.github.com/repos/aarron-lee/SimpleDeckyTDP/releases/latest | grep "browser_download_url" | cut -d '"' -f 4) -o /tmp/SimpleDeckyTDP.tar.gz - sudo tar -xzf /tmp/SimpleDeckyTDP.tar.gz -C $HOME/homebrew/plugins - rm /tmp/SimpleDeckyTDP.tar.gz - sudo sed -i 's/ENABLE_HARDWARE_CONTROL_ON_NON_DECK_HARDWARE=0/ENABLE_HARDWARE_CONTROL_ON_NON_DECK_HARDWARE=1/g' /etc/default/steam-hardware-control - echo 'Installed. Please reboot to apply needed changes.' - else - echo 'Please install Decky Loader by running ujust get-decky first.' + DECKY_STATE="${b}${green}Installed${n}" fi - -# Install HHD Decky Plugin for controlling input on the Lenovo Legion Go and ASUS Ally -get-hhd-decky: - #!/usr/bin/bash - if [[ -d $HOME/homebrew/plugins ]]; then - sudo rm -rf $HOME/homebrew/plugins/hhd-decky - curl -L $(curl -s https://api.github.com/repos/hhd-dev/hhd-decky/releases/latest | grep "browser_download_url" | cut -d '"' -f 4) -o /tmp/hhd-decky.tar.gz - sudo tar -xzf /tmp/hhd-decky.tar.gz -C $HOME/homebrew/plugins - rm /tmp/hhd-decky.tar.gz - echo 'Installed.' - else - echo 'Please install Decky Loader by running ujust get-decky first.' + OPTION={{ ACTION }} + if [ "$OPTION" == "help" ]; then + echo "Usage: ujust configure-watchdog