I’m wondering if there are any good resources for becoming familiar with how to setup and use Sway. It seems like a great interface for the Devterm, and i played around with it a bit back when the Manjaro builds first started appearing.
While I’d consider myself fairly competent with the usual window managers and cli, Sway just seemed so… different. And while there are resources online that answer specific questions (like configuration tweaks, for example), I found myself not knowing the right questions to even ask.
It seems like Sway requires a different way of thinking and different sort of approach to managing tasks. Does anyone know of a good introduction to it? Perhaps something that shows some examples of usage would help me get my head around it. Not really looking for an “idiot’s guide” so much as something to shed more light on the way people use it and go about thinking about it.
Sorry if this is kind of off-topic, but the Manjaro builds seem to be somewhat superior to the official OS, and Sway seems like an ideal (and fascinating) interface for the Devterm.
Install Manjaro Sway (next-gen i3) - USING A LINUX SYSTEM TO FLASH THE IMAGE TO THE SDCARD:
- On your linux laptop, insert devterm sdcard. Reformat card to fat32. (this solves most boot issues.)
- Go to Releases · manjaro-arm/clockworkpi-a06-images · GitHub.
- Click the Assets link and download Manjaro-ARM-sway-clockworkpi-a06-YYYYMMDD.img.xz
- xz -f -d Manjaro-ARM-sway-clockworkpi-a06-YYYYMMDD.img.xz
- dd if=Manjaro-ARM-sway-clockworkpi-a06-YYYYMMDD.img of=/dev/sda bs=10M status=progress (OR WHATEVER DEVICE YOUR SDCARD IS)
- Pull out sdcard, re-insert, and let it mount the root dir on the sdcard.
- Edit /SDCARDROOT/etc/sway/outputs/default-screen and add the line:
- output DSI-1 transform 90
- save file, unmount sdcard, insert in devterm.
I use this reference:
Also, the video on https://swaywm.org/ was very helpful in giving me a frame of reference. I really got everything from it and the cheatsheet.
(tested with the v03 keyboard firmware. arch is a different world for me coming from yum/apt… But it’s manageable if you have Linux experience.)
Example navigation using only the keyboard on the DevTerm A06. Cat a script. Bring term into full screen, run the script that runs a jpeg to ascii program a couple times, drop out of full screen.
I’m loving it for DevTerm. It’s perfect. I find it restricting (for now, at least) on a large screen laptop.
Thanks for the detailed response!
I installed it before, but I’d swear there was no welcome screen like the one shown in your screenshot. Perhaps I had a very early version of it, before that was added. It would have been useful, since one of the things I was looking for at the time was how to change configuration settings, and the welcome screen has the paths right there. Nice! (I eventually did find the location, in part thanks to someone here who pointed me in the right direction, but it involved some research and fumbling around that could have been avoided by that welcome screen!)
The cheatsheet looks quite useful too. I’ll check out the video as well.
Yeah, I’m most familiar with Debian and apt. I’ve never used arch before, though I was tempted to install it on the Gameshell when that was new, as like here, it seemed a more stable, streamlined, and up to date option than the official OS.
This may be answered in the video, or other materials, but what happens when you use the command to exit Sway? It’s essentially the window manager, right? Actually, I already answered my own question… I guess i3 is the window manager, and it’s still around when Sway exits.