View Single Post
Posts: 1,336 | Thanked: 3,932 times | Joined on Jul 2010 @ Brittany, France
#349
I wanted a modern terminal emulator on SFOS because I encountered some limitations in Fingerterm with some CLI tools and I don't need the touch keyboard. Turns out we can install Konsole with Flatpak and it is *mostly* works:

First, install Flatpak using Rinigus' instructions, then

Code:
flatpak install --user org.kde.konsole # That's a big install
Then, in the Flatpak app, I enabled "Override DPI" for Konsole and set it around 170 for my 2160×1080 phone. The launcher icon should appear after having opened the Flatpak app.

Out of the box, it's not very useful because the flatpak is sandboxed and has no access to the SFOS filesystem and /home/nemo. To work around it, you can launch Konsole using this command:

Code:
flatpak-runner --talk-name=org.freedesktop.Flatpak org.kde.konsole --fullscreen -e flatpak-spawn --host bash
I made a custom .desktop file in /home/nemo/.local/share/applications/ with this Exec to make this automatic (didn't find how to make it work for new tabs too though). This allows Konsole to access the full filesystem just like Fingerterm, and it should be able to execute binaries as well.




Konsole has better color support, and also supports tabs, tiling different sessions in the same Terminal window, resizing tiles, and even touch support to emulate mouse actions (I enabled mouse support in cmus, and that works in Konsole, not in Fingerterm).

There are still some quirks though: I can occasionally get some crashes (error code 135), which I can reproduce for instance by launching cava in one instance and then going back to another. Also, I can't seem to execute micro, I get "open /dev/tty: no such device or address" while it works fine in Fingerterm. Finally, the menu bar is kinda broken because I can't see the menu items; this seems to be related to the custom DPI. That's why the custom command above launches Konsole in fullscreen mode, the menu bar being useless at the moment [Edit: I don't know what changed, but --fullscreen does not work anymore). If anyone has any ideas how to fix these issues, please let me know.

Thanks to @netman and @enigma9o7 for helping me using Konsole without sandboxing.

[Edit] org.kde.falkon launches correctly too and is meant to be a desktop browser while Angelfish is more of a mobile browser. On the Proš, that's ideal in my opinion. However, it has some menu bugs like those i described above and seems to ultimately cause wonky things: I can't confirm my searches or press Enter when I typed an URL in the address bar.
Attached Images
  

Last edited by Kabouik; 2020-05-27 at 18:03.
 

The Following 7 Users Say Thank You to Kabouik For This Useful Post: