linux

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

just_another_person, in Thinkpads RE: Repairability/upgradability

Honestly, this used to be the case, but the past couple of years Lenovo is going back to their old ways of sub-par upgradability, and sub-sub-par support across models for Linux. I believe the P-series is the current most compatible line.

You might want to consider getting a slightly older refurb you KNOW is very compatible versus a newer one, because it’s a crapshoot. Make sure to avoid any models with soldered memory (they specify on their site), and if you’re buying a modern AMD model, do some research and make sure they haven’t crippled any features in the BIOS.

If you’re not completely sold on Lenovo, look at getting a Framework laptop. It’s the most upgradable and repairable laptop of any kind out there.they also just started an outlet online store where they are selling last-gen models at deep discounts that you could upgrade to current Gen when the time comes.

Good luck!

ArcaneSlime,

Hey thanks, this outlet store thing may be just what I need! I wanted a framework but didn’t want to take out a second mortgage on my house! Lol that’s why I was considering Lenovo, black friday deals that I assume aren’t going to be on frameworks (but I’m still gonna check fri/mon) but are on the lenovos.

just_another_person, (edited )

Correct. In the mission statement, Framework says they won’t be doing random sales, and prefer to keep prices consistent so customers know they are always getting the lowest price. I’m signed for an AMD 16", but those outlet prices are crazy good, so bought one of the 13" Intels as well to play with 😂

Fizz, in Thinkpads RE: Repairability/upgradability
@Fizz@lemmy.nz avatar

Why not framework? Thinkpads were good but I doubt the new ones follow the same principles.

rosew0od,

Can you get a used framework for $200?

Fizz,
@Fizz@lemmy.nz avatar

If you’re willing to repair it I’m sure you could

const_void, in Thinkpads RE: Repairability/upgradability

It used to be true. Lately though they’ve been getting less repairable and the build quality has been getting worse too.

tourist, in TIL
@tourist@lemmy.world avatar

I assume most of those students weren’t “officially” given admin priveleges, which makes it extra funny

atzanteol,

They may have been, things were far more trusting back then.

X servers, for example, would accept any connections. So we would often “export DISPLAY=friendscomputer:0.0” in the computer lab and then open windows of embarrassing content. Which at the time would likely be ASCII art…

wmassingham,

Still can. Only a few years ago, I would cat random things to classmates’ tty devices.

tankplanker,

One of my favourite wars was to open audio files on other people’s SPARCs, somebody had the loudest bag pipe music that usually ended things.

Access to the SPARCs was normally restricted to third year but if you knew the right person you could get an account created pretty easily. Had the fastest access to the internet at the time within the uni as well.

guleblanc,

I used to work at a company that did distributed QA. Other people’s tests would run on your desktop. It worked surprisingly well. But occasionally a test of some audio resource would play on your speakers “The discrete cosine is a real, discrete version of the fast Fourier transform.”

tankplanker,

Ha, love the audio tell of the resource stealing

Thatoneguy, in TIL

I remember back in college we would abuse the wall command on our shared Linux server so much that IT had to disable it

RedWeasel, in Gamepad not communicating with Game

Were you running steam at the time? Try closing steam first and trying again. I have experienced this as an issue when using heroic.

Smorty,

I just tested it and unfortunately it did not fix the problem. Thing is, not Lutris nor Steam is picking up the gamepad. So I don’t see Steam eating the input, since it also doesn’t seem to recognize it.

RedWeasel,

Sorry, I misunderstood. What controller are you using? It seems odd that only jstest is detecting it. I initially needed to use an enviroment variable for my Steel series Stratus duo, but I think that was a layout issue.

Smorty,

I am really just using some very cheap off brand controller I found at some store. It does work on my RetroPie, but not my Debian pc. I have now switched over to my steam controller (since it works without any problems) and playing with it feels fine too.

So I guess I the problem has been solved for me, but the mystery of what causes this issue remains.

RedWeasel,

I’d suggest checking section 5.3 of the arch linux wiki gamepad page. Debian probably either has an older version of the related package or retroPie might have extra patches. Could not say what package for certain though. Arch Wiki Gamepad

bleistift2, (edited ) in TIL

The best part of working in a meat grinder startup were the Linux masters teaching you stuff like


<span style="color:#323232;">cat /dev/random > /dev/pty23
</span>

or


<span style="color:#323232;">su _otheruser_
</span><span style="color:#323232;">chsh -s /bin/false
</span>
yogurtwrong,
@yogurtwrong@lemmy.world avatar

cat /dev/random > /dev/pty23

Imagine someone adding this to your .profile

lhamil64,

What is /dev/pty23? From context, I assume another users terminal so it just spams garbage to their screen?

nicoweio,

What OP said. But here’s a more detailed answer courtesy of GPT-4:

