maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Full linux distros on Sailfish OS (https://talk.maemo.org/showthread.php?t=101080)

edp17 2020-09-11 10:57

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569229)
I used attach option in Container app, and used apt-get to install plasma-desktop, and plasma-btowser-integration, then installed Chromium, and it shows nicely now... Also using KDE connect to transfer files from Debian to SF...(I just noticed a package - plasma-workspace - also installed. I can't really remember if I installed that or if it is just part of plasma-desktop...)

And how do you start the plasma-desktop?
It always starts xfce4 for me. I tried to attach the container then start manually with 'plasma_session' command, but that didn't work. When I tried to start from the xfce4 session, it didn't work (obviously).

levone1 2020-09-11 21:04

Re: Full linux distros on Sailfish OS
 
3 Attachment(s)
Quote:

Originally Posted by edp17 (Post 1569233)
And how do you start the plasma-desktop?
It always starts xfce4 for me. I tried to attach the container then start manually with 'plasma_session' command, but that didn't work. When I tried to start from the xfce4 session, it didn't work (obviously).

My goal was to get Chromium running and laid out properly. I attributed the success of that to the mere installation of the plasma packages, since that was the only thing I did differently from the first time to the second time. I don't know much about plasma, but since you brought it up, I tested it, and plasma_session works for me, if I launch with sudo from terminal within Debian, making a small desktop window at the bottom of the screen, and producing a lock screen after idling for a few minutes ...

But, this is not how I was launching Chromium, but it was just from Application menu on the desktop...

BTW - I still can't get landscape mode by any means - landscape script, kde system settings, plasma settings, xrandr, efc... all fail to have any effect

levone1 2020-09-11 21:17

Re: Full linux distros on Sailfish OS
 
2 Attachment(s)
more screens

Fellfrosch 2020-09-14 06:55

Re: Full linux distros on Sailfish OS
 
I have sid running in a container again. My problem is still the keyboard layout under xfce4. I have copied the layout to .lxc/Sid/usr/share/X11/xkb/symbols but in xfce4 it doesn't show up in the keyboard settings. How do I make it visible there, so that I can choose it and set it active? I have read that there is an entry necessary in .lxc/Sid/usr/share/X11/xkb/rules/endev.xml. but there is also a endev.lst in this folder. Do I have to edit both and what exactly do I have to put in there?

edp17 2020-09-14 10:00

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569239)
My goal was to get Chromium running and laid out properly. I attributed the success of that to the mere installation of the plasma packages, since that was the only thing I did differently from the first time to the second time. I don't know much about plasma, but since you brought it up, I tested it, and plasma_session works for me, if I launch with sudo from terminal within Debian, making a small desktop window at the bottom of the screen, and producing a lock screen after idling for a few minutes ...

But, this is not how I was launching Chromium, but it was just from Application menu on the desktop...

BTW - I still can't get landscape mode by any means - landscape script, kde system settings, plasma settings, xrandr, efc... all fail to have any effect

I see! So basically you start plasma from the xfce4. I thought you started the plasma_session without the xfce4. I just have tried this way and worked me too. However, I still have the xfce4 menu bars (top and bottom ones) are still available and the scaling is not quite right.
Here is the result:
https://i.ibb.co/9WnZ3VR/plasma-on-treltexx1024.png

For the landscape mode, I would suggest to start xfce4 in landscape first.
Plus, to be able to launch the Chromium browser, you don't need to start plasma. I just installed Chromium and was able to launch from the menu within xfce4 without plasma_desktop.

I'll play with plasma. It would be good if plasma somehow can be started as a default DE.

levone1 2020-09-14 12:54

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1569265)
I see! So basically you start plasma from the xfce4. I thought you started the plasma_session without the xfce4. I just have tried this way and worked me too. However, I still have the xfce4 menu bars (top and bottom ones) are still available and the scaling is not quite right.
Here is the result:
https://i.ibb.co/9WnZ3VR/plasma-on-treltexx1024.png

For the landscape mode, I would suggest to start xfce4 in landscape first.
Plus, to be able to launch the Chromium browser, you don't need to start plasma. I just installed Chromium and was able to launch from the menu within xfce4 without plasma_desktop.

I'll play with plasma. It would be good if plasma somehow can be started as a default DE.

Originally, Chromium installed and ran fine for me too, but I couldn't ge it small enough to use, (as in my first screenshots). Then after installing Plasma packages, it opened and displayed properly.... Not sure why.

I can't get anything to launch in landscape mode, not even xfce. I set landscape as the option in containers settings, I use landscape script, I set the display settings in Linux to rotate - it doesn't matter. Nothing causes landscape rotation ...

levone1 2020-09-14 13:54

Re: Full linux distros on Sailfish OS
 
Update - I wiped everything and started from scratch, and now landscape works. I guess I must have done something wrong in setup or something ...

edp17 2020-09-14 15:06

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569268)
Update - I wiped everything and started from scratch, and now landscape works. I guess I must have done something wrong in setup or something ...

At least now it is working. :D
For me when I start in landscape, it automatically rotates the screen when the xwayland window starts.
Now, you may try again Chromium without plasma.
For me, in plasma, I could change the font size in the windows but not in the menubar down there. So if you know the trick, please let me know. :D

levone1 2020-09-14 15:27

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1569272)
At least now it is working. :D
For me when I start in landscape, it automatically rotates the screen when the xwayland window starts.
Now, you may try again Chromium without plasma.
For me, in plasma, I could change the font size in the windows but not in the menubar down there. So if you know the trick, please let me know. :D

Everything is better now - Window launches feom app, landscape works,all items appear normally... Not sure what I messed up before ...

One question - Do you know if it's possible to get OnBoard keyboard to show on the Plasma lock screen ?

Thanks for all your help.

Fellfrosch 2020-09-14 20:14

Re: Full linux distros on Sailfish OS
 
I got the keyboard to work under xfce4. I copied the pro1 xkb directly under .../symbols. Than It's enough to edit .lxc/Sid/usr/share/X11/xkb/endev.xml and to add:
Code:

<layout>
<configItem>
<name>pro1</name>
<shortDescription>pro1</shortDescription>
<description>pro1 deutsch</description>
<languageList>
<iso639Id>de</iso639Id>
</languageList>
</configItem>
<variantList/>
</layout>



All times are GMT. The time now is 21:10.

vBulletin® Version 3.8.8