Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. hankschwie
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 93
    • Best 14
    • Groups 0

    hankschwie

    @hankschwie

    22
    Reputation
    18
    Profile views
    93
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    hankschwie Follow

    Best posts made by hankschwie

    • Refresh icon view in App Drawer in real time

      Hi!

      We wrote a small script and a desktop file to toogle Anbox via

      anbox-tool enable|disable
      

      see [https://wiki.ubuntuusers.de/Ubuntu_Touch/Anbox/#Automatisches-Umschalten-per-Icon] .

      because Anbox is using energy, even when not in use. It works fine.

      Now I thought it would be nice to change the icon (like using a green one when Anbox is enabled, and a red one when it is disabled). I tried to use cp within the script to copy a new icon to home/phablet/.local/share/applications/ . That works, but it looks like the icons are cached somewhere, and are only refreshed after unity8 is restarted, or the whole device.

      Would it be possible to change that in real time, so I could see just by the colour of the icon if Anbox is enabled or not?

      posted in Support
      hankschwie
      hankschwie
    • RE: Refresh icon view in App Drawer in real time

      Hi!

      I was able to solve this. I noticed that anbox apps are displayed immediately after installation, as soon as the desktop file is placed in /home/phablet/.local/share/applications . So I tried to work with two desktop files which are moved back and forth between /home/phablet/.local/share/applications and /home/phablet/Downloads . The anboxtoggle.sh shovels those back and forth with each disable/enable run instead of the icons - they stay in place.

      anboxtoogle.sh looks like this:

      #!/bin/bash
      anboxtool=($(anbox-tool status)) 
      atenabled=${anboxtool[5]}
      
      if [ "$atenabled" == "YES" ]; then
            anbox-tool disable
      	mv /home/phablet/Downloads/anboxtoggleRED.desktop /home/phablet/.local/share/applications/anboxtoggleRED.desktop
      	mv /home/phablet/.local/share/applications/anboxtoggleGREEN.desktop /home/phablet/Downloads/anboxtoggleGREEN.desktop 
      else
            anbox-tool enable
      	mv /home/phablet/Downloads/anboxtoggleGREEN.desktop /home/phablet/.local/share/applications/anboxtoggleGREEN.desktop
      	mv /home/phablet/.local/share/applications/anboxtoggleRED.desktop /home/phablet/Downloads/anboxtoggleRED.desktop 
      fi
      

      The desktop file anboxtoggleGREEN.desktop:

      [Desktop Entry]
      Name=Anboxtoggle
      Type=Application
      Terminal=false
      Icon=/home/phablet/.local/share/applications/anbox-green.png
      Categories=Utility
      Comment=Switch between anbox enabled and disabled
      X-Ubuntu-Touch=true
      Exec=/home/phablet/.local/share/applications/anboxtoggle.sh 
      

      For anboxtoggleRED.desktop you just need to change the icon name in the Icon line to anbox-red.png. You need two different icon pictures, called anbox-red.png and anbox-green.png, as well (just grab some from the net, and change the colours with gimp or a similar program, if neccessary).
      Make the other files executable, and put the two icon files and one of the desktop files in /home/phablet/.local/share/applications/, the other desktop file in /home/phablet/Downloads/. (If Anbox currently is runnig, put anboxRed.desktop in .../applications, if not anboxtoggleGREEN.desktop.)

      Now there should be just one icon in the app drawer, indicating if anbox is enabled or not, changing is colour with every call.

      Have fun!

      posted in Support
      hankschwie
      hankschwie
    • RE: Welcome to the UBports community! Introduce yourself here!

      Hi!

      I'm Heinrich aka hank, and have been around for some weeks now.

      I'm an "interested layman", without any computer science training whatsoever (well, except for a Highschool Class way back in 1982 ;-)).
      Using Ubuntu since about 2005 (warty!), I switched over to Ubuntu completely since Windows Vista was introduced.
      I have been active in the german ubuntuusers.de forum since 2005, and act as wiki moderator since 2009.
      Last year I got my hands on a used Fairphone2, (already had one running the open source fairphone version) and tried Ubuntu Touch. Since then I'm hooked to it, bought a new bq HD m10 just for UT, and did an almost complete overhaul of the https://wiki.ubuntuusers.de/Ubuntu_Touch section over at ubuntuusers.de over the last weeks - (might be interesting for people who speak, or at least read, German).

      Thanks for the help I was able to get from you so far! Hope I can give something back.

      posted in General
      hankschwie
      hankschwie
    • RE: make everything on the screen BIGGER! text and BUTTONS!

      Hi!

      You can use the UT Tweak Tool to change that.

      posted in Support
      hankschwie
      hankschwie
    • RE: How to show storage space left on Ubuntu Touch? [Solved]

      System settings-> about-> storage will show the space,left internally

      posted in Support
      hankschwie
      hankschwie
    • How to import a gpx.track into pure maps/Unav?

      Is there a way to import gpx tracks to use them with pure maps (or unav)? I can't find anything in the settings, can't open the track with either application from the filemanager. Is it possible?

      posted in Support
      hankschwie
      hankschwie
    • RE: Weird clock app behavior

      Looks like it's an "old" bug:

      https://gitlab.com/ubports/apps/clock-app/-/issues/140

      Looking further into this I found two task.ics files, in two folders named ~/.local/share/evolution/tasks/xxxxxxxxxx.xxxx.x@ubuntu-phablet/. I removed the older one. Now there is just one file, ~/.local/share/evolution/tasks/1514137684.3458.0@ubuntu-phablet/tasks.ics
      looks like this has taken care of the problem.

      I'll play around with it, and check on the BQ m10, too...

      posted in Support
      hankschwie
      hankschwie
    • RE: Weird clock app behavior

      Hi!

      Yes, I have a similar problems with my FP2. I solved it setting another alarm for the same time; but the unusable entry is still there. I didn't try to reflash, since I am able to use other alarm times with no trouble. I'm on RC, will add this to the OTA12-thread.

      posted in Support
      hankschwie
      hankschwie
    • RE: [Solved] Nexus 10 with old version (2014) of UT on it - anyway to update it?

      Hi!

      You'll find available Android images on

      https://developers.google.com/android/images

      nexus 10 is
      https://developers.google.com/android/images#mantaray

      Download the archive that fits your device, you'll need fastboot and adb installed on your PC, and follow the instructions of the Readme within the .zip.

      posted in Support
      hankschwie
      hankschwie
    • RE: Stuck with anbox-tool install command

      Hi!
      We just had a similar case at https://forum.fairphone.com/t/ubuntu-touch-with-threema-on-anbox-where-are-the-files/53768/12 , a fairphone 2 running the stable channel. After changing to rc channel Anbox installation, that was stuck like in this case, could be completed, and now works. Perhaps you could give it a try? (if you are on stable, nobody knows but you...).

      But you left the forum; so we'll never know. I hope it helps in other cases.

      posted in Support
      hankschwie
      hankschwie

    Latest posts made by hankschwie

    • RE: Pure maps can't use offline maps anymore.

      Hi!

      rinigus just published a bugfix-release, so the gpx routing ist working again!

      posted in Support
      hankschwie
      hankschwie
    • RE: Pure maps can't use offline maps anymore.

      Hi!

      I have a problem with gpx-support too, since the last version update; I'm on bq m10 hd (dev), on my fairphone2 (rc) it still works with version 2.3.0. Did the update break something?

      posted in Support
      hankschwie
      hankschwie
    • RE: How to import a gpx.track into pure maps/Unav?

      @rinigus
      Please keep the gpx-features, its just great for hiking or bicycle trips. Right now I'm planing bicycle trips, which works ok, as long as the tracks don't include cross country parts on fields or similar.

      Correcting tracks is an option to use older tracks (as provided by my android ADFC bicycle map app, which is able to export the tracks).

      posted in Support
      hankschwie
      hankschwie
    • RE: How to import a gpx.track into pure maps/Unav?

      @rinigus
      I found the reason, at least for some of the problems. gpx smart fails when it encounters an "impossible" situation (e.g. the gpx track leads across a street which is not supposed to be crossed; or wants to lead through a one-way-street in the wrong direction; older tracks might have small errors because streets have changed, or an u-turn wasn't corrected after a wrong turn had occurred when recording the original gpx-track ; a round trip had the start and end point overlapping, so gpx smart just connected the short distance between those two points 😁 ). So the solution here could be a more tolerant error handling.

      I was able to fix some tracks using GpsPrune, but that is really cumbersome...

      posted in Support
      hankschwie
      hankschwie
    • RE: How to import a gpx.track into pure maps/Unav?

      @rinigus
      Very good idea! 👍

      "GPX smart" works great if the route is just "one-way"; when I try to render a gpx-track which consists of routes that are circular or include alternative ways only a part is shown, which unfortunatly isn't very smart ;-). Perhaps you could have a look into that? Or should I open an issue someplace?

      posted in Support
      hankschwie
      hankschwie
    • RE: UBports OS broken in my pinephone

      @imermauba

      So, now is the time to do it...

      If you were able to "break" your phone using apt (which is not recommended at all, FYI...) it should not be a problem for you to install the ubport installer on your PC and just run it, following the fool proof instructions given...

      posted in Support
      hankschwie
      hankschwie
    • RE: How to import a gpx.track into pure maps/Unav?

      @NoelFlantier
      Thanks! What a perfectly hidden feature! I knew I had seen something about gpx, but couldn't find it. It works, now I can get on tour with my bicycle 🙂

      posted in Support
      hankschwie
      hankschwie
    • How to import a gpx.track into pure maps/Unav?

      Is there a way to import gpx tracks to use them with pure maps (or unav)? I can't find anything in the settings, can't open the track with either application from the filemanager. Is it possible?

      posted in Support
      hankschwie
      hankschwie
    • RE: Anbox Question on BQ M10 HD (cooler)

      Hi!

      Is there anything happening to fix this? I read somewhere the necessary modules are included in dev, but I still can't install Anbox on my m10 HD...

      posted in Support
      hankschwie
      hankschwie
    • RE: aquaris M10 Fhd SD card

      @Keneda said in aquaris M10 Fhd SD card:

      Let show me one 😁

      Do you want me to show you a site, or are you going to show me a site where to get it? 😁 😀
      I bought one about three month back.

      posted in Support
      hankschwie
      hankschwie