Adding cat /dev/random > /dev/pty23 to your .profile would result in an interesting situation whenever you start a login shell.

  1. Behavior of the Command: The command cat /dev/random continuously reads random data from the /dev/random device file, which generates an endless stream of random bytes. Redirecting this to /dev/pty23 means it attempts to write this data to the pseudo-terminal device /dev/pty23.
  2. Impact on Shell Startup: When you add this to your .profile, every time you start a login shell (like when you open a new terminal session), it will execute this command. Since /dev/random produces an endless stream of data, the cat command will not terminate on its own. This means your shell will be stuck executing this command, and you won’t get a prompt to enter new commands.
  3. Interactive Shell Issue: The shell remains technically interactive, but because the cat command doesn’t complete, you won’t get a chance to interact with it. The shell is effectively blocked by the cat command continuously running.
  4. Potential Problems: There’s a possibility that /dev/pty23 might not exist on your system, or you might not have the permission to write to it. In such cases, the command would fail, but it would still block the shell if it doesn’t exit properly.
  5. Fixing the Issue: To regain control of your shell, you might need to edit your .profile from a different context where it doesn’t get executed, like using a non-login shell or booting into a recovery mode.

In summary, it’s a kind of a “prank” command that can render your login shell unusable until you remove it from your .profile. It’s an example of how powerful shell startup scripts can be, and also a reminder to be cautious about what gets added to them!

crispy_kilt,

Please don’t spam gpt rubbish

agent_flounder, in TIL
@agent_flounder@lemmy.world avatar

I’ve always wondered why the admin group is called wheel

dan,
@dan@upvote.au avatar

It’s from the phrase “big wheel”, meaning a person with a lot of power/influence. Similar to “big cheese”… It would have been better to use “cheese” instead of “wheel” IMO.

WalrusByte,
@WalrusByte@lemmy.world avatar

What if wheel referred to a wheel of cheese? Best of both worlds that way!

zero_spelled_with_an_ecks,

The first victim of the Cheese Wheel Wars: nbcnews.com/…/italy-cheesemaker-dies-crushed-fall…

ndonkersloot,

I always think of it as ‘being behind the wheel’, which gives control of whatever direction you want to steer into.

PlexSheep,

Pretty sure it’s not. I saw something on this topic a few weeks ago but can’t quite remember. Iirc, it was a term in an early early OS, where a bit in memory was the privilege but and could be set or unset by turning a real wheel on the computer. This Stück with some people developing UNIX, so they called the wheel group wheel, but none of them are sure who came up with this.

Of course, this is just hearsay.

j7126,
@j7126@lemmy.world avatar

Brodie Robertson made a video on that recently.

www.youtube.com/watch?v=5vmp6Pg8rWc

MigratingtoLemmy, in Thinkpads RE: Repairability/upgradability

Framework outlet is a great idea. I’ll add that I recently came across deals from Dell selling an XPS13 from 2020 for $449 and MSI selling an Intel powered laptop (no discrete GPU, almost office laptop) for $399. The older Thinkpads will be reliable though

bjoern_tantau, in Can i autostart apps to tray in GNOME?
@bjoern_tantau@swg-empire.de avatar

I thought Gnome got rid of the tray.

Anyways, this probably depends on the application. You’d have to find out if there is a command line option in the application to start it minimised or in tray.

GravitySpoiled,

thanks! I just found a source which states the same that the app has to support it. There’s no universal command.

hackandslash.blog/how-to-start-flatpak-applicatio…

mintycactus,
@mintycactus@lemmy.world avatar

deleted_by_author

  • Loading...
  • GravitySpoiled,

    Nice

    It works for schildichat but not for protonvpn, proton mail bridge or thunderbird

    degra,

    For Thunderbird you can try Birdtray. github.com/gyunaev/birdtray/

    cerement, in TIL
    @cerement@slrpnk.net avatar

    got a similar situation in MUDs, someone finds a way to frob everyone else up to wizard level and the whole round of the game just becomes a mess of shouts

    miracleorange, in Can i autostart apps to tray in GNOME?

    The app itself has to support it, and even then those options can be hit or miss.

    palordrolap, in TIL

    Reminds me of the test server shenanigans I had at an old job versus a colleague. All in fun. Nothing in production.

    One was the faux Bash shell that kind of worked OK until you pushed it or tried to do anything fancy. It was the default shell for the user called "root", but that wasn't the UID 0 user. It had been, but I renamed it. Then created a new "root" with a different UID. Of course, the faux shell would tell "root" that it was UID 0.

    The other was the simple background loop that would detect any rival admin sessions and SIGHUP their shell process. First user on the box to run that pretty much had free reign, and everyone else was logged off instantly.

    Pantherina, in Ubuntu Linux Squeezes ~20% More Performance Than Windows 11 On New AMD Zen 4 Threadripper Review

    Do a Gentoo test with correct compilation parameters! Or just Arch, Fedora or Opensuse Tumbleweed okay.

    fl42v, (edited ) in TIL

    Why declare a war over it? Just sudo sed -i ‘s/%wheel/$(whoami)/’ /etc/sudoers or smth like that

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