• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Windowed and Staged

Scheduled Pinned Locked Moved Solved Support
17 Posts 4 Posters 1.4k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kugiigi
      last edited by 11 Sept 2021, 12:43

      There's a toggle in the system indicator if your device screen is big enough or scaling is small enough. You can try the scaling but otherwise, you may need to change the code of the system indicator so that tge toggle os always shown. Personally, I think it should be that way anyway.

      P 1 Reply Last reply 11 Sept 2021, 13:49 Reply Quote 0
      • P Offline
        Pulsar33 @kugiigi
        last edited by 11 Sept 2021, 13:49

        @kugiigi Wooo ! I don't see this toggle. My screen is 720x1280 ...
        I would be happy to know how to make the toggle visible
        Thank you in advance
        Pulsar33

        Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
        Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
        Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

        K 2 Replies Last reply 11 Sept 2021, 17:11 Reply Quote 0
        • K Offline
          Keneda @Pulsar33
          last edited by Keneda 9 Nov 2021, 18:32 11 Sept 2021, 17:11

          @pulsar33
          If you don't see it it's because your scaling is not set small enough.
          Use uttt to change it.
          screenshot20210911_191206610.png

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

          1 Reply Last reply Reply Quote 0
          • P Offline
            Pulsar33 @Pulsar33
            last edited by Pulsar33 9 Nov 2021, 18:30 11 Sept 2021, 18:29

            @Keneda : Arggg !
            @pulsar33 said in Windowed and Staged:

            Is there a way to switch dynamically (script or something like this) between Windowed Mode and Staged Mode without using UTTT ?

            Advertisement in OpenStore concerning UTTT is frightening ... I wanted to bypass this solution. Can't I switch myself some variable somewhere ? Moreover, I would like to change it programmatically by my own code according to what I launch.
            Good evening
            Pulsar33

            Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
            Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
            Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

            K 1 Reply Last reply 11 Sept 2021, 18:33 Reply Quote 0
            • K Offline
              Keneda @Pulsar33
              last edited by Keneda 9 Nov 2021, 18:44 11 Sept 2021, 18:33

              @pulsar33
              Using UTTT to change scaling will not break your device.

              The "thing" with UTTT is that you can make all system files read/write, and doing so you can do good, or very bad, things, but appart from that, that's only advanced options... Scaling is part of those harmless advanced options.

              You can break the same your device using only terminal app...

              In fact any app that has full access to your device (unconfined apps) could have the same warning, but terminal don't have it because it's an ubport app, UTTT is not, so it has it...

              2015-2023 : Meizu MX4 ☠️⚰️✝️
              2023-2024 : Nexus 5 ☠️⚰️✝️
              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
              🇲🇫🇬🇧

              P 1 Reply Last reply 11 Sept 2021, 18:45 Reply Quote 0
              • P Offline
                Pulsar33 @Keneda
                last edited by 11 Sept 2021, 18:45

                @keneda Ok, I understand your comments, thank you. I will think about that to give a try. But switching manually is not what I hoped to do.

                BR
                Pulsar33

                Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                1 Reply Last reply Reply Quote 0
                • K Offline
                  Keneda @Pulsar33
                  last edited by 11 Sept 2021, 18:49

                  @pulsar33 said in Windowed and Staged:

                  I would be happy to know how to make the toggle visible

                  I only tried to help you about this.
                  Now i'm sure you can change scalling using terminal, but we have UTTT for this.

                  2015-2023 : Meizu MX4 ☠️⚰️✝️
                  2023-2024 : Nexus 5 ☠️⚰️✝️
                  2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                  🇲🇫🇬🇧

                  1 Reply Last reply Reply Quote 2
                  • P Offline
                    Pulsar33
                    last edited by 12 Sept 2021, 06:05

                    Hello
                    What I'm looking for existed in the past, but this key isn't available anymore :

                    #for Windowed mode:
                    gsettings set com.canonical.Unity8 usage-mode Windowed
                    #for Staged mode:
                    gsettings set com.canonical.Unity8 usage-mode Staged
                    

                    I listed all the "schemas" but didn't find something relevant ...
                    If you know it, please tell me.
                    BR
                    Pulsar33

                    Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                    Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                    Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                    B K 2 Replies Last reply 12 Sept 2021, 09:32 Reply Quote 1
                    • B Offline
                      Bolly @Pulsar33
                      last edited by 12 Sept 2021, 09:32

                      @pulsar33 said in Windowed and Staged:

                      I listed all the "schemas" but didn't find something relevant ...
                      If you know it, please tell me.
                      BR

                      You can look in the UTT code, there you will find how it is done.

                      2015-Now (Daily use) : BQ Aquaris E4.5 Ubuntu edition
                      2016-Now (Daily use) : BQ Aquaris M10 FHD Betatester

                      2020-Now : PinePhone Braveheart & CE UBports
                      2020-Now (Family/Daily use): Vollaphone Xenial
                      2022-Now (Family/Daily use): Vollaphone 22 Focal

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kugiigi @Pulsar33
                        last edited by 12 Sept 2021, 11:13

                        @pulsar33 said in Windowed and Staged:

                        gsettings set com.canonical.Unity8 usage-mode Windowed

                        I'm pretty sure those will still work unless you device is already on 20.04.

                        B 1 Reply Last reply 12 Sept 2021, 19:08 Reply Quote 2
                        • B Offline
                          Bolly @kugiigi
                          last edited by 12 Sept 2021, 19:08

                          @kugiigi said in Windowed and Staged:

                          @pulsar33 said in Windowed and Staged:

                          gsettings set com.canonical.Unity8 usage-mode Windowed

                          I'm pretty sure those will still work unless you device is already on 20.04.

                          Yes, it's working.

                          2015-Now (Daily use) : BQ Aquaris E4.5 Ubuntu edition
                          2016-Now (Daily use) : BQ Aquaris M10 FHD Betatester

                          2020-Now : PinePhone Braveheart & CE UBports
                          2020-Now (Family/Daily use): Vollaphone Xenial
                          2022-Now (Family/Daily use): Vollaphone 22 Focal

                          P 1 Reply Last reply 13 Sept 2021, 06:17 Reply Quote 1
                          • P Offline
                            Pulsar33 @Bolly
                            last edited by Pulsar33 13 Sept 2021, 06:17

                            @bolly @kugiigi Yesss ! Thank you very much !
                            Having look at the code of UTTT as suggested, I had seen the key and didn't understand why I had the answer :
                            The schema "com.canonical.Unity8" doesn't exists
                            This was why I told you "but this key isn't available anymore" above.

                            After you said that it was working, I understood my mistake :
                            I was issuing the command in LXTerminal running inside the Libertine container, and there it doesn't work. You're right, if I type the command outside the Libertine container, it works ! Great !

                            I'm now facing some other problems with the Windowed mode but these are commented in other threads.

                            BR
                            Pulsar33

                            screenshot20210913_082935677.png

                            Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                            Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                            Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                            1 Reply Last reply Reply Quote 1
                            • P Offline
                              Pulsar33
                              last edited by Pulsar33 13 Sept 2021, 14:03

                              One more tip, if you don't want to install UTTT :
                              When you see the picture above, you may usefully use this command

                              gsettings set com.canonical.Unity8 launcher-width 6
                              

                              Then you get this below (minimal launcher width)
                              BR
                              Pulsar33
                              screenshot20210913_155807460.png

                              Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                              Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                              Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                              K 1 Reply Last reply 14 Sept 2021, 17:03 Reply Quote 1
                              • P Offline
                                Pulsar33
                                last edited by 14 Sept 2021, 15:00

                                And the better tip, if you want to hide automatically the launcher :

                                gsettings set com.canonical.Unity8 autohide-launcher true
                                

                                screenshot20210914_161117874.png

                                Have fun !
                                Pulsar33

                                Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                                Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                                Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                                1 Reply Last reply Reply Quote 1
                                • K Offline
                                  kugiigi @Pulsar33
                                  last edited by 14 Sept 2021, 17:03

                                  @pulsar33 This is actually in the settings app but it's hidden on small screen for some strange reasons. I have an open PR to just show it in all devices.

                                  K 1 Reply Last reply 14 Sept 2021, 20:08 Reply Quote 1
                                  • K Offline
                                    Keneda @kugiigi
                                    last edited by 14 Sept 2021, 20:08

                                    @kugiigi
                                    It is in UTTT also, along with launcher scaling.

                                    2015-2023 : Meizu MX4 ☠️⚰️✝️
                                    2023-2024 : Nexus 5 ☠️⚰️✝️
                                    2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                                    🇲🇫🇬🇧

                                    1 Reply Last reply Reply Quote 0
                                    11 out of 17
                                    • First post
                                      11/17
                                      Last post