dt.iki.fiBlog feed2023-10-02T02:08:31+03:00https://dt.iki.fi/Flashing Sailfish OS - USB trouble2023-09-26T00:00:00+03:002023-09-26T00:00:00+03:00dt.iki.fihttps://dt.iki.fi/sailfish-os-flash-install-usbI got me a used XA2 Ultra (model no. H3213) that already had SFOS installed - albeit an old version, 3.0.something, so I wanted to reflash. On Linux, this requires fastboot, part of android-tools on ArchLinux,and a script (provided with the image download) to do all that over a USB connection. Howev...Unclutter Your Home Directory2023-05-30T00:00:00+03:002023-05-30T00:00:00+03:00dt.iki.fihttps://dt.iki.fi/unclutter-home-dirIt's still a problem for many people: applications create directories and files directly under $HOME, not even using the freedesktop XDG standard for user directories. Manual cleanup is often required after removing software, but more importantly: how can we get these directories out of the way even...Updating SailfishOS2023-02-13T00:00:00+02:002023-02-13T00:00:00+02:00dt.iki.fihttps://dt.iki.fi/sailfish-os-updateProcess, pitfalls The phone will alert you that there's an update. Go to Settings => Sailfish OS Updates. As always, backup first. Download the update and choose to install it. Once again it complains that I don't have enough space on the root filesystem. This time I decide to bite the bullet and...Xplanet2022-07-28T00:00:00+03:002022-07-28T00:00:00+03:00dt.iki.fihttps://dt.iki.fi/xplanet I always thought that Xplanet is one of those ancient X apps that work despite being totally outdated, with aliased edges and overall painful graphics. Turns out I was more than half wrong. It's derived from xearth which has been around since 1993. Xplanet itself seems to have been around since at ...Sailfish OS - Command Line Interface & Customisation2022-06-09T00:00:00+03:002022-06-09T00:00:00+03:00dt.iki.fihttps://dt.iki.fi/sailfish-os-tweak This article has a parent article. It contains some preliminaries to the topics here. Doing Things on the Command Line MTP (the same protocol Android devices use) will expose the /home/nemo folder to the connecting computer, both to graphical and command line applications. But it hides some files ...Links for Sailfish OS users2022-05-15T00:00:00+03:002022-05-15T00:00:00+03:00dt.iki.fihttps://dt.iki.fi/sailfish-os-linkshttps://www.noureddine.org/articles/sailfish-os-tips-tricks https://www.noureddine.org/articles/student-projects-with-sailfishos https://www.oskar-roesler.de/tags/sailfishos/...Making sshd more secure on Sailfish OS2022-05-01T00:00:00+03:002022-05-01T00:00:00+03:00dt.iki.fihttps://dt.iki.fi/sailfish-os-sshd Assuming Remote connection is enabled in Settings -> Developer tools, and works. Recent versions of Sailfish OS (currently 4.4.0.58) use a socket that listens on port 22, and start sshd (to be precise, a per-connection sshd@.service) whenever someone knocks. Pretty neat, probably saves some res...AdBlocking on Sailfish OS via /etc/hosts2022-05-01T00:00:00+03:002022-05-01T00:00:00+03:00dt.iki.fihttps://dt.iki.fi/sailfish-os-adblock-hostsThere are some apps in Openrepos which do not seem to work anymore for SFOS 4.x. But you don't really need an app, all you need is a systemd timer & service and a simplistic shell script. Gain command line access to your phone and become root. > cd /etc/systemd/system > nano hosts.timer ho...Short Review Diary - Books and other Reading2022-04-24T00:00:00+03:002022-04-24T00:00:00+03:00dt.iki.fihttps://dt.iki.fi/reviews-booksAn incomplete timeline of what I read - mostly contributions to various forum threads. Read books and stories (audio formats) are included here. Apr 24 2022 I found two Carl Hiaasen novels on a give-away shelf. Boy was I happy! I must've read 90% of his novels many years back. They are what is calle...Pygments style gallery2022-04-17T00:00:00+03:002022-04-17T00:00:00+03:00dt.iki.fihttps://dt.iki.fi/pygments-galleryContains the base16 styles from this repository plus the default/builtin styles of Debian stable's version of Pygments. Each code block contains a few lines from the top of the generated CSS style, then some random python code. Pygments supports these lexers. The content below was created by py...