<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>51054</bug_id>
          
          <creation_ts>2024-08-05 12:37:58 +0300</creation_ts>
          <short_desc>Добавить ярлык Return to SteamDeck Gaming Mode на рабочий стол</short_desc>
          <delta_ts>2024-08-20 10:34:16 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>gamescope-session-steam</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>51056</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Boris Yumankulov">boriabloger</reporter>
          <assigned_to name="fidel@altlinux.org">fidel</assigned_to>
          <cc>fidel</cc>
    
    <cc>tergoev-m</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>249680</commentid>
    <comment_count>0</comment_count>
    <who name="Boris Yumankulov">boriabloger</who>
    <bug_when>2024-08-05 12:37:58 +0300</bug_when>
    <thetext>Нужно добавить Return to SteamDeck Gaming Mode для быстрого переключения между игровой сессией и рабочим столом

Так же нужно добавить в скрипт /usr/bin/steamos-session-select подобный код

/usr/libexec/os-session-select $@
# Simply call shutdown on the client
steam -shutdown
# make sure all wine processes are DEAD dead.
kill -9 $(ps -ef | grep -E -i &apos;(wine|processid|\.exe)&apos; | awk &apos;{print $2}&apos;)
systemctl --user stop gamescope-session-plus@steam.service

Для реализации возвращения из игровой сессии на рабочий стол</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>250268</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-08-20 10:34:16 +0300</bug_when>
    <thetext>gamescope-session-steam-0.0.3.git015e09-alt1.1 -&gt; sisyphus:

 Sat Aug 17 2024 Boris Yumankulov &lt;boria138@altlinux&gt; 0.0.3.git015e09-alt1.1
 - NMU: added desktop and session return patch (ALT bug: 51054)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>