linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

s38b35M5, in Gaming Latency on Linux: Gnome vs KDE Plasma
@s38b35M5@lemmy.world avatar

tl;dr for someone who doesn’t come to Lemmy to watch YT videos?

isVeryLoud,

Same latency

WbrJr,

Seems pretty unexcited and rather expected. Doesn’t it?

s38b35M5,
@s38b35M5@lemmy.world avatar

🤙

SSUPII, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

Debian sid a few years ago: Uninstalled Python2, system became unusable and couldn’t neither reinstall from APT neither recompile it

luk,

Did it on Ubuntu and nothing worked anymore. Somehow managed to recover.

SSUPII,

I was much more inexperienced in Linux at the time, I could probably fix it now if the same thing happened again.

Quazatron, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@Quazatron@lemmy.world avatar

Found out the hard way that if you edit /etc/sudoers with anything other than visudo you best be absolutely sure the syntax is correct, otherwise sudo will refuse to read it and you’ll be locked out.

Also learned to add -rf to the rm command at the end, after I re-read it to make sure it does what it should do. Something like rm /path -rf instead of rm -fr /path. That protects you from your fat fingers hitting the enter key half way through.

fl42v,

Been there with sudo. Fortunately, su still works, as well as going to another tty and logging in as root. Well, as long as the root login is enabled; otherwise that old hack with init=/bin/bash may work, unless you’ve prohibited editing kernel cmdline in the boitloader or decided on efistub

Quazatron,
@Quazatron@lemmy.world avatar

IIRC the root account was disabled (with no password), so I resorted to my trusty SystemRescueCD pen to fix things. Never leave home without it.

isVeryLoud, in (Constructively) What is your least favorite distro & why?

Manjaro always broke on me. I can’t even trust them to keep their SSL certs up to date.

Sorry Manjaro devs, no hate, I just got burned way too many times by this arch-not-arch frankendistro.

tcrash,

Been on it for the last two years. Never broke. Idk what’s going on

captainjaneway, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@captainjaneway@lemmy.world avatar

Linux Mint: removed all taskbars from the desktop. I was hoping it would just allow me to reset them to the default. But in reality, it breaks the GUI and it’s very hard to reset from the GUI. Suddenly my keystrokes weren’t being detected and I couldn’t open up applications with any sort of regularity. After a lot of dicking around, I got the terminal working so I could reset Cinnamon.

It’s not the worst way I’ve broken a machine. But it was one of the most annoying.

Petter1,

Always remember, there is always a “terminal” accessible: Don’t forget poor tty

Nibodhika,

One thing I learnt a while back is that if you break your GUI you can always use Ctrl+Alt+F<1-9> to go to different terminals to try to solve it. Worst case scenario I would do something like mv .config .config.bkp and sudo systemctl restart that should hopefully get you back to default settings on the UI.

Source: been there, done that. Not exactly your error but similar enough.

jerrythegenius, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@jerrythegenius@lemmy.world avatar

I once deleted the network system in alpine. I’d been having some trouble with with the default one (I think wpa_supplicant) so I decided to try the other one (I think iwctl). But I thought that there might be problems with havung both of them so before I installed iwctl I deleted wpa_supplicant (thinking that it was more of a config utility than the whole network system), only to find that I couldn’t connect to the internet to install iwctl.

Petter1,

You could have used the netplan yaml file 😇 or chroot from live distro

msmc101, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

First time trying Linux I went with an arch install because I Googled “best version of Linux” and went with arch. Followed a guide to the point of drive formatting and I decided to go with a setup with drive encryption. I didn’t understand what I was doing, ended up locking myself out of my hard drives and couldn’t get windows to reinstall on them. I used a MacBook for a week until I installed Ubuntu and managed to wipe and reset my drives and reinstalled. Needless to say I am going to read up a little more before I try that again.

fl42v,

Been there, and even without encryption: took me to reinstall a few times before I realized I can chroot again and repair 😅

Petter1,

Archinstall python script is your friend 😄😉 I tried install arch manually, but as I learned that not even sudo is included in the Linux essential packages, I stopped the process and went back to aromatic script install, lol, got no time for that S*** 😂

rdri, in Ruffle (a open source re-implementation of adobe flash player) reviews improvements made in 2023

The performance is really bad though, can’t see it improving any time soon. Maybe it has to do with how it relies on wasm.

wiki_me,

I tried a few games that are considered classics and didn’t notice any performance problems, maybe open an issue with a test case?

leopold,

my experience with it is that it performs significantly better than the official Flash Player

INeedMana, in My corsair k100 keyboard doesn't show up in openrgb
@INeedMana@lemmy.world avatar

Read this. You might need to change the code the program searches for

Dokuba,

im not sure how to change the code that this is talking about

INeedMana,
@INeedMana@lemmy.world avatar
  1. Download the code
  2. open Controllers/CorsairPeripheralController/CorsairPeripheralControllerDetect.cpp and change
    line 80: 0x1B7C -> 0x1B7D
  3. compile
  4. make install
fhein, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

