DeltaChat running on mobian (PineTab, PinePhone)

After feedback from @bokf I want to clarify my prior instructions for running KDeltaChat on arbitrary Linux distributions using Nix.

  • Install Nix as described here. That script will modify ~/.profile and print instructions for updating your $PATH in case you don’t want to log out and log in again.
  • Install KDeltaChat using nix-env -i kdeltachat-unstable. You should now have kdeltachat in your $PATH and hopefully in your launcher.
  • Keep it up to date using nix-env -u --always.
  • If /nix is taking up too much space (updating doesn’t remove old versions), run sudo nix-collect-garbage -d.
  • If you ever want to get rid of Nix (and KDeltaChat), just remove the directory /nix.

If KDeltaChat’s configuration options are not sufficient for you, I recommend importing a backup created with one of the official Delta Chat apps.

1 Like

Also report which options do you need the most, adding them to the Settings screen usually does not require much effort.

1 Like

I’d appreciate the option to configure email address, mail server, and username separately.

2 Likes

I also think, that this is important, as for example for Strato accounts the email adress is different to the server adresses. The email adress is you personal domain name, but server adresses are for all the strato adresses the same.

Can somebody tell me what “Start IO” and “Maybe network” means? It appears, if I tap on the white space in the upper left corner. Yesterday I switched “Start IO” on, today it is off again and I haven’t received the new messages in DeltaChat (only in my mail program).

1 Like

“Advanced settings” are added now, but idk what it takes to update the Nix package.

“Start IO” enables network. You need to tap it each time after starting the app to go online :slight_smile: It should probably be inverted and renamed to “Work offline”.

With proper theming it looks like this:
1

“Maybe network” tests if the connection is still alive. Android calls it whenever the app is moved from background to foreground.

1 Like

Thanks for the clarification. That would be better, standard should be connected. In my case even the field to press in the upper left corner is just white:
2021-07-05-110041_crop_300

2021-07-05-105818_crop_300

1 Like

What I also didn’t find out is how to start a new Chat. In the Android version I think there is a + in the lower right corner to start a new chat. This is missing here? Or I didn’t find it until now?

Once all checkmarks on https://nixpk.gs/pr-tracker.html?pr=129301 are green, a nix-env -u --always will update it to a version that includes the advanced features.

I also want to suggest Cursed Delta. It’s a terminal UI, thus not so easy to use on a phone, but has support for notifications. You can install it via nix-env -i deltachat-cursed or pip install -U deltachat-cursed. It was written by @adbenitez.

1 Like

Thanks for the hint! At the first look Cursed Delta doesn’t look so intuitive. It would be more for me, but I can’t give it to my family …

For them it would also be good, if emojis would work in kdeltachat! When I switch the keyboard to emoji the emojis do not appear in the message.

2021-07-05-114938_crop_300

Yes, it’s missing, seems like it should be higher priority than attachments.

See troubleshooting section “Buttons have no icons” in the readme, it’s a Debian bug: https://git.sr.ht/~link2xt/kdeltachat#buttons-have-no-icons

My phone says: libqt5quick5 is already installed.

I have another question regarding kdeltachat:

  • There is a page “Contact requests” where a normal chat is shown. How can I approve this contact and move the chat to the “Chat” page?

Then I have following comments:

  • Links are not clickable and therefore difficult to copy into the browser
  • Landscape pictures appear in the chat and are good to see, but portrait pictures are cut and I can see only the third part in the middle of the picture. It would be nice to open pictures in the standard picture viewer by tapping them?

I think the command nix-env -u --always made a downgrade from 13 to 12 …

You can right click a contact request and choose “Start chat”.

Which package was downgraded? You can leave out --always if you only want upgrades, but that might skip important, e.g. security a related, updates of libraries that KDeltaChat depends on afaik.

Thanks for the hint! Right click doesn’t work in mobian on the PinePhone :wink: but connecting an external keyboard I see it!

As far as I remember originally this file was installed (I took the link from the install script):
https://releases.nixos.org/nix/nix-2.3.13/nix-2.3.13-$system.tar.xz
And if I remember well this one was downgraded to 2.3.12

1 Like

I have more questions:

  • Does nix-env -u --always update kdeltachat or only Nix (the package manager)?
  • According to which criteria emails are sorted into one of the following categories: Chats, Contact requests or nothing (are not shown in kdeltachat)?

Just added basic “New Chat” page, now you can create 1:1 chats from KDeltaChat.

@link2xt Thanks for the new function!
I don’t know, how to get the new version installed. If I install it again with nix-env -i kdeltachat-unstable according to @dotlambda it installs again version 2021-06-14. So I understand that it must be changed also somewhere in nix to fetch the new version?

There are two other basic points, where I don’t know how difficult they are to implement:

  • Display the sent/received date and time for each message
  • Display an error message, if the message could not be sent (or little green check mark, if sent succesfully)
    gesendet or
    fehlermeldung

don’t know, how to get the new version installed.

NixOS update is not merged yet: