Thanks! Now I have version 2021-07-17 running.
One remark regarding pictures, the width is not fitting anymore holding the phone in portrait mode. And portrait pictures are cut in the upper and lower part (I hope you understand). In the example the picture of the lake goes much more to the right, top and button. So I know in kdeltachat, that there is a picture, but I have to look at it in my email program. In the version 2021-06-14 the picture width has fit to the screen width.
Thanks for adding “New Chat” page! Finally I have the new version running on my PinePhone. If I use the “New Chat” button I come to a selection of email addresses. The suggestions seam arbitrary to me and I did not find out from which address book they result. Is there a field, where I can enter an email address manually, if the address I am looking for is not in the suggestions?
DeltaTouch can run on Mobian and Droidian now. Some things (audio playback + recording, translations, …?) don’t work, and it’s not properly packaged yet. If you want to tinker with it, check out the installation howto.
I tried it on a fresh Mobian install and I’m sorry to say it did not work: all I managed was a blank “DeltaTouch” icon in the apps tray. Since the commands were rather a lot to type into a phone, I shoved them into a script (which I have renamed “.txt” instead of “.sh” so I can upload it): deltatouch_installation_script.txt (1.5 KB)
Please let me know if you see what I’m getting wrong.
As this is currently just a hacky way to make it work, everything is installed into ${HOME}/bin/deltatouch except for the desktop file and the startup script. However, the sed line your script uses uname -n which gives the hostname instead of your username, so check the paths in deltatouch.desktop and dt.sh, they may not point to your home dir.
In your script, you could maybe use eval sed -i 's:/home/droidian:${HOME}:g' ./dt.sh ./deltatouch.desktop
instead.
At another point, your script uses ${SUDO_USER} to get the username, but this var is not set on my mobian install. What is its value on your setup? And why not use binpath=${HOME}/bin/deltatouch
instead?
If it still doesn’t work, we can figure it out offline, if you want to.
As superuser, “echo ${SUDO_USER}” gives me “mobian”.
“uname -n” gives me “mobian”, and “${HOME}” gives me the directory /home/mobian, unless I am superuser, in which case I get /root (that’s why I didn’t use “$HOME”).
It seems to install in /home/mobian/bin/deltatouch.
I’m afraid I don’t fully understand. You mean you had to run your installation script with sudo? Or dt.sh?
If you ran the installation script with sudo, then the permissions for ~/bin/deltatouch and everything below are off. Remove the deltatouch dir recursively and execute
Of course that’s it. That does indeed work; prefacing the mkdir and dpkg lines in the script with sudo -u ${SUDO_USER} also works.
No idea why I didn’t spot that; I suspected it was a permissions problem, and obviously since I’d roughly converted the instructions into a script without bothering to switch the sudo that was where the problem was; I should have taken the time to do it properly, it would have saved us both a lot of time. Thank you for helping me out of my stupidity.
For the reference of anyone who’s done something similar, I had to manually remove the directory, including running sudo rmdir /home/${SUDO_USER}/bin/, because the bin folder had the wrong permissions too.