ThumbTerm is a terminal emulator designed for Jolla's Jolla device.
fingerterm is the Terminal application that ships with Sailfish OS on the Jolla smartphone. This fork contains a few UI tweaks that improve fingerterm's appearance and usability.
- Removed the spacing between keys on the virtual keyboard to maximize key sizes.
- Reduced the opacity of the keyboard when inactive to make it easier to read text obscured by the inactive keyboard.
- Pressing an arrow key, the Page Up / Page Down key or the space key doesn't activate the keyboard anymore (but the key press is otherwise processed normally). This makes it easier to, for example, navigate long documents in vim. You can now scroll through a long document using the arrow keys or the Page Up / Page Down key without causing the keyboard to activate and cover most of the screen.
- Disabled auto-repeat for alpha-numeric and special character keys and allow swiping from one key to the next (like the built-in keyboard) to facilitate correcting tapping mistakes.
- You can now disable the virtual keyboard auto-hide feature by sliding the "VKB delay" slider in the settings all the way to the right.
- Better, smoother scrolling when "Drag mode" is set to "Scroll" in Terminal's settings.
- Unset the POSIXLY_CORRECT environment variable on startup as having it set causes bash to start in POSIX mode which causes it to not read the .bashrc on startup
- Made default font and virtual keyboard green.
- Made the window background translucent.
- Added a cover (full credit to Thomas Perl for this code)
-
Download and install the Sailfish SDK. As mentioned in the instructions, make sure you have VirtualBox installed first.
-
Follow this tutorial to create and run a HelloWorld application. Make sure that you can build and run the app in the emulator and on your device.
-
Clone this repo:
-
Launch Qt Creator and open the project file (fingerterm.pro).
-
Qt Creator will prompt you to configure the project. Select both the arm and the i486 configurations with their default settings.
-
Select the
Projects
tab on the left-hand side and deselect "Shadow build" for both the arm and the i486 build settings. When shadow build is enabled, Qt Creator will run the build in a folder separate from the project's folder. This is generally a good idea especially if you're building for multiple platforms as each platform will then have its own build folder containing its own build artifacts. But in the case of fingerterm, the fingerterm.spec file, which contains packaging instructions, assumes that the build will be done in the project folder. So shadow build would cause build errors. -
If you want to run fingerterm on your device, you should now be able to just build and run!
-
To run it in the emulator, you'll first have to add the
qt-components-qt5
andqt5-qtdeclarative-import-xmllistmodel
packages to the emulator as they are required by fingerterm to run. So click theSailfishOS
tab on the left-hand side and click "manage" for the i486 target. Enterqt-components-qt5
in the input field and click "install". Do the same forqt5-qtdeclarative-import-xmllistmodel
. -
When switching between building for your device and building for the emulator, you must first clean your project folder from build artifacts. Otherwise, the new build will fail when the linker tries to link objects files built for different platforms together. Git does a good job at making sure that your project folder is pristine clean (make sure that you understand what this command does before you run it however. It might delete files you didn't intend to delete):
git clean -fdx