Skip to content

Commit

Permalink
feat(gnome): Move from extest to libei
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Oct 8, 2023
1 parent 5b0ca63 commit 77a6671
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Containerfile
Expand Up @@ -57,7 +57,8 @@ RUN rpm-ostree override remove \
# Install new packages
RUN rpm-ostree install \
ublue-update \
extest.i686 \
libei \
libei.i686 \
discover-overlay \
python3-pip \
libadwaita \
Expand Down Expand Up @@ -105,6 +106,7 @@ RUN if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
steamdeck-kde-presets-desktop \
wallpaper-engine-kde-plugin \
kdeconnectd \
extest.i686 \
rom-properties-kf5 && \
if [ ${FEDORA_MAJOR_VERSION} -lt 39 ]; then \
rpm-ostree override replace \
Expand Down
5 changes: 4 additions & 1 deletion system_files/deck/shared/usr/bin/bazzite-steam
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

IMAGE_INFO="/usr/share/ublue-os/image-info.json"
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)

LAUNCH_OPTIONS=""

# If Steam has been launched before we can safely launch with -steamdeck
Expand All @@ -8,7 +11,7 @@ if [ -f $HOME/.local/share/Steam/ubuntu12_32/steamui.so ]; then
LAUNCH_OPTIONS="-steamdeck"
fi

if [[ "$XDG_SESSION_TYPE" = "wayland" ]]; then
if [[ "$XDG_SESSION_TYPE" == "wayland" ]] && [[ ${BASE_IMAGE_NAME} =~ "kinoite" ]]; then
# https://github.com/Supreeeme/extest
# Extest is a drop in replacement for the X11 XTEST extension.
# It creates a virtual device with the uinput kernel module.
Expand Down

0 comments on commit 77a6671

Please sign in to comment.