Skip to content

Commit a9ac98f

Browse files
committed
chore: Prevent use of nested shell on gnome desktop
1 parent 791000f commit a9ac98f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

spec_files/steamdeck-gnome-presets/steamdeck-gnome-presets.spec

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ Source: {{{ git_dir_pack }}}
1010
BuildArch: noarch
1111

1212
Requires: steamdeck-backgrounds
13-
Requires: zenity
1413
Requires: dbus-x11
14+
Requires: zenity
15+
Requires: inxi
1516

1617
Conflicts: steamdeck-kde-presets
1718
Conflicts: steamdeck-kde-presets-desktop

spec_files/steamdeck-gnome-presets/usr/bin/steamos-nested-desktop

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#!/usr/bin/env bash
2+
if [[ "$(inxi -Gxx | grep compositor)" =~ "gnome-shell" ]]; then
3+
zenity --info --text "This utility is meant to be executed through Steam Game Mode only."
4+
exit 0
5+
fi
6+
27
source /etc/default/steamos-nested-desktop
38

49
# Remove the performance overlay, it meddles with some tasks

0 commit comments

Comments
 (0)