Printable Version of Topic

Click here to view this topic in its original format

OESF Portables Forum _ Gemini PDA - Sailfish OS _ SFOS Whats working / What isn't

Posted by: Meganerd Jun 17 2018, 09:22 AM

I have been testing SFOS 2.1.3.7 on my Gemini PDA for a little over a week now as my main OS.

I put my notes on my gitlab https://gitlab.com/Meganerd.eth/Sailfish-Development

Whats working:
* Audio
* Multi touch
* 4G Data
* SMS/MMS
* Receiving calls (To initiate calls you have to switch to 3g mode)
* Bluetooth (Pairing with headset works)
* WiFi
* USB tether
* USB transfer
* SDK working for development
* Front camera
* Notification LEDs (can be modified too but only from config file directly /etc/mce/20hybris-led.ini) Be carefull!
* The keyboard works fine

Whats not working:
* WiFi tether
* I heard GPS isnt working, I have not tested it
* Caps lock LED - Caps lock itself is working but the LED is always on
* Silver button does nothing - I have not checked if its not recognized in XEV, it simply just may not be mapped to any key

What I recommend doing if you flash SFOS:
* Lock the screen orientation otherwise the screen will rotate on you constantly during usage. The fix below worked for everything except Kodi and the native Terminal
* To fix the terminal rotation I just modified ThumbTerm source and compiled an RPM

Lock screen orientation

CODE
i) Backup Page.qml file
$ devel-su
# cd /usr/lib/qt5/qml/Sailfish/Silica/Page.qml
# cp Page.qml Page.orig.qml
# nano Page.qml

ii) Modify Page.qml (line 115)
Original line: return Orientation.All
Updated line: return Orientation.LandscapeInverted

Other views: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted

iii) Reboot phone to apply changes


Posted by: flotsam Jun 17 2018, 12:38 PM

Note on the GPS: I have stated elsewhere that it is not working, but since then I did once get a fix. But only once. It definitely isn't reliable for me. However there may be some easy tweak to get it going.

Posted by: vader Jun 21 2018, 06:45 PM

@Meganerd - Thanks for keeping us informed. I am looking to move over to sailfish when the new version is released, but I am tempted to try 2.1.3.7. So long as it is stable, I might give it a go........

Posted by: Meganerd Jun 23 2018, 01:55 PM

QUOTE(flotsam @ Jun 17 2018, 12:38 PM) *
Note on the GPS: I have stated elsewhere that it is not working, but since then I did once get a fix. But only once. It definitely isn't reliable for me. However there may be some easy tweak to get it going.


Interesting, thanks for the info. If you get it let me know, I am trying to put all all of the fixes in one spot for everyone on a gitlab repo notes for others- Personally I do not need the GPS function so I haven't taken a look at it still.

QUOTE(vader @ Jun 21 2018, 06:45 PM) *
@Meganerd - Thanks for keeping us informed. I am looking to move over to sailfish when the new version is released, but I am tempted to try 2.1.3.7. So long as it is stable, I might give it a go........


I have still been using the same SFOS install, I haven't had any issues outside of the ones I listed. I haven't lost signal randomly or experiences any reboots, or anything unstable at all.
2.1.4.14 just released and I am debating on flashing that or not. I have already installed all my packages, re-ordered my apps, setup scripts to run in the background, bookmarks, etc plus my Android build too.

If anyone here has used it I would like to know what differences or fixes are present in that build to determine if its worth the backup and restore time.

Edit:
https://together.jolla.com/question/179223/release-notes-214-lapuanjoki-released/#179223-aliendalvik
Highlighting some notable parts (in my opinion) of the release notes from Jolla on 2.1.4.x

This doesn't say anything about bugfixes, etc but its something.
Some of the changes look specific to other devices also.

Kernel and display security patches
Qt framework updated 5.6.3, including hundreds of bug fixes
Notification banners can now be swiped away with horizontal flick.
App icon size variant 172x172px introduced for Full HD displays

Posted by: Dietmar Schwertberger Jun 24 2018, 03:57 AM

