this post was submitted on 26 Oct 2023
409 points (97.7% liked)

Linux

47231 readers
765 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

After getting a comment from the creator of kanata (an awesome piece of software by the way) that he found my story amusing, I figured that I'd also post it here, partly as fun, partly as a cautionary tale. Also, I'd appreciate any tips as to what to check for in my system, it's a weird feeling to know that some stuff might have been messed up under the hood.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 10 months ago (2 children)

Does Ctrl+Alt+Backspace not kill X any more (assuming you're using X)?

Does Ctrl+Alt+Delete reboot the system from a graphical desktop? Or is that only from the virtual consoles?

I wonder if locking the session would have stopped it as well. I doubt the Alt+SysRq combos would have been useful since other random input was happening at the same time (unless the next keystroke happened to be an I, U, or B).

[–] [email protected] 5 points 10 months ago* (last edited 10 months ago) (1 children)

1.) I'm using wayland (river as a compositor at this point), and have not set up a key combo for riverctl exit in fear of an accidental trigger, but it might actually be a good idea.
2.) As far as I know, that only applies to the VTTYs.
3.) Setting up a screen locker program does seem like a good option for preventing unwanted input (which can occur for other reasons as well, such as my one year old son 😀) without potential loss of work / data! Is swaylock the go to solution for this nowadays?

[–] [email protected] 1 points 10 months ago (1 children)

River looks nice, I use bspwm for years now and always was in search of another highly configurable wm/compositor for Wayland. I hate the i3/sway way of doing things i.e. beeing very opinionated while pretending not to and doing things almost like a DE.

On first glance this seems to be it! With riverctl replacing bspc. It even allows external programs for the layout and the config is by default just a shell script.

Are there any known issues you encountered or quirks? Would you recommend it to me?

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (1 children)

River is actually really nice! I have been a Sway user for multiple years before, but as it reached parity with i3, it was deemed "feature complete" (which is reasonable, as it was made to be a drop-in replacement), so I switched to Hyprland, but after making a small contribution I found the development too chaotic, so I started looking for something else.

I have been really happy with River. It still has some small shortcomings (e.g. minor visual glitches with fullscreening, and some less used options still missing), but the developers are very responsive on IRC (which I'm actually not a huge fan of, this was the first time I had to use it, but it's OK for what it is) and it being written in Zig is a huge selling point for me, as I don't have to write any C or C++ to extend it (my first PR is already on the way) when something I'd like to do is not yet possible.

If you're willing to spend a while getting to know it and setting up the environment (it relies on external programs for some functionality that is built-in in other compositors, such as monitor management), then I'd definitely say that it's worth a shot!

[–] [email protected] 1 points 10 months ago

This sounds exactly what I'm searching for then. Besides that I don't know Zig and would prefer C/C++ I only hear good or familiar things. Bspwm is also not the most bug free wm when it comes to visual glitches.

Also not beeing so monolithic and relying on external programs is actually a major plus point for me. Actually I really dislike how Wayland (or rather most compositor implementations) fused everything into one project.

I think I'll give it a try at some point.

[–] [email protected] 1 points 10 months ago

They moved Ctrl-Alt-Backspace behind a config iirc - too easy to hit by accident.