feat(deck): Remove nested desktop support. This has been broken under GNOME since launch, and is now broken under KDE as of KDE6.

This commit is contained in:
Kyle Gospodnetich 2024-04-18 17:52:02 -07:00
parent 1fe466f6a9
commit 3032dae4d7
9 changed files with 4 additions and 129 deletions

View File

@ -36,9 +36,7 @@ cp -rv usr/bin/* %{buildroot}%{_bindir}
# are going to be installed into target system where the rpm is installed.
%files
%{_bindir}/steamos-add-to-steam
%{_bindir}/steamos-nested-desktop
%{_datadir}/nautilus-python/extensions/steamos-add-to-steam.py
%{_datadir}/applications/steam/steamos-nested-desktop/*
# Finally, changes from the latest release of your application are generated from
# your project's Git history. It will be empty until you make first annotated Git tag.

View File

@ -1,10 +0,0 @@
#!/usr/bin/bash
source /etc/default/steamos-nested-desktop
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

View File

@ -1,93 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="100mm"
height="100mm"
viewBox="0 0 100 100"
version="1.1"
id="svg1"
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
sodipodi:docname="icon.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="1.0467522"
inkscape:cx="177.21481"
inkscape:cy="172.43813"
inkscape:window-width="1509"
inkscape:window-height="1288"
inkscape:window-x="26"
inkscape:window-y="23"
inkscape:window-maximized="0"
inkscape:current-layer="layer1" />
<defs
id="defs1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-67.997916,-102.92292)">
<g
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-miterlimit:4"
id="g3773"
transform="matrix(0.77123316,0,0,0.77123316,80.897782,107.3199)">
<path
d="M 86.068,0 C 61.466,0 56.851,35.041 70.691,35.041 84.529,35.041 110.671,0 86.068,0 Z"
style="fill:#ffffff;fill-opacity:1"
id="path3775" />
<path
d="M 45.217,30.699 C 52.586,31.149 60.671,2.577 46.821,4.374 32.976,6.171 37.845,30.249 45.217,30.699 Z"
style="fill:#ffffff;fill-opacity:1"
id="path3777" />
<path
d="M 11.445,48.453 C 16.686,46.146 12.12,23.581 3.208,29.735 -5.7,35.89 6.204,50.759 11.445,48.453 Z"
style="fill:#ffffff;fill-opacity:1"
id="path3779" />
<path
d="M 26.212,36.642 C 32.451,35.37 32.793,9.778 21.667,14.369 10.539,18.961 19.978,37.916 26.212,36.642 Z"
style="fill:#ffffff;fill-opacity:1"
id="path3781" />
<path
d="m 58.791,93.913 c 1.107,8.454 -6.202,12.629 -13.36,7.179 C 22.644,83.743 83.16,75.088 79.171,51.386 75.86,31.712 15.495,37.769 8.621,68.553 3.968,89.374 27.774,118.26 52.614,118.26 c 12.22,0 26.315,-11.034 28.952,-25.012 C 83.58,82.589 57.867,86.86 58.791,93.913 Z"
style="fill:#ffffff;fill-opacity:1"
id="path3783" />
</g>
<g
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-miterlimit:4"
id="g5"
transform="matrix(0.77123316,0,0,0.77123316,80.897782,107.3199)">
<path
d="M 86.068,0 C 61.466,0 56.851,35.041 70.691,35.041 84.529,35.041 110.671,0 86.068,0 Z"
style="fill:#ffffff;fill-opacity:1"
id="path1" />
<path
d="M 45.217,30.699 C 52.586,31.149 60.671,2.577 46.821,4.374 32.976,6.171 37.845,30.249 45.217,30.699 Z"
style="fill:#ffffff;fill-opacity:1"
id="path2" />
<path
d="M 11.445,48.453 C 16.686,46.146 12.12,23.581 3.208,29.735 -5.7,35.89 6.204,50.759 11.445,48.453 Z"
style="fill:#ffffff;fill-opacity:1"
id="path3" />
<path
d="M 26.212,36.642 C 32.451,35.37 32.793,9.778 21.667,14.369 10.539,18.961 19.978,37.916 26.212,36.642 Z"
style="fill:#ffffff;fill-opacity:1"
id="path4" />
<path
d="m 58.791,93.913 c 1.107,8.454 -6.202,12.629 -13.36,7.179 C 22.644,83.743 83.16,75.088 79.171,51.386 75.86,31.712 15.495,37.769 8.621,68.553 3.968,89.374 27.774,118.26 52.614,118.26 c 12.22,0 26.315,-11.034 28.952,-25.012 C 83.58,82.589 57.867,86.86 58.791,93.913 Z"
style="fill:#ffffff;fill-opacity:1"
id="path5" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

View File

@ -1,19 +0,0 @@
[Desktop Entry]
Type=Application
Name=Nested Desktop
Exec=steamos-nested-desktop
Categories=Desktop;
# Regular icon/logo. Any size, 1:1.
Icon=/usr/share/applications/steam/steamos-nested-desktop/icon.svg
# 600x900px Capsule Art
X-Steam-Library-Capsule=/usr/share/applications/steam/steamos-nested-desktop/capsule.png
# 3840x1240 Hero Art Background
X-Steam-Library-Hero=/usr/share/applications/steam/steamos-nested-desktop/hero.png
# 1280x720 Logo
X-Steam-Library-Logo=/usr/share/applications/steam/steamos-nested-desktop/logo.png
# 1280x720 Store Logo (Horizontal Capsule)
X-Steam-Library-StoreCapsule=/usr/share/applications/steam/steamos-nested-desktop/store-logo.png
# What controller preset to use.
X-Steam-Controller-Template=Desktop

View File

@ -10,9 +10,8 @@ Source1: steamdeck-le.svg
Source2: bazzite_logo.svgz
BuildArch: noarch
Patch0: fedora.patch
Patch1: nested-desktop-resolution.patch
Patch2: kdeglobals.patch
Patch3: bazzite_logo.patch
Patch1: kdeglobals.patch
Patch2: bazzite_logo.patch
Requires: kde-filesystem
@ -54,6 +53,8 @@ rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents
rm %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/deck_logo.svgz
rm %{buildroot}%{_sysconfdir}/xdg/autostart/jupiter-plasma-bootstrap.desktop
rm %{buildroot}%{_bindir}/jupiter-plasma-bootstrap
rm %{buildroot}%{_bindir}/steamos-nested-desktop
rm -rf %{buildroot}%{_datadir}/applications/steam/steamos-nested-desktop
cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vapor.desktop/contents/splash/images/bazzite_logo.svgz
cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.desktop/contents/splash/images/bazzite_logo.svgz
@ -86,9 +87,7 @@ cp %{SOURCE2} %{buildroot}%{_datadir}/plasma/look-and-feel/com.valve.vgui.deskto
%{_sysconfdir}/xdg/plasma-workspace/env/ibus.sh
%{_sysconfdir}/xdg/powermanagementprofilesrc
%{_bindir}/steamos-add-to-steam
%{_bindir}/steamos-nested-desktop
%{_prefix}/lib/udev/rules.d/99-kwin-ignore-tablet-mode.rules
%{_datadir}/applications/steam/steamos-nested-desktop
%{_datadir}/X11/xorg.conf.d/99-pointer.conf
%{_datadir}/icons/*
%{_datadir}/konsole/*