I have installed the new triple-boot with SFOS.
Thanks a lot for the hints on your page.
The Page.qml file has changed a bit.
The required modification to enforce landscape is now:
allowed = Orientation.LandscapeInverted | orientation === Orientation.Portrait | orientation === Orientation.PortraitInverted
to:
allowed = Orientation.LandscapeInverted

I observed some issues with the new image:


I have been using SFOS for several years now. The quick evaluation on the Gemini has confirmed my estimation that SFOS from a usability point of view is the only OS that matches the Gemini. It's much nicer to use than Android and it's years ahead of Debian for a touch device.
From a commercial Sailfish OS 3 we can expect Android App support.
If it would also allow at least to build and run gtk Linux applications, then it would convert the Gemini to the perfect Smartphone and PC / productivity device. If not, then you probably have to decide for one of these two roles and boot the suitable OS every time or go for text based applications.

Posted by: Kishe Jun 24 2018, 04:48 AM

QUOTE(Dietmar Schwertberger @ Jun 24 2018, 01:57 PM) *
I have installed the new triple-boot with SFOS.
Thanks a lot for the hints on your page.
The Page.qml file has changed a bit.
The required modification to enforce landscape is now:
allowed = Orientation.LandscapeInverted | orientation === Orientation.Portrait | orientation === Orientation.PortraitInverted
to:
allowed = Orientation.LandscapeInverted

I observed some issues with the new image:
  • When you end with a black screen during the initial boot after installation, try to double-tap the display to wake it up. If that works, you should see the welcome or language selection screen. Everything is fine…
  • If that does not work, you probably can wake up the black screen with the ESC key, but it will show the number pad. As written in the Sailfish OS notes: if you see the number pad at the beginning, then you have to re-boot and try again…
  • And if you just see the rotating circle after booting or unlocking: swipe from the left or right edge of the screen to the center. Otherwise you may have to wait for some 10s to many minutes...
I have been using SFOS for several years now. The quick evaluation on the Gemini has confirmed my estimation that SFOS from a usability point of view is the only OS that matches the Gemini. It's much nicer to use than Android and it's years ahead of Debian for a touch device.
From a commercial Sailfish OS 3 we can expect Android App support.
If it would also allow at least to build and run gtk Linux applications, then it would convert the Gemini to the perfect Smartphone and PC / productivity device. If not, then you probably have to decide for one of these two roles and boot the suitable OS every time or go for text based applications.


Agreed, when the official sf3 version with dalvik comes by, im going to buy it and it will be my main os!

Posted by: Meganerd Jun 24 2018, 06:07 AM

QUOTE(Dietmar Schwertberger @ Jun 24 2018, 03:57 AM) *
I have installed the new triple-boot with SFOS.
Thanks a lot for the hints on your page.
The Page.qml file has changed a bit.
The required modification to enforce landscape is now:
allowed = Orientation.LandscapeInverted | orientation === Orientation.Portrait | orientation === Orientation.PortraitInverted
to:
allowed = Orientation.LandscapeInverted

I observed some issues with the new image:
  • When you end with a black screen during the initial boot after installation, try to double-tap the display to wake it up. If that works, you should see the welcome or language selection screen. Everything is fine…
  • If that does not work, you probably can wake up the black screen with the ESC key, but it will show the number pad. As written in the Sailfish OS notes: if you see the number pad at the beginning, then you have to re-boot and try again…
  • And if you just see the rotating circle after booting or unlocking: swipe from the left or right edge of the screen to the center. Otherwise you may have to wait for some 10s to many minutes...
I have been using SFOS for several years now. The quick evaluation on the Gemini has confirmed my estimation that SFOS from a usability point of view is the only OS that matches the Gemini. It's much nicer to use than Android and it's years ahead of Debian for a touch device.
From a commercial Sailfish OS 3 we can expect Android App support.
If it would also allow at least to build and run gtk Linux applications, then it would convert the Gemini to the perfect Smartphone and PC / productivity device. If not, then you probably have to decide for one of these two roles and boot the suitable OS every time or go for text based applications.


Thanks! Ill add the differences to my notes for others who end up looking to patch the landscape view.

QUOTE(Kishe @ Jun 24 2018, 04:48 AM) *
Agreed, when the official sf3 version with dalvik comes by, im going to buy it and it will be my main os!


Is there any confirmation were getting AlienDalvik? I know SFOS has partnered with Planet for SFOS 3 so I was hoping this was true.
And do you mean buy the Gemini or buy an AlienDalvik license?

Posted by: Dietmar Schwertberger Jun 24 2018, 08:07 AM

QUOTE(Meganerd @ Jun 24 2018, 04:07 PM) *
Is there any confirmation were getting AlienDalvik? I know SFOS has partnered with Planet for SFOS 3 so I was hoping this was true.
And do you mean buy the Gemini or buy an AlienDalvik license?


The Sailfish OS 3 page lists "Android support version upgrade" as one of the features.
I would think that a commercial version of Sailfish OS without Android support does not make sense.

The question is more what the long term plan for Android support is. Alien Dalvik will never support anything more recent than Android 4. Maybe Anbox or something similar can be used at some point in future.

Regards,
Dietmar

Posted by: Kishe Jun 24 2018, 08:25 AM

QUOTE(Meganerd @ Jun 24 2018, 04:07 PM) *
QUOTE(Dietmar Schwertberger @ Jun 24 2018, 03:57 AM) *
I have installed the new triple-boot with SFOS.
Thanks a lot for the hints on your page.
The Page.qml file has changed a bit.
The required modification to enforce landscape is now:
allowed = Orientation.LandscapeInverted | orientation === Orientation.Portrait | orientation === Orientation.PortraitInverted
to:
allowed = Orientation.LandscapeInverted

I observed some issues with the new image:
  • When you end with a black screen during the initial boot after installation, try to double-tap the display to wake it up. If that works, you should see the welcome or language selection screen. Everything is fine…
  • If that does not work, you probably can wake up the black screen with the ESC key, but it will show the number pad. As written in the Sailfish OS notes: if you see the number pad at the beginning, then you have to re-boot and try again…
  • And if you just see the rotating circle after booting or unlocking: swipe from the left or right edge of the screen to the center. Otherwise you may have to wait for some 10s to many minutes...
I have been using SFOS for several years now. The quick evaluation on the Gemini has confirmed my estimation that SFOS from a usability point of view is the only OS that matches the Gemini. It's much nicer to use than Android and it's years ahead of Debian for a touch device.
From a commercial Sailfish OS 3 we can expect Android App support.
If it would also allow at least to build and run gtk Linux applications, then it would convert the Gemini to the perfect Smartphone and PC / productivity device. If not, then you probably have to decide for one of these two roles and boot the suitable OS every time or go for text based applications.


Thanks! Ill add the differences to my notes for others who end up looking to patch the landscape view.

QUOTE(Kishe @ Jun 24 2018, 04:48 AM) *
Agreed, when the official sf3 version with dalvik comes by, im going to buy it and it will be my main os!


Is there any confirmation were getting AlienDalvik? I know SFOS has partnered with Planet for SFOS 3 so I was hoping this was true.
And do you mean buy the Gemini or buy an AlienDalvik license?


there will be a paid version of sailfish (you got to pay for dalvik licence). eventually...

Posted by: Wille Jun 26 2018, 02:43 AM

QUOTE(Meganerd @ Jun 17 2018, 08:22 PM) *
I have been testing SFOS 2.1.3.7 on my Gemini PDA for a little over a week now as my main OS.

I finally got SFOS flashed (e.g. hanged in tutorial - not able to swipe back from gallery app). But now I can't see any phone settings, no mobile network selection nor SIM subfolder in Settings. No signal strength indicator either. And yes, I have working SIM card inserted and funtion in Android side.

SFOS 2.1.4.14 / 0.0.1+master.20180425220752.e3d6f1b.1 (reported by SFOS About product).
Image Gemini_x27_12062018 dowloaded 25.6.2018 from http://support.planetcom.co.uk/partitionTool.html

I have x27 version, and dual boot with 16GB Android / 40GB Linux split.

BR - Wille

Posted by: Meganerd Jun 26 2018, 01:20 PM

