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

    Snap apps - Scaling

    Scheduled Pinned Locked Moved Unsolved Volla Tablet
    5 Posts 3 Posters 159 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.
    • J Offline
      jojumaxx
      last edited by jojumaxx

      Hi,

      I'm running UT (24.04-1.2) natively on a Volla Tablet (no dual boot).
      I installed some snap apps like Gimp and LibreOffice. They work great with one exception:

      The workspace scales to a normal size and works perfectly. But the menu bar as well as all menus around the work area (where you choose e.g. tools in Gimp or fonts or text styling in LibreOffice) are tiny and it's hard to work with.

      I tried different UI settings from within the apps (like screen resolution in DPI from Gimp settings) without any effect.

      I tried to tweak that with UT Tweak Tool without success.

      I tried to run these apps from terminal with settings like

      $ GDK_SCALE=2 GDK_DPI_SCCALE=0.75 snap run gimp
      

      and

      $ snap connect gimp:gtk-3-themes :gtk-3-themes
      

      Also no success.

      Is there any way to tweak this? Thank you!!!

      Happily running Ubuntu Touch:

      • BQ Aquaris E5 HD (Retired)
      • BQ Aquaris M10 HD (Retired)
      • Meizu MX4 Pro (Retired)
      • Meizu Pro 5 (Retired)
      • PinePhone UBPorts Edition
      • Volla Phone
      • Volla Phone X
      I G 2 Replies Last reply Reply Quote 0
      • J jojumaxx marked this topic as a question
      • I Offline
        idonthatevests @jojumaxx
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • G Offline
          gpatel-fr @jojumaxx
          last edited by

          @jojumaxx said:

          GDK_SCALE=2 GDK_DPI_SCCALE=0.75

          are you sure about this syntax ? try

          GDK_DPI_SCALE=2

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jojumaxx @gpatel-fr
            last edited by jojumaxx

            @gpatel-fr The typo seems to have resulted from typing too quickly when I wrote this.

            $ GDK_DPI_SCALE=2 snap run gimp
            

            did solve half of the problem. All fonts are accordingly bigger and very good to read. Thank you for this!

            However, all Buttons with their symbols on them (e.g. tool selection, layer selection,...) stay tiny.
            Is there way to tweak this, too?

            Maybe the terminal output is any help?

             $ snap run gimp
            
            (gimp:5667): Gdk-WARNING **: 17:13:55.133: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
            
            (gimp:5667): dbind-WARNING **: 17:13:55.167: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
            set device 'Wayland Touch' to mode: disabled
            set device 'Wayland Pointer' to mode: disabled
            
            (gimp:5667): IBUS-WARNING **: 17:13:59.655: Failed to mkdir /home/phablet/snap/gimp/557/.config/ibus/bus: Not a directory
            
            (gimp:5667): GLib-GIO-WARNING **: 17:13:59.662: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)
            
            (gimp:5667): Gdk-WARNING **: 17:14:00.405: Server is missing xdg_foreign support
            gimp_widget_set_handle_on_mapped: gdk_wayland_window_export_handle() failed. It will not be possible to set windows in other processes as transient to this display shell.
            
            (gimp:5667): Gdk-WARNING **: 17:14:00.406: Server is missing xdg_foreign support
            gimp_widget_set_handle_on_mapped: gdk_wayland_window_export_handle() failed. It will not be possible to set windows in other processes as transient to this display shell.
            
            (gimp:5667): Gdk-CRITICAL **: 17:14:06.972: gdk_wayland_window_unexport_handle: assertion 'impl->display_server.xdg_exported_v2 || impl->display_server.xdg_exported_v1' failed
            

            Happily running Ubuntu Touch:

            • BQ Aquaris E5 HD (Retired)
            • BQ Aquaris M10 HD (Retired)
            • Meizu MX4 Pro (Retired)
            • Meizu Pro 5 (Retired)
            • PinePhone UBPorts Edition
            • Volla Phone
            • Volla Phone X
            G 1 Reply Last reply Reply Quote 0
            • G Offline
              gpatel-fr @jojumaxx
              last edited by

              @jojumaxx

              Sorry I don't know a way to scale UI elements with an environment variable.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post