Any reason for avoiding flatpak?
Just another Reddit refugee
- 12 Posts
- 868 Comments
For me, it’s after trying a non tiling WM. I’m too deep into i3 (now Sway) + tmux.
For me, it’s after trying a non tiling WM. I’m too deep into i3 (now Sway) + tmux.
xavier666@lemm.eeto Linux@lemmy.ml•In search of a non-electron text editor that can fold | Are emacs and (neo)vim my only options?English1·20 days agoToo low on the list
xavier666@lemm.eeto Technology@lemmy.ml•Self-hosting your own media considered harmful according to YouTubeEnglish331·27 days agoWATCH OUT, HE’S REACHING FOR HIS NAS!
xavier666@lemm.eeto Technology@beehaw.org•YSK: Condé Nast Parent Company is a Major Owner of Reddit, You Should Avoid their Publications (Wired, Ars Technica, GQ, The New Yorker, Vanity Fair, Vogue,...etc) as Much as Possible.English5·28 days agoIt’s hard to make an old dog forget old tricks
xavier666@lemm.eeto Linux@lemmy.ml•How can I delete the Windows 11 operating system from my laptop, which has a dual boot system?English3·2 months agoAgreed. OP should just backup their Linux home directory (Everything inside
~/
) and do a fresh install. Your Linux install will thank you for that.
xavier666@lemm.eeOPto Linux@lemmy.ml•PSA: Not all applications use environment variables (Like they are supposed to)English5·2 months agoIn my university (where we used proxy), we had a saying “it’s always
DNSproxy”
xavier666@lemm.eeOPto Linux@lemmy.ml•PSA: Not all applications use environment variables (Like they are supposed to)English2·2 months agoThat is a good point. But I remember launching the application from the terminal where I explicitly set the env variables as null. Still it didn’t work.
xavier666@lemm.eeto Linux@lemmy.ml•Simple Bash Script To Always Disable Laptop Internal Monitor When Using AR GlassesEnglish1·2 months agoAgree.
However, I always have those “trivial” conditions be explicitly set. Usually, when the device is unplugged correctly, your primary display will be automatically be turned on. However, in very weird scenarios (incorrect voltage signals, loose wire, etc), it’s possible that the explicit
else
condition will be triggered.
xavier666@lemm.eeto Linux@lemmy.ml•Simple Bash Script To Always Disable Laptop Internal Monitor When Using AR GlassesEnglish2·2 months agoWhat about the condition that when the external display is disconnected, the main display should be reenabled?
xavier666@lemm.eeto Asklemmy@lemmy.ml•Scientists of Lemmy, how would you standardize or improve cooking recipes?English2·2 months agoYup, it’s broken (https://www.cookingforengineers.com/). Why?!!!
xavier666@lemm.eeto Asklemmy@lemmy.ml•Scientists of Lemmy, how would you standardize or improve cooking recipes?English9·2 months agoYou should check out the super old website called “cooking for engineers”.
xavier666@lemm.eeto Technology@beehaw.org•Firefox could be doomed without Google search deal, says executiveEnglish7·2 months agoFirefox: “But I’m nothing without Google money”
FOSS community: “If you’re nothing without Google money, then you don’t deserve it.”
xavier666@lemm.eeOPto Linux@lemmy.ml•[SOLVED] Weird root permission issue on Sway which is not present in i3English1·2 months agoIssue resolved!
It was swhkd. Thank you very much for your insight and extremely detailed response!
$ ls -l $(which swhkd) -rwsr-xr-x 1 root root 2583192 Mar 10 17:16 /usr/bin/swhkd
Since we know what’s causing it, can you make a “guesstimate” of what it’s doing? Why are other applications are getting infected by it? And why is a keybind manager affecting permissions?
I will raise an issue on their github. The project is already looking for maintainers.
xavier666@lemm.eeOPto Linux@lemmy.ml•[SOLVED] Weird root permission issue on Sway which is not present in i3English2·2 months agoHow do you open the shell inside sway? Keyboard binding from sway config? Launcher? Which terminal? Do any of the involved programs have setuid root bit set (looks like rws instead of x in ls -l output)?
I think you may have just pointed me to the correct direction.
My keybinds setup is a bit weird. I’m using swhkd instead of sway’s built in keybinds. swhkd is a setuid binary (https://github.com/waycrate/swhkd?tab=readme-ov-file#running) which might be causing the issue. I’ll quickly disable swhkd and check if the issue is resolved. Will keep you posted.
xavier666@lemm.eeOPto Linux@lemmy.ml•[SOLVED] Weird root permission issue on Sway which is not present in i3English1·2 months ago$ which sway /usr/bin/sway $ sway --version sway version 1.9 $ file $(which sway) /usr/bin/sway: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=70fe358f7e410f618ad8a9ce0e573ed6826b2e75, for GNU/Linux 3.2.0, stripped $ ls -l $(which sway) -rwxr-xr-x 1 root root 600352 Apr 1 2024 /usr/bin/sway
id
pre and post loginuid=1000(xavier666) gid=1000(xavier666) groups=1000(xavier666),0(root) --------------- uid=1000(xavier666) gid=1000(xavier666) groups=1000(xavier666),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),132(lxd),133(sambashare)
A funny thing; I think this has nothing to do with gdm. I have gdm disabled now and launching sway directly from the terminal and the issue still persists.
The problem goes away (
xavier666
becomes part ofsudo
like expected) when I typeexec su - xavier666
for that terminal session only. If I open a new terminal, it problem reappears. I’ll just in case check if zsh/omyzsh is doing something funny.
xavier666@lemm.eeOPto Linux@lemmy.ml•[SOLVED] Weird root permission issue on Sway which is not present in i3English1·2 months agoI was experimenting. This might be helpful (https://lemm.ee/post/62662283/20097388)
xavier666@lemm.eeOPto Linux@lemmy.ml•[SOLVED] Weird root permission issue on Sway which is not present in i3English1·2 months agoI found something interesting, thanks to my friend
- I removed the fix mentioned above. Now user does not have
sudo
access inside sway - I ran the command
exec su - xavier666
. It asked for my user password and the command was accepted. - My
groups
output looks normal (xavier666
is now part ofsudo
) and my permissions are fine - However, the problem reappears after a reboot
It is as if this user is an imposter with incorrect privileges 📮
- I removed the fix mentioned above. Now user does not have
Looks suspiciously like https://github.com/marktext/marktext
Edit: Ignore please, the project is dead