QUOTE(Wille @ Jun 26 2018, 02:43 AM) *
QUOTE(Meganerd @ Jun 17 2018, 08:22 PM) *
I have been testing SFOS 2.1.3.7 on my Gemini PDA for a little over a week now as my main OS.

I finally got SFOS flashed (e.g. hanged in tutorial - not able to swipe back from gallery app). But now I can't see any phone settings, no mobile network selection nor SIM subfolder in Settings. No signal strength indicator either. And yes, I have working SIM card inserted and funtion in Android side.

SFOS 2.1.4.14 / 0.0.1+master.20180425220752.e3d6f1b.1 (reported by SFOS About product).
Image Gemini_x27_12062018 dowloaded 25.6.2018 from http://support.planetcom.co.uk/partitionTool.html

I have x27 version, and dual boot with 16GB Android / 40GB Linux split.

BR - Wille


Sorry to hear that, it seems like a number of users are having a few issues with the SFOS 2.1.4.14 image.
I have yet to flash and test that one out myself so hopefully you get it or find someone who has been testing that image.

You may try looking in to the SIM setup, on my device I can select between SIM 1 and SIM 2, defining which SIM slot to use for data and SMS.

Everything going fine on the 2.1.3.7 install still so I am currently focusing on developing apps and misc scripts for myself at this point.

If you get it working and have any specific fixes let me know!

Posted by: vader Jun 26 2018, 06:54 PM

I've made the decision (after reading all the announcements) to take the plunge. I created a rooted android/sailfish setup and will install it on the weekend - so I have time to get it working properly. I have an x25 device - don't know if there is any difference when it comes to sailfish. Will let you know how it goes. I couldn't wait until the end of the year for sailfish smile.gif

Posted by: Wille Jun 27 2018, 07:08 AM

SSH is not enabled, what is strange when developer mode is enabled by the default.
To fix it
- Set/check your ssh password in Developer tools page under Settings
- Open terminal and enter:

CODE
su-devel
systemctl enable sshd
systemctl start sshd



Posted by: Wille Jun 27 2018, 07:23 AM

QUOTE(Wille @ Jun 26 2018, 01:43 PM) *
QUOTE(Meganerd @ Jun 17 2018, 08:22 PM) *
I have been testing SFOS 2.1.3.7 on my Gemini PDA for a little over a week now as my main OS.

I finally got SFOS flashed (e.g. hanged in tutorial - not able to swipe back from gallery app). But now I can't see any phone settings, no mobile network selection nor SIM subfolder in Settings. No signal strength indicator either. And yes, I have working SIM card inserted and funtion in Android side.

SFOS 2.1.4.14 / 0.0.1+master.20180425220752.e3d6f1b.1 (reported by SFOS About product).
Image Gemini_x27_12062018 dowloaded 25.6.2018 from http://support.planetcom.co.uk/partitionTool.html

I have x27 version, and dual boot with 16GB Android / 40GB Linux split.

BR - Wille


There's no 'Mobile network', 'SIM cards' or 'Internet sharing' selections between WLAN and VPN, where those supposed to be. Why's that?


Posted by: Wille Jun 27 2018, 07:44 AM

QUOTE(Wille @ Jun 27 2018, 06:23 PM) *
QUOTE(Wille @ Jun 26 2018, 01:43 PM) *
QUOTE(Meganerd @ Jun 17 2018, 08:22 PM) *
I have been testing SFOS 2.1.3.7 on my Gemini PDA for a little over a week now as my main OS.

I finally got SFOS flashed (e.g. hanged in tutorial - not able to swipe back from gallery app). But now I can't see any phone settings, no mobile network selection nor SIM subfolder in Settings. No signal strength indicator either. And yes, I have working SIM card inserted and funtion in Android side.

SFOS 2.1.4.14 / 0.0.1+master.20180425220752.e3d6f1b.1 (reported by SFOS About product).
Image Gemini_x27_12062018 dowloaded 25.6.2018 from http://support.planetcom.co.uk/partitionTool.html

I have x27 version, and dual boot with 16GB Android / 40GB Linux split.

BR - Wille


There's no 'Mobile network', 'SIM cards' or 'Internet sharing' selections between WLAN and VPN, where those supposed to be. Why's that?




