UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. danfro
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 371
    • Groups 1

    danfro

    @danfro

    In my free time I am coding for the UBports community. To find out more about this great mobile OS check out https://ubports.com If you like my work, you can donate me a coffee here: https://paypal.me/payDanfro

    139
    Reputation
    108
    Profile views
    371
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    danfro Unfollow Follow
    Global Moderator

    Best posts made by danfro

    • RE: Looking for offline map app

      While we are waiting for PureMaps to provide offline functionality, here some instructions on how to get offline maps for uNav working using downloadosmtiles. I do post this here because I did encounter a few stones on the road to success. 😉

      1. download downloadosmtiles from the left hand menu
      2. extract to a folder on your harddisc, i.e. Downloads/osmtiles
      3. run the script with perl downloadosmtiles.pl --link='http://www.openstreetmap.org/?lat=49.5782&lon=11.0076&zoom=10&layers=B000FTF' --zoom=5:16 --destdir=somewhere/maps
      • of course replace coordninates with your target coordinates, the area seems to depend on the zoom value after the coords
      • replace the path for destdir with another one, default is the current working directory
      • change zoom levels, levels above 16 do take quite some time to download, you can download 5 to 16 first, and only level 17 or above later if you really need it
      1. copy the map-files (foldernames = zoom level i.e. 5) onto your phone i.e. in a folder Documents/uNav_maps
        [zip the map tiles and copy the zip file, that is much faster than copying thousands of files]
      2. in Terminal app run the following commands:
        cd Downloads/uNav_maps
        rsync -avp . ~/.local/share/navigator.costales/maps
        [rsync is faster than cp and gives you progress information]
      3. open up uNav, goto settings, change Modus to offline maps

      EDIT:
      To specify a bounding box for the tiles do be downloaded the command in step 3 needs to look like this:
      perl downloadosmtiles.pl --latitude=47.35371:49.93708 --longitude=7.38281:10.54687 --zoom=5:7 --destdir=somewhere/maps
      edit finished

      Have fun! Don't get lost!

      for lazy guys like me:
      If you do this regularly, you may wish to create yourself a small shell script in your phones home folder called i.e. cpbash.sh. Then only open Terminal and run bash cpmaps.sh. Put the following two lines into the script:
      cd Downloads/uNav_maps
      rsync -avp . ~/.local/share/navigator.costales/maps

      Troubleshooting: (on ubuntu 18.04)
      ... Can't locate Geo/OSM/Tiles.pm in @INC ...

      • open the file downloadosmtiles.pl in a editor
      • before line 6 add the following line: use lib '/Downloads/OSMtiles/Geo-OSM-Tiles-0.04/lib';, replace the path with your download location

      ... Can't locate Geo/OSM/Tiles.pm in @INC ...

      • install YAML.pm by running: sudo apt-get install libyaml-perl

      • you may need to create the folder maps to be like this: ~/.local/share/navigator.costales/maps, then map data wants to be in there in a structure like this (see https://unav.me/offline/) :
        ~/.local/share/navigator.costales/maps/10/
        ~/.local/share/navigator.costales/maps/10/523/
        ~/.local/share/navigator.costales/maps/10/523/331.png

      posted in Support
      danfroD
      danfro
    • tedit development and design discussion

      Hi, I recently took over developing tedit app. I would like to try the forum, to gather some ideas and feedback regarding ongoing development.

      In this thread, I will post questions regarding future design and functionality and let you, the users, comment and ask things. Lets see how this goes. We can always split it up or move discussions elsewhere.

      I would still prefer to have issues and feature requests added in the gitlab repository, but I understand, that not everyone is familiar with gitlab and also that some things are easier to discuss here.

      posted in App Development tedit editor app development features
      danfroD
      danfro
    • RE: On this (US) Thanksgiving...

      He has been mentioned, but many, many, many ... thanks to @bhdouglass master of OpenStore!!! What would we be without our OpenStore? Great work done there - and certainly a lot of time spend.

      Many thanks to everyone working on clickable - I know for sure @bhdouglass and @jonius - who provide a magical and crucial tool for us to create apps.

      Thanks @bhdouglass for asking me to maintain weather app. With your advice and a lot of starting help by @jonius , design guidance from some weeeee helper @CiberSheep I am happy to be able to contribute.

      Also many thanks to all translators like @Anne017 for hours of translating, so others with less knowledge of the English language can enjoy Ubuntu Touch.

      And thanks to everyone else here making up a nice community!

      Edit: I forgot to mention two important contributors: @Krille and @nanu-c . With a lot of time and love they provide apps for matrix and signal. Significant add ons next to Teleports. So man thanks to you too!

      posted in General
      danfroD
      danfro
    • RE: How I'm now using Signal on UT

      @Robipo When I wrote this post, I didn't know, that Github only provides downloadable files for users that are actually logged in to Github.

      So currently you can either log into Github (if you have an account) and download it from there, or use the latest .click I provided in our Telegram QA group.

      I will release Cinny soon in OpenStore (I got the "go ahead" from the old maintainer today.), but a couple of steps need to be done until that is achieved.

      posted in General
      danfroD
      danfro
    • RE: [Call for] Nominations for the UBports Community Awards

      For developers:

      1. Ratchanan, because so much code for the OS wouldn't exist without him
      2. Lionel for his work on calendar app, dialer and messages

      For apps:

      1. Teleports, what would we do without it?
      2. OpenStore, again we would be nothing witout it
      posted in General
      danfroD
      danfro
    • RE: Call for testing: Ubuntu Touch 24.04-1.0

      @vverve This number is the daily build for your specific device. All devices have their own number, since some changes may only affect one or few devices, but not all. So one device may get a build, others not. Some core changes may affect all devices, so all get a new build.

      With a couple of hundred repositories its surely hard to track changes, but for tracking changes I am looking at merged MR's: https://gitlab.com/groups/ubports/development/core/-/merge_requests?scope=all&state=merged

      posted in OS
      danfroD
      danfro
    • RE: How to set Desktop Mode off and make it stick?

      @dtarrant I had a look, yes, the app is not using a terminal command (as I thought). It is changing a gsetting.

      gsetting values can be changed via terminal too as described here.

      The schema is "com.canonical.Unity8". The actual setting value is "usageMode". (taken from UT Tweak Tool's code, not checked)

      So in theory something like this run in terminal should work:

      gsettings set com.canonical.Unity8 usage-mode Staged
      gsettings set com.canonical.Unity8 usage-mode Windowed
      gsettings set com.canonical.Unity8 usage-mode Automatic
      

      Havn't tried it though.

      Edit:
      If you wish to do this without terminal but from inside an app, have a look at my ThemeSwitch branch where I implemented a working way of changing a gsetting.

      Edit 2:
      I edited the mispelled commands here too as pointed out by @Pulsar33.Thanks for that.
      Although if it is usage-mode, then I don't know why or how UT Tweak Tool can work, because that is using usageMode. But maybe I overlook something.

      posted in Lenovo Tab M10 X605F/L
      danfroD
      danfro
    • RE: Focal/20.04 is out for quite a while now. You still use Xenial/16.04? I would like to know what stops you from upgrading?

      So to sum up what has been written here so far (what got stuck in my head), the main reasons for not moving to focal are is order of seriousness (and lack of workarounds):

      • stability of focal and
      • too many troubles when migrating from xenial to focal. Either taken from own experience with another device or from discussions.
      • A clean install is the best way to do that, BUT we don't have a good backup solution.
      • This is followed with devices not supporting focal, sure no workaround for that.
      • Apps missing is an issue, but that is sorted easiest and also is due to developers not having moved to focal yet with their devices.

      [edit, I forgot one big reason:]

      • people are just happy on xenial, no need to move on

      With 24.04 knocking at the door (middle of this year planned currently) this is valuable information. I will pass that on to the core dev team.

      Of course this doesn't close this post. 🙂 Its more a summary for others joining new and for myself :smiling_face_with_halo: .

      posted in General
      danfroD
      danfro
    • RE: tedit development and design discussion

      @ancientsounds I do understand that this would be very convenient. But to achieve this, the app would need to be unconfined. And I would rather try to avoid that. I wrote some explanations in an issue recently.

      You can share files to import them in tedit. I will (hopefully soon) find time to add content hub export too. Also you can create symlinks to tedit's file folder in other locations, as described in the README. I believe this does provide quite some flexibility to use.

      posted in App Development
      danfroD
      danfro
    • RE: OnePlus 8

      @Moem time does solve some issues. There actually is a port for OP8 in the works by Scott Howards, he posted some photos on TG. And there is a port for OP8T being done by @aribk and me helping with testing on that. They may end up in the installer and on devices page at some point next year I hope.

      posted in Oneplus
      danfroD
      danfro

    Latest posts made by danfro

    • RE: Broken Accounts Menu on fresh NP1

      @ubohnehose unlocking doesn't require a google account or logging into one. Trust me, I haven't got a G'account but I do have a working NP1 with UT. I did that on multiple devices also on Volla phines or OnePlus.
      So you somehow took a wrong turn somewhere. Not sure where though.

      posted in Support
      danfroD
      danfro
    • RE: Broken Accounts Menu on fresh NP1

      @ubohnehose why do you used the manual install version at all? The ubports installer works like a charm for NP1. I never did such a smooth install on any other device. 😎

      posted in Support
      danfroD
      danfro
    • RE: Broken Accounts Menu on fresh NP1

      @ubohnehose broken accounts page is a known issue on daily channel. That is for all devices. Not sure when that will get fixed.

      posted in Support
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm I had to move the number back into the info string. Some translators raised issues that the separate number breaks translation in their language. So we are using this "<b>%1</b> files found, swipe an entry for file info and delete options" variation now. Still translatable and a bold number. Not perfect but should work.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm Haha, yes, this way we never get a new release. 😉

      No, thanks for that. Without testers and issues the errors stay. I did drop the created date, something is funny about that. And I think its not that important to add.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      Hmm, created date seems not to work properly for all files. Some yes, some not. Encrypted not? Or not available for all files. Imported? Maybe I simply drop that info?

      Edit: But file manager has problems on those files too. So not really a tedit thing.

      Edit2: It is a tedit problem. When writing changes, tedit seems to recreate that file. That is why created and modified date are the same afterwards...

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm I spottet another error: the time is no longer in UTC, likely due to my changed file reading. That made it easier to reformat. I did a few changes to file info page... 😎

      https://gitlab.com/Danfro/tedit/-/jobs/14472542713/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.7.0_arm64.click

      (A few strings will need to be re-translated because I changed the capital letter for the second word or so).

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm Your translation is too long. Use German compound nouns. No problem here. 😁

      Yeah that part is not perfect at all. I have that on my todo list to better format the timestamp, but there was some reason why that isn't that simple. Otherwise I would have already done it.

      I will see what I can do about that. Moving the value to another line might be the easiest. Just cropping the text would make it useless.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm Thanks for all your testing, reporting and your suggestions. Then I will maybe wait a few days to get some translations in (https://hosted.weblate.org/projects/ubports/tedit/) and then release this change.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      Ok, skipping the subfoldername was not that difficult: https://gitlab.com/Danfro/tedit/-/jobs/14471012073/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.7.0_arm64.click

      posted in App Development
      danfroD
      danfro