Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. johndoe
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 2
    • Groups 0

    johndoe

    @johndoe

    5
    Reputation
    2
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    johndoe Follow

    Best posts made by johndoe

    • RE: Could I compile a python GTK appeared for Ubuntu touch?

      Packaging a GTK app as an click package is possible and here is an example that worked on my Nexus 4 with Mir as the display manager and will maybe also work on other devices:
      Video of working app (a simple image editor):
      https://libre.video/videos/watch/2f2c5304-d278-4b43-84e0-3c463d3a6432
      Source Code:
      https://gitlab.com/AdamSchrey/image_and_buttons

      Some of the things done here will most likely not be necessary on devices that run Wayland.

      I had to add this lines to the .desktop file:
      X-Ubuntu-Touch=true
      X-Ubuntu-XMir-Enable=true

      I had to add this line to the .apparmor file:
      "template": "unconfined",

      Otherwise I would get this error:
      ** (process:26446): WARNING **: Unable to exec '/usr/lib/arm-linux-gnueabihf/ubuntu-app-launch/xmir-helper image-and-buttons_0.9.0 ut_session.sh' in '/opt/click.ubuntu.com/.click/users/phablet/image-and-buttons': Permission denied

      I had to export this variable to get bigger buttons/text/entries...:
      export GDK_SCALE=2

      To get an on screen keyboard I installed this packages on my device:
      maliit-inputcontext-gtk3 maliit-inputcontext-gtk2

      ...and exported this variable:
      export GTK_IM_MODULE=maliitphablet

      I reply to this old post, because when I searched for a solution, this was one of the first things that came up and I could not find any working examples my self.
      Maybe someone will find this helpful or will tell me if my app and my solution also work on other devices.

      iab_ut.png

      Some of the things I did, were taken from this website
      http://kriscode.blogspot.com/2016/09/x-applications-on-ubuntu-phone.html

      posted in App Development
      J
      johndoe
    • RE: Libertine Tweak Tool

      @doniks I thought the icon could be improved and created a different icon:
      libertine-tweak-tool.png
      This is a png file. The original file is a svg file. It seems like the forum does not like svg files, so I made a merge request.
      I did not like the low resolution of the current icon, this should not be a problem with a svg file.
      If you still prefer the current icon, that is no problem.

      posted in Support
      J
      johndoe

    Latest posts made by johndoe

    • RE: Libertine Tweak Tool

      @doniks screenshot20210124_231204396.png

      I changed the icon size and you can also choose between different colours here:
      https://gitlab.com/AdamSchrey/libertine-tweak-tool/-/tree/master_new/assets

      If you merge my project into yours, the old icon will maybe be deleted and you could remove the colour combinations you do not like.

      posted in Support
      J
      johndoe
    • RE: Libertine Tweak Tool

      @doniks No problem, I will try to change it when I have some free time (probably at the weekend).

      posted in Support
      J
      johndoe
    • RE: Libertine Tweak Tool

      @doniks I thought the icon could be improved and created a different icon:
      libertine-tweak-tool.png
      This is a png file. The original file is a svg file. It seems like the forum does not like svg files, so I made a merge request.
      I did not like the low resolution of the current icon, this should not be a problem with a svg file.
      If you still prefer the current icon, that is no problem.

      posted in Support
      J
      johndoe
    • Which devices run Wayland?

      Maybe there is a list somewhere, but I could not find any.
      Is the Pinephone currently the only device that runs Wayland and will all newer Android devices run Wayland in the near future or will this take some time?

      posted in OS
      J
      johndoe
    • RE: Could I compile a python GTK appeared for Ubuntu touch?

      Packaging a GTK app as an click package is possible and here is an example that worked on my Nexus 4 with Mir as the display manager and will maybe also work on other devices:
      Video of working app (a simple image editor):
      https://libre.video/videos/watch/2f2c5304-d278-4b43-84e0-3c463d3a6432
      Source Code:
      https://gitlab.com/AdamSchrey/image_and_buttons

      Some of the things done here will most likely not be necessary on devices that run Wayland.

      I had to add this lines to the .desktop file:
      X-Ubuntu-Touch=true
      X-Ubuntu-XMir-Enable=true

      I had to add this line to the .apparmor file:
      "template": "unconfined",

      Otherwise I would get this error:
      ** (process:26446): WARNING **: Unable to exec '/usr/lib/arm-linux-gnueabihf/ubuntu-app-launch/xmir-helper image-and-buttons_0.9.0 ut_session.sh' in '/opt/click.ubuntu.com/.click/users/phablet/image-and-buttons': Permission denied

      I had to export this variable to get bigger buttons/text/entries...:
      export GDK_SCALE=2

      To get an on screen keyboard I installed this packages on my device:
      maliit-inputcontext-gtk3 maliit-inputcontext-gtk2

      ...and exported this variable:
      export GTK_IM_MODULE=maliitphablet

      I reply to this old post, because when I searched for a solution, this was one of the first things that came up and I could not find any working examples my self.
      Maybe someone will find this helpful or will tell me if my app and my solution also work on other devices.

      iab_ut.png

      Some of the things I did, were taken from this website
      http://kriscode.blogspot.com/2016/09/x-applications-on-ubuntu-phone.html

      posted in App Development
      J
      johndoe