I'm an open hardware / software enthusiast with some experience in embedded Linux development. Searching for some comfortable tablet/smartphone experience without having to give my data to Google, Apple or any 3rd party "cloud" service.
Posts made by Dave
Community infrastructure: Forum and Telegram
I sort of start feeling old, trying to participate in UBports: An open source project without a mailing list and without IRC channel does not really integrate with the modes of communication I'm used to use.
Just tried to make a telegram account (via web.telegram.org), however it needs a phone number, and (one of my) "landline" SIP-based phone numbers is not accepted ("incorrect phone number"). I'm not really willing to give my cell phone number to an untrusted 3rd party to participate in an open-source project. I mean, if I were, then I probably would just be using Google Android and not bothering with UBports, would I ?
So I guess I'll have to stay at the outside for now.
RE: More than 1 GB of unusable memory on /home?
So this is where my flash memory is going:
$ mount|grep mmcblk0p23 | sed -n -e 's/.*on \([^ ]\+\).*/\1/p'|sudo xargs du --max-depth=2 -c -h
/userdata/system.imgis taking 2 GB and seems to be the actual ubuntu touch file system image. Then I wonder why there is another 4 GB partition in
/dev/mmcblk0p21. This is mounted on
/android/cache. Is there any reason for that "cache" partition taking up so much memory? Can its size be changed during installation from the ubports-installer to leave more room for my home partition?
Howto: making arbitrary "Legacy" applications available from the application menu.
Just to document some findings, in case somebody is looking for the same answer: This is how I am using and "integrating" normal Ubuntu and other 3rd-party applications into the launcher:
Creating a libertine image, as documented here.
libertine-container-manager create -i legacy -n "Legacy" libertine-container-manager install-package -i legacy -p gnome-terminal libertine-container-manager install-package -i legacy -p openjdk-8-jre
Now from the OpenStore install package "Desktop Apps". Enable the "Desktop Apps" scope in the launcher. Now swiping left on the Launcher should bring up the "Desktop Apps" scope. After running the commands above it lists just two items: "OpenJDK Java 8 Policy Tool" and "Terminal" . To add other custom launchers (for example to launch some manually installed Java GUI application), you can add more items to the Desktop Apps by creating files inside the libertine container at
libertine-container-manager install-package -i legacy -p joe libertine-container-manager install-package -i legacy -p vim libertine-launch -i legacy /bin/bash cp /usr/share/applictions/terminal.desktop /usr/share/applictions/myapp.desktop joe /usr/share/applications/myapp.desktop
For example to launch a java application installed in
myapp.desktopand change the line
Exec=/usr/bin/java -jar /home/phablet/myapp.jar
(Note how the container's directory
/home/phabletcorresponds to the absolute path
/home/phablet/.local/share/libertine-container/user-data/legacy/myapp.jarwhen accessed outside the container)
RE: More than 1 GB of unusable memory on /home?
thanks for the reply. I sort of understand and expect slight differences between df and du output. However, here it's like a factor two difference.
Digging a little deeper, I think the reason may be the strange file system / mountpoint layout used by ubuntu touch.
mount | grep /dev/mmcblk0p23
Lists more than 40 directories that are mounted via device /dev/mmcblk0p23. Looking at /etc/fstab this seems to be accomplished via some bind-mount trickery. However the "actual" directory corresponding to /dev/mmcblk0p23 seems to have been unmounted after bind-mounting, so there is no easy way to find out which directories outside /home take up the "lost" gigabyte of memory.
Looks like after some tinkering with libertine, I'm soon going to be out of memory
More than 1 GB of unusable memory on /home?
sorry for posting yet another (possibly stupid) question:
"df /home" shows that I consumed 2.7 GB of memory, whereas "du -h /home" only shows about 800 MB of used memory. Is that normal? Any way to reclaim those lost 2 GB of memory?
phablet@ubuntu-phablet:~$ sudo df /home -h Filesystem Size Used Avail Use% Mounted on /dev/disk/by-partlabel/userdata 9,3G 2,7G 6,7G 29% /home phablet@ubuntu-phablet:~$ sudo du -h -c --max-depth=0 /home 798M /home 798M total
Libertine containers on micro-SD card?
just started playing around with libertine, following the information provided here.
Now wondering why libertine-container-manager does not have any option to specify the directory where the container is created. I'd like to put it onto the micro-SD card.
Will there be any complications if I move the container over to micro-SD and replace it with a symbolic link?
With all the install activity that "libertine-container-manager create" is causing I'm sort of afraid, that otherwise I'll wear out the internal flash over time.
Ubports on BQ M10 FHD installing (almost) flawlessly.
just to give some more data point: ordered a BQ M10 FHD Ubuntu Edition tablet, arrived yesterday. Installed ubports-installer on a Ubuntu 17.10 linux PC. Tablet initially not detected by the installer, but after setting developer mode, some reboots, trying a different USB port, and manually running "adb" to list connected devices, it "suddenly" started working (hat no prior experience with adb, never used it before).
After detection, installation just completed flawlessly (I configured it to wipe the tablet during installation).
So for now very happy with the device and the software. Next step will be to install some ubuntu desktop applications using the information found here:
Anybody here knows which libertine container types are supported by ubuntu 15.04r3 on BQ M10 FHD?
Looking forward to replacing my aging firefox-os phone with some new phone running ubports.