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

    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

    118
    Reputation
    94
    Profile views
    302
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online

    danfro Unfollow Follow

    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
    • 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
    • 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: [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: 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: 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: Improve system settings disk usage analyzer

      @mymike It is not only the fresh new design. But being able to delete those items from system settings I would call a breakthrough. Definitely worth appreciation. 👍

      posted in Design
      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

    Latest posts made by danfro

    • RE: Smooth Edges (name pending) - Let's Fix the Bugs That Drive You Mad

      @projectmoon I only know heliboard, but that requires you to download a proprietary file for swype to work. The implementation itself is opensource, but not that file. But thanks for the suggestions. Something to look into for sure.

      posted in OS
      danfroD
      danfro
    • RE: Smooth Edges (name pending) - Let's Fix the Bugs That Drive You Mad

      Here some thoughts on my priorities:

      1. Core features

      • mobile data on sim2, although I think there is a PR already, so hopefully almost sorted
      • apps not properly accessing apparmor, like camera app on my OP5T, but other devices have that too, app logs have apparmor error entries and as developer I am never sure if they are important or kind of "normal" and can be ignored

      2. stoppers for using UT:

      • Encryption. I know several users who don't use UT or stopped because of that. Makes you feel bad to know "everyone" can grab all data off your device in case you loose it.
      • rounded corner/notch as has been mentioned, but that really restricts usage, we do rely on our indicators and they are great, but can't use them properly on affected devices (would simply limiting screen size be a workaround?)
      • VoLTE, because a phone needs to be able to do calls, during the next few years even here in Europe we will need this
      • keeping dekko updated or replacing it, email is a critical feature for most
      • improvements in Teleports and matrix and signal apps, likely the most used apps on smartphones are messengers
      • call/video call options in browser and messengers

      3. daily use

      • camera app (no crashes, device specific but happens on several devices), more features e.g. for white balance, multicamera support, panorama mode
      • Morph has been named, work is going on there, so I am confident this is solved soon
      • system side backup feature as has been named, I think for many this would make things simpler, not everyone can setup a nextcloud or syncthing services easily
      • vpn integration for several protocols, because we often would like to connect to open wifi's but I would feel more save with vpn there, and some users depend on vpn in their countries

      4. nice to have

      • swype feature in OSK, but only possible with proprietary code, even on LOS, so likely hard to achive
      • faster GPS for me is only added here, I rarely use it and mostly are then fine to wait a bit for initial fix
      • app grouping in the drawer, maybe even favourites and rarely used sections would be helpful for me
      • bluetooth comes here in my usage, I never use that, but agree it would be "not bad" and other depend on it, like when driving

      5. polishing
      I am not going to add a long list here. We all know there is plenty to do all the time everywhere if it comes to finishing touches.

      posted in OS
      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: PDF readers - no way to select and copy part of a text

      @domubpkm I guess, the osk option does keep formatting. tedit option inserts text only.

      posted in Support
      danfroD
      danfro
    • RE: PDF readers - no way to select and copy part of a text

      @domubpkm You can already choose a note area background color in tedit settings. If you have black/white, it picks that depending on your system color scheme.

      posted in Support
      danfroD
      danfro
    • RE: PDF readers - no way to select and copy part of a text

      Actually, just saw, the osk pasted text have a "wrong" text color, so here it came up as black text on black background. Might be that?

      posted in Support
      danfroD
      danfro
    • RE: PDF readers - no way to select and copy part of a text

      @domubpkm I tried a pdf with PdfJS and I can copy&paste content into tedit app. But I do know, some pdf obscure the content and permit copy&paste. Have you tried copying from this pdf on a computer?

      Also how did you paste into tedit? I found out, that pasting via the toolbar button does work, but using the osk paste function seems not to work.

      posted in Support
      danfroD
      danfro
    • RE: Signal UT: Signal-Desktop for Ubuntu Touch

      Hacking my way through it... ;-).

      If you wish to use dark mode, close the app and edit this file:
      ~/.config/signalut.pparent/Signal/ephemeral.json
      You can do that with seabass2 for instance.
      Or use terminal with nano ~/.config/signalut.pparent/Signal/ephemeral.json. (no sudo needed)

      Replace "theme-setting": "system", with "theme-setting": "dark",, save changes and start the app.

      posted in App Development
      danfroD
      danfro
    • RE: Signal UT: Signal-Desktop for Ubuntu Touch

      @pparent I am fine with that. I am actually quite impressed with everything that does work. The app is good and usable. 👍

      posted in App Development
      danfroD
      danfro
    • RE: App: InTouch (native UBports Forum browser)

      Very good! I am not a good forum user, maybe partly because I don't want to use morph for that. Now I have no excuse any more. 😅

      Working fine on my OP5T.

      posted in App Development
      danfroD
      danfro