I have a stupid one, but far from funny… I’ve been using and building computers for a very long time so I’m far from a noob, but I’m still quite cautious, bordering on paranoid, so I like to unplug all other drives when re/installing an OS just to avoid stupid mistakes. I go through the installer on the livecd, there’s only one drive to choose from so I don’t think much about it, select that it should erase everything, I set up the new partition structure, and start the process. After about a minute I begin wondering “why is it taking so long?”, and “what is that ticking noise? SSDs shouldn’t be making any sounds when written to”, when I realize that I had unplugged the wrong drives and that I was currently overwriting my main storage drive. Of course I had backups of the most important things like photos and code, though not really synced for a couple of months so I lost some stuff permanently.

rzlatic,
@rzlatic@lemmy.ml avatar

I can totally feel that sudden clot in the gut the moment you realize on which drive the action is happening, just by reading this.

OneRedFox, in I'm addicted to caring for my Linux distro, polishing things, optimising stuff it's so funny! Got some stories like that?
@OneRedFox@beehaw.org avatar

I used to be constantly making tweaks to stuff and distrohopping like none other, but in 2018 I finally found THE setup and settled down. These days it’s all about having scripts that set things up exactly how I want them.

savbran,

May I ask what you’re using? Which distro?

OneRedFox,
@OneRedFox@beehaw.org avatar

NixOS.

Kjev, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@Kjev@discuss.tchncs.de avatar

Somehow convinced a person to run sudo chmod -x /usr/bin/*

I don’t remember the exact command so it could be a bit different but it did the job. It was a fun evening.

fl42v, (edited )

Daaem, I guess the poor dude at the receiving end did not consider it particularly fun. Well, at least they had sbin working, so probably possible to recover without a live cd. Huh, guess who’s now spinning up a VM to check it out 🤣

Checked it out: on arch that results in inability to run tty on reboot, then you’re dropped into initramfs’s rescue shell where you can simply +x new_root’s /usr/bin/* and be back up and running

avidamoeba, (edited )
@avidamoeba@lemmy.ca avatar

An intern nuked their workstation by sudo chmod -R 777 /. Turns out adding exec to everything isn’t good either.

d950, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

When Ubuntu 16.04 had just been released, I tried upgrading my 14.04, the whole system broke and I had to install another os (Manjaro won).

That day I learned Ubuntu too can be a bit stupid.

Static_Rocket,
@Static_Rocket@lemmy.world avatar

This is where someone tracks down an upgrade path chart you didn’t know existed and points out some goofy intermediary release, not an lts for some reason, that you were supposed to upgrade to first…

j4k3, in I finally nuked windows
@j4k3@lemmy.world avatar

My laptop is the same except, I keep a Windows partition because the RGB keyboard controller is only available in a Windows app. That Windows partition exists in a post apocalyptic dystopia where Windows belongs; it has never, nor will ever see the internet. It is blocked my my network firewall. Windows is like a less than useful bootloader options tab.

ame,

Not knowing which keyboard laptop combo you have, but have you looked at openrgb? Works nicer than the stock tool I was using in my experience!

Anticorp,

Would that work with my Aoris 3070 ti?

ame,

Don’t know, but I’d just try it out and see if it works. It detected my motherboard, mouse, keyboard, everything. It was just such a relief after trying and failing to get the stock (windows only) software on linux running

Anticorp,

Thank you! I’ll give it a shot.

j4k3,
@j4k3@lemmy.world avatar

Thanks for the suggestion. I’ll look into it. I’m a bit skeptical because the changes made in Windows are persistent, the secondary function keys give quick access to some of these features (but only 3 course brightness PWM settings for RGB), but mostly because there is a device on the USB device tree that is unknown to the Linux kernel on mainline-fedora.

Maybe there is some kind of kernel configuration option that just needs to be added, but the bootloader rejects custom keys generated for secure boot. Without my own keys I’m stuck with the shim and can’t run my own signed kernel. It might be possible to set the keys by booting into UEFI with Keytool, but my motivation hasn’t carried me that far into the problem yet. I could be wrong and the unknown USB device could be unrelated, and openrgb could work. Thanks again.

terminhell,

It will depend on the specific hardware, but I can vouche for openrgb. It works for me g502 hero mouse, and my asrok mobo/aio coolers fan RGB. Infact, I have more options than the motherboard gives me lol.

StorageB, in 2024 Is the year I will commit to ditching windows

I have to keep a Windows install around for the sole purpose of pushing firmware updates to my Headrush pedal board. The installer will run on Linux with Wine, but it cannot detect the pedalboard through the USB connection.

utopiah,

I didn’t try it (because I didn’t have the need for it yet) but maybe wiki.winehq.org/Hardware#USB could help.

StorageB,

I hadn’t come across this when I was trying to get it to work with Wine. This looks promising - I’ll give it a try next time!

ghassan,

Try giving this a try. I found it suggested in the Arch wiki to update the bios. It’s basically a bootable Windows environment from a USB. You can then try running your firmware updates through it. It worked to update my bios so I assume it should easily work with updating firmware for other devices.

StorageB,

That’s an interesting idea. I will give that a shot next time!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #