

My lazy hack
If it looks stupid but works, then it’s not stupid
Just another Reddit refugee
My lazy hack
If it looks stupid but works, then it’s not stupid
these are all text files
Yeah, it just calls the executable mentioned in the .desktop
file (/usr/bin/sway).
It should not be a GDM, issue, right?
I also checked that I don’t have seatd
installed, which is a “minimal user, seat and session management daemon” mentioned in arch wiki (https://wiki.archlinux.org/title/Sway). Could it be related?
Sorry, I have to go now. More tonight, if you want.
No hurry, the fix I am using is not causing issue. I just want to know why this is happening. This is a fun research problem.
PS: I checked Google and I didn’t find anyone who has faced the same issue.
Inisde i3 WITHOUT FIX
$ groups
xavier666 adm cdrom sudo dip plugdev lpadmin lxd sambashare
$ groups xavier666
xavier666 : xavier666 adm cdrom sudo dip plugdev lpadmin lxd sambashare
Inside sway WITH/WITHOUT FIX
$ groups
xavier666 root
$ groups xavier666
xavier666 : xavier666 adm cdrom sudo dip plugdev lpadmin lxd sambashare
PS: I corrected the username, it should be xavier666
. I corrected the main post.
but with the way the sway session is started, as opposed to the i3 session. We need more info on this.
I’m using gdm to start sway. I’m using the laptop’s built-in fingerprint scanner to unlock (Not sure if it matters). I saved the fingerprint in the Gnome session long back.
gdm probably looks inside /usr/share/wayland-sessions
and finds sway.desktop
and uses it to launch Sway.
I’ve tried to keep things as vanilla as possible.
Isn’t i3 Xorg only, and sway wayland only?
Correct.
Maybe wayland is launched using restrictive set of permissions.
I once installed Bazzite on my PC. I am an sway user/addict. So thought about installing sway on Bazzite.
Below is my journey
Let me try to download and compile it.
Downloaded but it won’t compile.
The libraries/dependancies are not installed. Here, try installing the packages via brew.
Nope, some of them are available and some are not on Brew.
Now what do I do? Okay, there is something called distrobox where I can install whatever I want.
Looks like I have to learn distrobox. Wait, sway is not a simple application, it’s a full blown window manager. Even if it compiles, will it work?
Most of the people online (Discord) told me the process won’t be very pretty.
Do I want to invest another week experimenting with distrobox?
Nope, installed Nobara the next day and I’m happy.
Disclaimer: Bazzite is a fantastic distro and it’s powering my RoG Ally. Atomic distros are fantastic for the niche they fill.
Development, I’m not sure about
This has been done by Github several times. But thankfully, all major distros are not primarily hosted by Github.
However, I am unsure how powerful sanctions are on distros if the US becomes relentless.
I had a brain fart. I completely forgot that Canonical is British.
That’s gonna be a no from me, dawg
tl;dr
You don’t need antivirus on Linux in 99% of scenarios
Most of the time, the package is available on the standard package manager which makes the process extremely simple. Hardest part is knowing the package name. If you know apt search
, you don’t even have to search on the browser to find the package name. But certain packages are only available as tar.gz or as source. But those are usually not encountered by newbies.
If someone is using Nix, they generally don’t have trouble finding packages. Also, Nix has more packages compared to AUR.
To your conscious brain, it might seem like 4 steps. But we are doing a lot more in reality because install process is second nature to us (Because of several years of usage).
If you tell someone who has never used a Windows PC to install a software and my list is more accurate.
winget is everything which Windows fanboys are against. Don’t get me wrong, it’s fantastic (terminals ftw). However, I remember people often smirked about the fact that in Linux you have to type commands to install something and the GUI method is much superior.
The only reason I could not use bazzite was because i was trying to make it into a work PC as well (making/compiling git repos). I could use the built-in distrobox but was becoming a bit of a hassle. So switched to Nobara.
However, bazzite works great on my ROG Ally.
I have been using Nobara and Bazzite, both Fedora spins, and they are working great.
If anyone wants a great terminal bluetooth manager, use blutuith (https://github.com/darkhz/bluetuith)
How to install an application on Windows
Windows is so much easier /s
Android looks at SteamOS from the distance
I’m unsure how to use the command. I added it to the main Sway config file, which means it’s executed whenever Sway starts (Post login).
However, it didn’t make any difference. I also ran it manually
$ loginctl enable-linger xavier666 $ sudo visudo [sudo] password for xavier666: Sorry, user xavier666 is not allowed to execute '/usr/sbin/visudo' as root on <HOSTNAME>.