And replying to myself. It seems that ofono service is also in disabled state. So after enabling I can see at least signal strengt indicator and missing 'Mobile network' and 'Internet sharing' sections under Settings. But still no 'SIM cards'.

CODE
su-devel
systemctl enable ofono
systemctl start ofono


And after reboot all services that were enabled manually are disabled sad.gif. Need more investigation.

Edit: It seems ofono service can/should be disabled and some other service launced it. Anyhow, now I can receive sms, but not make calls. It says 'No network coverage' when trying to make a call.

Posted by: Ifanafi Jun 27 2018, 07:58 AM

Forgive my making lite fun of your Sailfish setup experiences with this picture which popped into mind (seen below your posts)...!



QUOTE(Wille @ Jun 27 2018, 11:44 AM) *
QUOTE(Wille @ Jun 27 2018, 06:23 PM) *
QUOTE(Wille @ Jun 26 2018, 01:43 PM) *
QUOTE(Meganerd @ Jun 17 2018, 08:22 PM) *
I have been testing SFOS 2.1.3.7 on my Gemini PDA for a little over a week now as my main OS.

I finally got SFOS flashed (e.g. hanged in tutorial - not able to swipe back from gallery app). But now I can't see any phone settings, no mobile network selection nor SIM subfolder in Settings. No signal strength indicator either. And yes, I have working SIM card inserted and funtion in Android side.

SFOS 2.1.4.14 / 0.0.1+master.20180425220752.e3d6f1b.1 (reported by SFOS About product).
Image Gemini_x27_12062018 dowloaded 25.6.2018 from http://support.planetcom.co.uk/partitionTool.html

I have x27 version, and dual boot with 16GB Android / 40GB Linux split.

BR - Wille


There's no 'Mobile network', 'SIM cards' or 'Internet sharing' selections between WLAN and VPN, where those supposed to be. Why's that?




And replying to myself. It seems that ofono service is also in disabled state. So after enabling I can see at least signal strengt indicator and missing 'Mobile network' and 'Internet sharing' sections under Settings. But still no 'SIM cards'.

CODE
su-devel
systemctl enable ofono
systemctl start ofono


