mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-15 09:39:54 +00:00
fix(gnome): Launch nested session in Xephyr, this fixes most everything but flatpak firefox.
This commit is contained in:
parent
e1f1252e9f
commit
7e25957a31
@ -11,8 +11,7 @@ BuildArch: noarch
|
||||
|
||||
Requires: steamdeck-backgrounds
|
||||
Requires: dbus-x11
|
||||
Requires: zenity
|
||||
Requires: inxi
|
||||
Requires: xorg-x11-server-Xephyr
|
||||
Requires: nautilus-python
|
||||
|
||||
Conflicts: steamdeck-kde-presets
|
||||
|
@ -1,13 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
if [[ "$(inxi -Gxx | grep compositor)" =~ "gnome-shell" ]]; then
|
||||
zenity --info --text "This utility is meant to be executed through Steam Game Mode only."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
source /etc/default/steamos-nested-desktop
|
||||
|
||||
# Remove the performance overlay, it meddles with some tasks
|
||||
unset LD_PRELOAD
|
||||
|
||||
env MUTTER_DEBUG_DUMMY_MODE_SPECS=${STEAMOS_NESTED_DESKTOP_WIDTH:-1280}x${STEAMOS_NESTED_DESKTOP_HEIGHT:-800} \
|
||||
dbus-run-session -- gnome-shell --nested --wayland
|
||||
Xephyr -ac -screen ${STEAMOS_NESTED_DESKTOP_WIDTH:-1280}x${STEAMOS_NESTED_DESKTOP_HEIGHT:-800} -reset :5 &
|
||||
env DISPLAY=:5 \
|
||||
MUTTER_DEBUG_DUMMY_MODE_SPECS=${STEAMOS_NESTED_DESKTOP_WIDTH:-1280}x${STEAMOS_NESTED_DESKTOP_HEIGHT:-800} \
|
||||
dbus-run-session -- gnome-shell --nested \
|
||||
--wayland
|
||||
|
Loading…
x
Reference in New Issue
Block a user