SXMO questions about wayland/X11 #633
Replies: 6 comments 3 replies
-
It seens sxmo arch img runs with wayland as default.
Correct
How can I set X11 as default?
Install `sxmo-utils-dwm` and then go to `Power -> Toggle WM` in the menu. You can uninstall `sxmo-utils-sway` after that if you want.
the image even try to install X11 libs?
I'm pretty sure xwayland is installed by default, if it's not it should probably be added.
|
Beta Was this translation helpful? Give feedback.
-
The Toggle WM button will be generated after the installation of sxmo-utils-dwm?
I searched for that button after reading a bit of the sxmo documentation but couldnt found it on the arch image.
Yup, it's not possible to toggle properly without dwm installed.
I am trying the postmakerOS right now, and I fould the button there, even without dwm installed. It seens it runs and responds more smoothly thant the arch install, but I'm not sure yet.
The pmos packages were less strict, so sometimes it will show up but toggling fails. I believe this was updated to match the behavior on arch, but that might still be only in edge.
This project is in need of something, is there any TODO or something that I could inform myself also?
https://todo.sr.ht/~mil/sxmo-tickets might be a good start. If you could quantify "more smoothly" it would make it easier to to look at what the difference is.
|
Beta Was this translation helpful? Give feedback.
-
Hello ArenM. I tried to run X11 on postmarket yesterday as we are exchange here. Then I pressed the Switch WM button, the cellphone restarted, and I went to TTY. With the messagem "sxmo is not started" or something like that, as I cant exactly remember the message. But is the same message when I tried to use justine sxmo-alarm yesterday and had some missconfigurations that didnt work. It seens that the services/systemd process didnt started correctly and maybe a status output message can enrich this conversation futher. I'll try today to install DWM on the arch-sxmo image and see what will happen. For that, I am with some question yet that I would like to clarify:
I cant find any reference for this package or repo. I did find: https://git.sr.ht/~mil/sxmo-dwm And I know that https://git.sr.ht/~mil/sxmo-build is able to install X11 config throught --X11 argument on sh execution. But this later, sxmo-build, fails to configure the services in the arch enviroment, so sxmo X11 will never start prorpely because of that. As I did read right now, https://git.sr.ht/~mil/sxmo-dwm I have checked quickly the https://todo.sr.ht/~mil/sxmo-tickets and I thank you for pointing that out. I am interessed in contribute to the X11 enviroment, as I dont want to use wayland yet, and spend time learning sway and other things (I think it will be easy) but I like the dwm/st/etc enviroment, and do not see any point to move to wayland yet. I am also interessed in contribute to the arch ecosystem in that subject, and I think you're maybe one of the most informed ones on that point. Thank you! EDIT:
I think it was just a impression. I noticed the gestures respondend better on pmOS. But maybe it is because I got a little better with that after reading the official documentation. In both distros, I had issues with the "touch" option being toggled off. I dont know if I did made a gesture that toggled that off. In the arch distro, yet, I could C+P and toggle it on in the config menu with keyboard, but in the pmOS that didnt work. So points for arch in this subject, as I didnt got fully locked. (seens if touch off, we cant use gestures also). EDIT2: I just cloned https://git.sr.ht/~mil/sxmo-dwm and instelled it system wide on ALARM. The WM button on power menu didnt showed up. I also did a restart, and even after that, the WM button wont show. Maybe this isnt the right method. EDIT3: I tried to use the logout button on power menu, to see if it would move me to TTY so I could 'exec dwm' myself. But after the screen got black, it just logged me again in wayland. EDIT4: Maybe, the barebone install + sxmo-build + sxmo-utils would be a better start point for people who want X11 instead of sway? I'll experiment this method and leave here all my impressions, problems and fixes. |
Beta Was this translation helpful? Give feedback.
-
I tried to run X11 on postmarket yesterday as we are exchange here.
I installed sxmo-utils and sxmo-build throught git repos and choosed the right configuration for X11. I had some problems with some packages and debugged then myself and made it right.
Then I pressed the Switch WM button, the cellphone restarted, and I went to TTY. With the messagem "sxmo is not started" or something like that, as I cant exactly remember the message.
That's exactly the behavior that we're trying to avoid by not showing the button at all. You need postmarketos-ui-sxmo-dwm (or something like that).
But is the same message when I tried to use justine sxmo-alarm yesterday and had some missconfigurations that didnt work.
[snip]
I cant find any reference for this package or repo.
I did find: https://git.sr.ht/~mil/sxmo-dwm
And I know that https://git.sr.ht/~mil/sxmo-build is able to install X11 config throught --X11 argument on sh execution.
But this later, sxmo-build, fails to configure the services in the arch enviroment, so sxmo X11 will never start prorpely because of that.
Justine's scripts and sxmo-build are both quite out of date. On arch, you should be using the sxmo-utils packages provided by this repository. The sxmo-utils-git packages in the aur are also (sometimes) up to date, but it doesn't have the dwm variant.
So all you need to do is `sudo pacman -S sxmo-utils-dwm`.
…---
Sxmo-utils is built from https://git.sr.ht/~mil/sxmo-utils, and it split into sxmo-utils, sxmo-utils-sway, and sxmo-utils-dwm to help keep the dependencies down.
|
Beta Was this translation helpful? Give feedback.
-
` :: Do you want to skip the above package for this upgrade? [y/N] https://archlinux.org/packages/extra/x86_64/autocutsel/ ` :: (1/1) Parsing SRCINFO: autocutsel ` I did try to build anyway and now I am installing sxmo-utils-dwm. I have one last question, since we are installing dwm, st, surf and alikes with packages, how could I customize them? Where can I find the basic repositorie that contains the sames defaults of packages so I can customize and build then myself after that? I think is just use the repos Well, very thanks! Now I can focus on some ricing. |
Beta Was this translation helpful? Give feedback.
-
Why a package only avaliable on AUR would be a dependency for sxmo-utils-dwm?
It seems like it was probably removed since the last time I updated sxmo-utils, I'll need to add a package to the danctnix repos for it.
I have one last question, since we are installing dwm, st, surf and alikes with packages, how could I customize them? Where can I find the basic repositorie that contains the sames defaults of packages so I can customize and build then myself after that?
Oddly enough that's not a question that seems to get asked a lot, I think your options are to modify the sxmo-utils pkgbuild to not depend on dwm, or to modify the dwm pkgbuild to point at your source tree, both of those pkgbuild files are in this repo. (s/dwm/st..etc/g)
|
Beta Was this translation helpful? Give feedback.
-
It seens sxmo arch img runs with wayland as default.
How can I set X11 as default?
the image even try to install X11 libs?
Beta Was this translation helpful? Give feedback.
All reactions