And after reboot all services that were enabled manually are disabled :(. Need more investigation.


 

Posted by: Meganerd Jun 27 2018, 03:12 PM

QUOTE(Wille @ Jun 27 2018, 07:44 AM) *
QUOTE(Wille @ Jun 27 2018, 06:23 PM) *
QUOTE(Wille @ Jun 26 2018, 01:43 PM) *
QUOTE(Meganerd @ Jun 17 2018, 08:22 PM) *
I have been testing SFOS 2.1.3.7 on my Gemini PDA for a little over a week now as my main OS.

I finally got SFOS flashed (e.g. hanged in tutorial - not able to swipe back from gallery app). But now I can't see any phone settings, no mobile network selection nor SIM subfolder in Settings. No signal strength indicator either. And yes, I have working SIM card inserted and funtion in Android side.

SFOS 2.1.4.14 / 0.0.1+master.20180425220752.e3d6f1b.1 (reported by SFOS About product).
Image Gemini_x27_12062018 dowloaded 25.6.2018 from http://support.planetcom.co.uk/partitionTool.html

I have x27 version, and dual boot with 16GB Android / 40GB Linux split.

BR - Wille


There's no 'Mobile network', 'SIM cards' or 'Internet sharing' selections between WLAN and VPN, where those supposed to be. Why's that?




And replying to myself. It seems that ofono service is also in disabled state. So after enabling I can see at least signal strengt indicator and missing 'Mobile network' and 'Internet sharing' sections under Settings. But still no 'SIM cards'.

CODE
su-devel
systemctl enable ofono
systemctl start ofono


And after reboot all services that were enabled manually are disabled sad.gif. Need more investigation.

Edit: It seems ofono service can/should be disabled and some other service launced it. Anyhow, now I can receive sms, but not make calls. It says 'No network coverage' when trying to make a call.



That is really odd, you're actually missing "Cellular network" and "Internet sharing" options which would be between WLAN and VPN.
https://imgur.com/a/2y9PaHh

Perhaps you can flash 2.1.3.7 SFOS (same as me)?


Posted by: salvomic Jun 27 2018, 10:38 PM

I've two WiFi network, for one SFOS didn't accept its long password, affirming it was wrong, it connected to the other, but when I installed Italian language, reconfigured all and then WLan doesn't connect...

salvo

Posted by: Meganerd Jun 28 2018, 02:32 PM

QUOTE(salvomic @ Jun 27 2018, 10:38 PM) *
I've two WiFi network, for one SFOS didn't accept its long password, affirming it was wrong, it connected to the other, but when I installed Italian language, reconfigured all and then WLan doesn't connect...

salvo


Are you referring to your home WiFi network? (eg 2 seperate ESSID)
If so it sounds like you have a dual band access point, one network on 5Ghz and the other on 2.4Ghz.

I believe I saw a previous user post about not being able to join 5Ghz WiFi networks.
You best bet may be to try SFOS 2.1.3.7 or wait for SFOS 3.x release.

Posted by: salvomic Jun 28 2018, 02:37 PM

QUOTE(Meganerd @ Jun 29 2018, 12:32 AM) *
Are you referring to your home WiFi network? (eg 2 seperate ESSID)
If so it sounds like you have a dual band access point, one network on 5Ghz and the other on 2.4Ghz.

I believe I saw a previous user post about not being able to join 5Ghz WiFi networks.
You best bet may be to try SFOS 2.1.3.7 or wait for SFOS 3.x release.


I've two networks: main is the network from the operator, set to 2.4, then an Airport from that one, that is 2.4 and 5 GHz.

thanks
salvo

Posted by: yoram Aug 14 2018, 08:54 AM

The silver button actually send event to /dev/input/event1 - code 231

mapping this event as keyboard input via X11/xkb files does not seem to work.
I suppose droid.qmap needs to be built with mapping of this event

which leads to question - where is the kmap source of this file ?

Posted by: defunked Aug 14 2018, 09:40 AM

QUOTE(yoram @ Aug 14 2018, 09:54 AM) *
The silver button actually send event to /dev/input/event1 - code 231

mapping this event as keyboard input via X11/xkb files does not seem to work.
I suppose droid.qmap needs to be built with mapping of this event

which leads to question - where is the kmap source of this file ?


I was under the impression that SFOS uses the Wayland windowing system, not X Windows. Maybe the X11 directory is still there for some backward compatibility? I personally know very little about Wayland, but I suspect it might be the lead you are looking for to dig further in.

Posted by: yoram Aug 14 2018, 11:25 AM

the HW keyboard layouts are read from X11 files
i managed to setup hebrew keyboard there

Posted by: Meganerd Aug 15 2018, 06:19 AM

QUOTE(yoram @ Aug 14 2018, 08:54 AM) *
The silver button actually send event to /dev/input/event1 - code 231

mapping this event as keyboard input via X11/xkb files does not seem to work.
I suppose droid.qmap needs to be built with mapping of this event

which leads to question - where is the kmap source of this file ?


Thank you for this. I am going to start playing with my Gemini again this week so I will see what I can do with that.

Posted by: vader Aug 15 2018, 02:32 PM

QUOTE(yoram @ Aug 14 2018, 08:54 AM) *
The silver button actually send event to /dev/input/event1 - code 231


Yep, I was going to write a small event listener process to monitor the "keyboard" and listen for the silver button. I have been busy with other things, but as they are now almost complete, I was going to look at doing something about the silver button. You can install and run evdev_trace to see the event codes returned by key/button presses.

Posted by: yoram Aug 15 2018, 08:49 PM

in order to set an action for this event - do we need to right code or can we do it in droid.qmap?

I would really like to help with this so I am asking again where can I find the gemini specific sources for this, assumming the are some modifications on top of sailfish SDK

Posted by: vader Aug 16 2018, 08:22 PM

QUOTE(yoram @ Aug 16 2018, 02:49 PM) *
in order to set an action for this event - do we need to right code or can we do it in droid.qmap?

I would really like to help with this so I am asking again where can I find the gemini specific sources for this, assumming the are some modifications on top of sailfish SDK


I was thinking more of a simple event listener (for the button) which then invoked a dbus call to do something (eg. answer phone, start a program etc). You can run evdev_trace -t to see the events come in (I think you have to install evdev first). I don't use the SDK on PC, as I compile all my stuff on the gemini itself. I found tIDE useful to get the qml/packaging working.

Posted by: yoram Aug 17 2018, 09:17 AM

a separated event listener will probablydo the tricj. but we already have a process that listens to input events (lipstick via qt), if we can configure it to handle this specific event, wouldnt it be better ?

Posted by: depscribe Aug 19 2018, 07:43 AM

QUOTE(Dietmar Schwertberger @ Jun 24 2018, 03:57 AM) *
The Page.qml file has changed a bit.
The required modification to enforce landscape is now:
allowed = Orientation.LandscapeInverted | orientation === Orientation.Portrait | orientation === Orientation.PortraitInverted
to:
allowed = Orientation.LandscapeInverted

Thanks for this -- it mostly works. But the terminal is still upside-down. Being hesitant to break stuff, I thought I'd ask if there's a link to a way to fix this? I presume it's another QML someplace, but I've not yet gotten much of a sense of the Sailfish file structure.

Posted by: vader Aug 19 2018, 05:25 PM

QUOTE(depscribe @ Aug 20 2018, 01:43 AM) *
QUOTE(Dietmar Schwertberger @ Jun 24 2018, 03:57 AM) *
The Page.qml file has changed a bit.
The required modification to enforce landscape is now:
allowed = Orientation.LandscapeInverted | orientation === Orientation.Portrait | orientation === Orientation.PortraitInverted
to:
allowed = Orientation.LandscapeInverted

Thanks for this -- it mostly works. But the terminal is still upside-down. Being hesitant to break stuff, I thought I'd ask if there's a link to a way to fix this? I presume it's another QML someplace, but I've not yet gotten much of a sense of the Sailfish file structure.


Meganerd recompiled the terminal for gemini which rotated the display, but (like the original terminal) it has a problem with the cursor being graphically out of alignment with the text on long lines. I installed "toeterm" from openrepos and that doesn't have the cursor issue. I just checked and I didn't have to modify any qml either. If you ever want to modify qml, they exist in:

/usr/share/<package_name>[/qml]

eg. toeterm is:

/usr/share/toeterm/qml

You can modify the qml in there to change the look and feel. I always keep backups in case things go wrong. If things are upside down, just search for Landscape, or Orientation and change Landscape to LandscapeInverted.

Posted by: depscribe Aug 19 2018, 05:57 PM

QUOTE(vader @ Aug 19 2018, 05:25 PM) *
Meganerd recompiled the terminal for gemini which rotated the display, but (like the original terminal) it has a problem with the cursor being graphically out of alignment with the text on long lines. I installed "toeterm" from openrepos and that doesn't have the cursor issue. I just checked and I didn't have to modify any qml either. If you ever want to modify qml, they exist in:

/usr/share/<package_name>[/qml]

eg. toeterm is:

/usr/share/toeterm/qml

You can modify the qml in there to change the look and feel. I always keep backups in case things go wrong. If things are upside down, just search for Landscape, or Orientation and change Landscape to LandscapeInverted.

Toeterm is great. Unlike the default terminal, it behaves as expected when one gives the exit command.

btw -- I mentioned Midnight Commander, a terminal-mode application for Linux written by Miguel de Icaza, the other day. Turns out, it's on OpenRepos also. For better than two decades the first thing I install on any Linux machine is mc. It's a real Swiss army knife.

Though it would be a lot more useful to me on Sailfish if I could figure whether/how F-keys are mapped, because many of the functions of mc are tied to function keys. I think we have them through Adam B's Linux keymap, but with the reflash I haven't even booted Linux yet, so I haven't upgraded, well, anything on that side, and I don't think the Linux keymap extends to Sailfish.

(Actually, does Sailfish share anything with a Linux installation? I figure not; otherwise we'd be able to do phone stuff from Linux.)

Posted by: jovpov Sep 9 2018, 01:20 AM

SailFishOS looks really promissing on my GeminiPDA, only problems are:

- wifi gets disconnected each screen turnoff, so I have to go to settings utility, restart network?!
- I have installed MC from repo and it looks garbaged, no proper vertical lines nor screen refresh between changing folders, looks like some code page realted issue
- this forum is really fantastic but very hard to use on Gemini Sailfish OS, have to reload page several times in order to be able to click on a link?! some issue with browser... is there developer mode so I can check javascript issues?

Posted by: vader Sep 9 2018, 05:30 AM

QUOTE(jovpov @ Sep 9 2018, 07:20 PM) *
- this forum is really fantastic but very hard to use on Gemini Sailfish OS, have to reload page several times in order to be able to click on a link?! some issue with browser... is there developer mode so I can check javascript issues?


The default, sailfish browser makes a bit of a mess when rendering the forums. It gets the size wrong, and you end up viewing a partial page. The easiest fix is to zoom in, then zoom out. You cant zoom out to the full page without first zooming in. Alternatively, install webcat - it is a webkit based browser and doesnt have the same problem. As far as clicking a link, if it is small you can zoom in to click, but the forum is working well on my gemini on the default browser once you know the zoom in, then out trick. I don't know about a developer mode, but you could always curl the page from the terminal. You can copy the address by clicking on the address bar, pressing ctrl-c, then going to the terminal, selecting the right menu/dot and clicking paste.

Posted by: jovpov Sep 10 2018, 04:07 PM

QUOTE(vader @ Sep 9 2018, 05:30 AM) *
QUOTE(jovpov @ Sep 9 2018, 07:20 PM) *
- this forum is really fantastic but very hard to use on Gemini Sailfish OS, have to reload page several times in order to be able to click on a link?! some issue with browser... is there developer mode so I can check javascript issues?


The default, sailfish browser makes a bit of a mess when rendering the forums. It gets the size wrong, and you end up viewing a partial page. The easiest fix is to zoom in, then zoom out. You cant zoom out to the full page without first zooming in. Alternatively, install webcat - it is a webkit based browser and doesnt have the same problem. As far as clicking a link, if it is small you can zoom in to click, but the forum is working well on my gemini on the default browser once you know the zoom in, then out trick. I don't know about a developer mode, but you could always curl the page from the terminal. You can copy the address by clicking on the address bar, pressing ctrl-c, then going to the terminal, selecting the right menu/dot and clicking paste.

Thank you for tips, WebCat works great on forum smile.gif But I must find way to change WebCat icon (it is really ugly)

Posted by: vader Sep 10 2018, 07:37 PM

QUOTE(jovpov @ Sep 11 2018, 10:07 AM) *
Thank you for tips, WebCat works great on forum smile.gif But I must find way to change WebCat icon (it is really ugly)


The desktop file for webcat is: /usr/share/applications/harbour-webcat.desktop
and the icon is in: /usr/share/icons/hicolor/86x86/apps/harbour-webcat.png

Either edit the desktop file and point the icon to a new file, or edit/move/copy the png file.

After that, restart the desktop (if you have installed the utilities menu), or restart the gemini if the icon doesn't change automatically.

Posted by: jovpov Sep 11 2018, 02:32 AM

QUOTE(vader @ Sep 10 2018, 07:37 PM) *
QUOTE(jovpov @ Sep 11 2018, 10:07 AM) *
Thank you for tips, WebCat works great on forum smile.gif But I must find way to change WebCat icon (it is really ugly)


The desktop file for webcat is: /usr/share/applications/harbour-webcat.desktop
and the icon is in: /usr/share/icons/hicolor/86x86/apps/harbour-webcat.png

Either edit the desktop file and point the icon to a new file, or edit/move/copy the png file.

After that, restart the desktop (if you have installed the utilities menu), or restart the gemini if the icon doesn't change automatically.


Wow, Vader, thank you! WebDog is alive now! https://www.screencast.com/t/GSRjxiUt2D

Posted by: vader Sep 11 2018, 04:15 PM

smile.gif

Posted by: Varti Oct 12 2018, 10:05 AM

Upon request (although very late, sorry for that) I'm pinning this thread, there are lots of useful infos here that will be helpful to many new Sailfish users, me including smile.gif

Varti

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)