fix(gnome): Launch new dbus session with nested gnome, change icon to svg

This commit is contained in:
Kyle Gospodnetich 2023-10-22 20:00:31 -07:00
parent f0ed60d9e6
commit f45cdd3d59
4 changed files with 96 additions and 1 deletions

View File

@ -4,5 +4,7 @@ source /etc/default/steamos-nested-desktop
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
eval $(dbus-launch --sh-syntax)
env MUTTER_DEBUG_DUMMY_MODE_SPECS=${STEAMOS_NESTED_DESKTOP_WIDTH:-1280}x${STEAMOS_NESTED_DESKTOP_HEIGHT:-800} \
dbus-run-session -- gnome-shell --nested --wayland

View File

@ -0,0 +1,93 @@
<?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>

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -5,7 +5,7 @@ Exec=steamos-nested-desktop
Categories=Desktop;
# Regular icon/logo. Any size, 1:1.
Icon=/usr/share/applications/steam/steamos-nested-desktop/icon.png
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