linux

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

shartworx, in Which terminal emulator do you use?

kitty. it’s the first thing I install on a new machine.

miningforrocks,

And why do you usw kitty? For me its the hyprland default terminal emulator and I never had problems with it so I stuck with it

shartworx,

I tested kitty and alacrity when I first found out about advanced term emulators. I liked kitty more, but I don’t remember why. I use the kittens all the time. It’s super convenient to play a video or display an image in the terminal. Kitty works on most distros. I wish it worked on windows, too, so I could use it at work.

tourist,
@tourist@lemmy.world avatar

If you’re allowed to install WSL on your work machine, they recently (I think recently) added GUI support for linux applications.

If you install kitty on a WSL distro, you can use it like any other windows program.

You can access your windows file system from /mnt/

I don’t really know how they do the virtualization, so you may lose a lot of the performance benefits that kitty has.

Very clunky workaround, but it’s an option.

shartworx,
QaspR,

Ditto on that.

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

Manjaro. Its just Arch but worse

CrabAndBroom,

Yeah I was gonna say Manjaro too. I used it for a while while I was heading towards Arch but wasn’t feeling fully confident to go full Arch as a daily driver yet, and it was nothing but trouble for me. I found that it tried to prevent me from breaking things, which is not necessarily bad, but it would also break things by itself and then this feature would prevent me from going in and fixing them.

I much prefer it when the OS just gets out of my way and lets me do what I want, even if it’s dumb lol

someonesmall,

I’m using Manjaro daily for +5 years and had one or two package conflicts, never any boot problems. I don’t understand where all the Manjaro hate is coming from…

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

Ubuntu: For shilling all kinds of profrietary garbage by default. If I wanted that I’d be on Windows.

Also the changes they make to GNOME make it worse, they take away what makes it good, the flow.

genie,

Exactly what I came here to say.

Prompt me for Ubuntu Pro once (in the GUI on first login)? Shame on you, but I’ll move past it.

Put an ad in the terminal every time I update my system though? Straight to jail.

db2, in What does Ubuntu do when LTS is supported for 12 years, but PHP is not?

I would think “long term support” can also sometimes mean moving that support to a newer version, especially where it doesn’t break compatibility.

atzanteol,

It usually involves “backporting” new fixes into old code.

Spectacle8011,
@Spectacle8011@lemmy.comfysnug.space avatar

That would be the logical conclusion, but I believe Debian uses the old version for years after it’s unsupported and might backport security fixes depending on how severe they are. Either way, I personally wouldn’t trust Debian or Ubuntu to properly fix security issues with a program (or in this case, programming language) that they do not actively develop or maintain themselves.

TCB13, in Wine 9.0 is now available
@TCB13@lemmy.world avatar

🎉🎉🎉

Yet another major release that fails do support basic Win32 APIs available since Windows 95 properly.

🎉🎉🎉

turbowafflz,

It’s a miracle we have wine at all, reverse engineering an entire operating system isn’t easy. Be grateful for what we have (which is already enough to run a ton of software really well)

TCB13,
@TCB13@lemmy.world avatar

Still ReactOS performs better in basic Win32 APIs… makes no sense.

_Sprite, (edited )
@_Sprite@lemmy.world avatar

Unrelated but everytime you end a sentence with an ellipsis I imagine someone’s nerdy youtube rantsona with their arms crossed and a sly grin

natsume_shokogami, (edited )

If you want some APIs implemented, make a feature request; you understand what you want

TCB13,
@TCB13@lemmy.world avatar

reverse engineering an entire operating system isn’t easy

Have you noticed the the NT / Windows XP source code was leaked years ago. There’s isn’t much of a need to “reverse engineering”, it’s just about reading their implementation and providing an alternative implementation that doesn’t copy code…

turbowafflz,

Well, since it’s so easy, go do it.

neo,
@neo@lemmy.comfysnug.space avatar

They are legally not allowed to touch it.

otter,

it’s just about reading their implementation and providing an alternative implementation that doesn’t copy code…

That sounds difficult though. Didn’t companies have to set up ethics walls to protect against lawsuits for things like that?

TCB13,
@TCB13@lemmy.world avatar

Didn’t companies have to set up ethics walls to protect against lawsuits for things like that?

What are you talking about? There’s copyright infringement that when you copy the leaked Windows source code into something like Wine or ReactOS and then there’s reading it to understand what Microsoft did and coming up with an alternative implementation that will provide a compatible API for programs to use. There’s no “gray zone” or ethical BS - it’s either copied or not.

otter, (edited )

What are you talking about?

Ah the term I was looking for was “clean room”

en.wikipedia.org/wiki/Clean_room_design

See the bit about examples and IBM. While you could probably look, the easiest way to defend against a giant tech company’s legal team is to do the clean room setup

dario, (edited )

Paragraph «Don’t», bullet point number 3: Don’t look at any Microsoft source code. wiki.winehq.org/Clean_Room_Guidelines

maness300,

Lol.

Imagine shooting yourselves in the foot like this.

TCB13,
@TCB13@lemmy.world avatar

Guess that rule was in place because some people would look at it and proceed to copy it. The rule should be “if you copy code from Microsoft you’ll be kicked from the project and the code removed”. While I see why this is place and what it protect the project from this is also a very big roadblock to the project’s evolution and a clear example of what’s wrong with it and why we still have compatibility issues.

OsrsNeedsF2P,

That’s a lot of words to emphasize you don’t understand copyright law

RubberElectrons,
@RubberElectrons@lemmy.world avatar

Succinctly.

maness300,

If only there were ways to subvert copyright law…

Cqrd,

Nope, because if you write code and they can prove you were influenced by leaked proprietary code in any way then they will sue the shit out of you and shut you down.

Also see Halt and Catch Fire for a show with this as a plot point. It’s very real though.

troyunrau,
@troyunrau@lemmy.ca avatar

Ask for a refund

TCB13,
@TCB13@lemmy.world avatar

Too bad time isn’t refundable. Free software is only free if you don’t factor in the time you spend making it work.

maness300,

So true.

troyunrau,
@troyunrau@lemmy.ca avatar

Wow, you’re the most entitled user of free software I’ve met in a while. Just but a windows license next time.

maness300,

Since when is having standards being ‘entitled’?

Just because something is free doesn’t mean it has to be janky.

TCB13,
@TCB13@lemmy.world avatar

Well at least I’m not here perpetuating the delusion that desktop Linux desktop is as user-friendly and productive for every use-case as Windows and macOS are. If one lives in a bubble and doesn’t to collaborate with others then native Linux apps might work and might even deliver a decent workflow. Once collaboration with Windows/Mac users is required then it’s game over – the “alternatives” aren’t just up to it.

Windows licenses are cheap and things work out of the box. Software runs fine, all vendors support whatever you’re trying to do and you’re productive from day zero. Sure, there are annoyances from time to time, but they’re way fewer and simpler to deal with than the hoops you’ve to go through to get a minimal and viable/productive Linux desktop experience.

It all comes down to a question of how much time (days? months?) you want to spend fixing things on Linux that simply work out of the box under Windows for a minimal fee. Buy a Windows license and spend the time you would’ve spent dealing with Linux issues doing your actual job and you’ll, most likely, get a better ROI.

Just buy a windows license next time.

Here’s the thing, I can get a legit Windows license by various means. I don’t need to go into microsoft.com and get it for 300$, a second hand windows machine with an old i5 CPU will sell for 50$ and that includes a valid Windows license. Computers selling on retail stores also include a Windows license, students can get them for free etc. what else?

uzay,

Well at least I’m not here perpetuating the delusion that desktop Linux desktop is as user-friendly and productive for every use-case as Windows and macOS are.

Wait, are you saying Windows and macOS are user-friendly and productive for every use-case? That’s hilarious!

lemmy_user_838586,

Bro. Why are you even here, then? Use whatever works for you, clearly you don’t value Linux.

TCB13,
@TCB13@lemmy.world avatar

Oh yes, I value and like Linux a LOT… just not for desktop as it doesn’t deliver as everyone says it does. To be fair I believe that only someone who values Linux as much as I do would be comfortable to criticize what’s wrong with it.

lemmy_user_838586,

For someone who keeps complaining about how much time you lost to Linux, you sure spend a lot of time complaining on Linux forums, bashing it.

TCB13,
@TCB13@lemmy.world avatar

Well I can’t spend all my time trying to fix ridiculous issues that would’ve been fixed by now if people had the balls to look at Windows XP source code…

lemmy_user_838586,

Yeesss, keep going man, waste more time!

TCB13,
@TCB13@lemmy.world avatar
lemmy_user_838586,

C’mon, keep doing it!

TCB13,
@TCB13@lemmy.world avatar

Guess not, we’re just wasting lemmy’s resources :P

lemmy_user_838586,

Noo, keep going man, I got an apt-get error you need to waste time fixing for me

kurwa,

You’re doing something worse, complaining about something that no one really does. The average Linux user doesn’t want the average computer user to install Arch Linux. Stop spamming this garbage.

UnsavoryMollusk,

Which one? Am curious since I worked with the winapi for a long time.

OsrsNeedsF2P, (edited )

Sorry, I missed the part where you submitted an MR

neo,
@neo@lemmy.comfysnug.space avatar

Then perhaps you can open a pull request?

aniki,

No one ever promised infinite compatibility forever. It’s most certainly NOT a microshit product.

dinckelman,

Instead of leaving snide comments like this, you can use your head to open up an IDE, implement the features you want, and make a pull request. Keep it to yourself

maness300,

Oh no, how dare he have higher standards!

SpiceDealer, in 13 Best Open Source ChatGPT Alternatives
@SpiceDealer@lemmy.world avatar

Good! I’m looking to ditch most search engines (with the possible exception of Searx) since they have become so inundated with so much junk links. Louis Rossmann mentioned in one of his videos that he pays $20/month for GPT-4 since it fetches better results. But I’ll look into this before I do so. Thanks for sharing this.

Rikj000, (edited )
@Rikj000@discuss.tchncs.de avatar

Only show interest in open source software,
let the anti consumer surveillance tech companies drown.

For SearX,
checkout these random SearX redirectors:

Both increase your privacy + prevent rate limits.

lemmy_user_838586, (edited )

Love the sentiment, and I agree, but anti consumer surveillance tech is here to stay, sadly. Can’t tell you how many people in my life have Alexa, FireTV and random shit like that.

SpiceDealer,
@SpiceDealer@lemmy.world avatar

I was thinking the same until @Rikj000 responded to my comment. The defeat of the surveillance state (both private and government) relies on us.

QuazarOmega,

Little baby steps, at least we can make the difference for ourselves… But Google is in my walls

library_napper,
@library_napper@monyet.cc avatar

Why don’t you take google out of your walls?

QuazarOmega,

It’s threatening me with breaking my house’s structural integrity

library_napper, (edited )
@library_napper@monyet.cc avatar

Oh yeah, load-bearing Googles are a trap

Engywuck,

Can’t tell you how many people in my life have Alexa, FireTV and random shit like that.

This doesn’t mean that you have to surrender to it.

SpiceDealer, (edited )
@SpiceDealer@lemmy.world avatar

Thanks for the tip. Dodged another proprietary bullet.

Spectacle8011,
@Spectacle8011@lemmy.comfysnug.space avatar

Kagi is the only search engine I use which has really good results and no junk links. …and you have to pay for it, of course. It’s a meta search engine but they use their own indexes for news results and Teclis, which indexes small commercial sites with fewer than 5 trackers. One of the cool features it added recently was an icon for identifying paywalled articles.

I’d like to recommend Mojeek, my default search engine, but it still has a way to go. If you’re just looking for an “answer engine” rather than a general search engine…I guess an LLM probably isn’t a bad place to start?

Mojeek,
@Mojeek@lemmy.ml avatar

Thanks for mentioning us nonetheless! You can help out with that journey, if you want, by chucking some searches (either new ones or old ones you remember being not so great) into the Evaluation Page and voting.

Spectacle8011,
@Spectacle8011@lemmy.comfysnug.space avatar

It’s good to see you guys on Lemmy :)

I tested it a bit a few days ago, but I’ll see if I can give it a more rigorous go today. The ones I’ve found Mojeek to be weak in are bug strings that programs I’m working with spit out. Although I think I’ve had more luck in the past few months.

danielfgom, in Hans Reiser Apologies For Social Mistakes, Comments On ReiserFS Deprecation From Prison
@danielfgom@lemmy.world avatar

I’m glad to see that he is learning in prison, talking and working through things. This really is the point of prisons: not just a place to keep people but a place to reform them.

Anyone of us could become a criminal given the right pressures and circumstances. I wish all prisons would reform and educate their inmates and that they come out as better people who can live a peaceful and productive life.

WarmApplePieShrek,

You are wrong. The point of US prisons is punishment.

danielfgom,
@danielfgom@lemmy.world avatar

I don’t live in the US. But I would hope that eventually prisons would adopt the mindset to reform inmates rather than just keep them locked up for nothing.

That will only lead to frustration and trouble

sin_free_for_00_days, in What is going on with /sys/kernel/notes ?

It was added in a patch to 2.6.23

Notes from the coder:

The bonus feature in my patch series adds the magic file /sys/kernel/notes. Reading this gives you the binary contents of the ELF notes section built into the kernel. Here you can find the build ID of the running kernel. This gives a solution to a problem that has arisen for systemtap users, where nothing prevents them from using the kernel-debuginfo.i586 data to drive Systemtap’s probe details, but are actually running the kernel from the kernel.i686 rpm. This is a failure on many levels, but some simple sanity-checking at the bottom always helps. Now it is easy to verify you have the right debuginfo file for the kernel you are running.

This is incorporated upstream now.

Static_Rocket,
@Static_Rocket@lemmy.world avatar

Yep, from kernel/ksysfs.c


<span style="font-style:italic;color:#969896;">/*
</span><span style="font-style:italic;color:#969896;"> * Make /sys/kernel/notes give the raw contents of our kernel .notes section.
</span><span style="font-style:italic;color:#969896;"> */
</span>
CrabAndBroom, in (Constructively) What is your least favorite distro & why?

Someone already said Manjaro, so my second pick would be ElementaryOS. In the past they’ve had this weird attitude about open source things being free (I get supporting devs for projects you like of course, but I don’t agree that it’s “cheating” to not pay for every single piece of open source software you use), and they seem to get a lot of hype and praise for what’s essentially just Ubuntu painted up to look like MacOS IMO.

leopold, (edited )

I very much don’t care for ElementaryOS, but I really don’t think it’s fair to paint it as “Ubuntu painted up to look like MacOS”. It’s not just GNOME with some extensions. They made a whole desktop environment and suite of applications for their distro. That’s a ton of work. I think any distro that does that deserves some amount of respect.

ILikeBoobies,

I always confuse it with Sugar

mholiv, (edited ) in Bcachefs Lands Another Round Of Fixes For Linux 6.7

I haven’t used it yet personally, but I would bet as soon as Debian/Ubuntu LTS/CentOS/openSuse/other stable Linux distros get kernels new enough to it will be not just a btrfs killer, but a ZFS killer too.

The tiered write and read layers and SMR support put ZFS caching to shame.

lemmyvore,

Nobody uses SMR for live data anyway unless it’s in very particular circumstances.

Bcachefs is still at least a couple of years away from serious use. But sure, if it’s available and you have a good backup strategy you can use it today.

mholiv, (edited )

As for “years away” I agree. As my first post said people should wait till you can use bcachefs in the stable distros. Debian isn’t getting kernel 6.7 any time soon 😆. So years away is right in any case.

I think bcachefs addresses the reason why people don’t use SMR HDDs. (Aka changes resulting in cascading writes)

You could have a data pool with the following tiers.

Tier 1: SSDs

Tier 2: HDDs

Tier 3: SMR HDDs

With bcachefs you would only ever write to your tier 1 storage. In the background, as able, bcachefs would offload the data from the faster lower tiers to the slower higher tiers based on frequency of data access.

You would only ever read from the SMR HDDs and would never write to them. They act as a sort of async backing to your data.

Personally I would love a data pool with a few SSDs, backed by a few HDDs, backed by many SMR HDDs. You would save so much money just with good architecting.

Bcachefs should be a ZFS killer. All the features of ZFS with storage tiers being a superior version of ZFS’s L2arc with none of the DKIM kernel license incompatibility nonsense.

lupec,

Damn, I didn’t think to include SMR drives when it comes to bcachefs. Your whole comment made me appreciate the whole concept under a whole new light actually, thanks!

stardreamer, (edited ) in Help w/ crash
@stardreamer@lemmy.blahaj.zone avatar

Look at the line with the asm_exc_invalid_op. That seems like a hardware fault caused by an invalid asm instruction to me. Either something wrong is being interpreted as an opcode (unlikely) or maybe the driver was compiled with extensions not available on the current machine.

OP, how old is your CPU? And how old is the nic you are using?

Edit: did you use a custom driver for the NIC? I’m looking at the Linux src and rt_mutex_schedule does not exist. Nevermind. Was checking 4.18 instead of 6.7. found it now. The bug is most likely inside a macro called preempt_disable(). Unfortunately most of the functions are pretty heavily inlined and architecture dependent so you won’t get much out of it. But it is likely any changes you made in terms of premption might also be causing the bug.

mvirts,

It’s a 3770k… So super old? 😅 The USB nic is this guy: CF-953AX a.aliexpress.com/_mNfj796

Maybe I should set up a config that doesn’t use a preemptable kernel for when I want faster wifi :P

Maybe this is my chance to actually fix something kernel related

Thanks for taking a look at this, your comments are super helpful.

stardreamer,
@stardreamer@lemmy.blahaj.zone avatar

My suggestion would be to try compiling the kernel locally.its highly likely the one packaged in your distro contains extensions that you don’t have. Doing a local native compile should rule that out pretty quickly without having to disable any additional features.

mvirts,

Looks like dmesg isn’t being logged to disk… But I made my font smaller 😹 https://lemmy.world/pictrs/image/7d5b658b-f029-4cce-aeeb-ddcce9760426.jpegDefinitely more to go on there, this happened while playing Minecraft with a small human so I didn’t dig into it yet. I’m pretty sure the kernel I’m running was built by a derivation that applies some preempt patches so I’ll start there. Ubuntu works fine with the adapter, but it’s also not a preemptable kernel.

captain_aggravated, in (Constructively) What is your least favorite distro & why?
@captain_aggravated@sh.itjust.works avatar

I’m going to mention two:

Manjaro. I’ve attempted to use Manjaro a few different times, and outside of a VM it just didn’t work properly; on my laptop it would boot loop for reasons I don’t understand, it had poor hardware support and optimization on a Raspberry Pi, and it didn’t last long on my desktop. It’s had its chances, I’m done trying.

I really did not hitch horses with Pop!_OS, and it’s almost entirely because Pop!_OS started at Gnome and kept fucking going. Just thinking about the two miserable weeks I spent trying to get Gnome to do anything is making me physically angry. Words like disobedient and belligerent come to mind when I think of what it’s like to use Pop!_OS. Linux Mint is designed to feel familiar to anyone coming from Windows. Pop!_OS feels like it’s designed to be the opposite of that, it deliberately doesn’t work the way you think it does. YOU have to conform to IT. And I FUCKING hate it. It is never welcome on my hardware ever again.

lseif,

yep. i dont see a reason to use Manjaro when EndevourOs is basically the same, but better (and a nicer color theme!)

maness300,

Why does endeavor OS describe itself as a terminal-centric OS?

That alone turns me off from using it. I try to avoid the terminal at all costs.

lseif,

im pretty sure you can get by pretty well without the terminal, for the most part. although, it is arch based, and its kind of the point. no distro is for everyone.

its besides the point, but why dont u like the terminal?

maness300,

its besides the point, but why dont u like the terminal?

Because it’s way harder to remember and use text commands than it is to navigate a GUI.

I also don’t like taking my hand off the mouse if I can avoid it.

lseif,

fair enough.

MashedPotatoJeff, in Reddit API blew up and now I run Linux?

It’s a good reminder of how influenced we are by our surroundings, even when we try to be aware of the effect. Or maybe especially when we try to be aware.

I was staying strong until I saw they were already sundowning windows 10. 10! They just came out with that shit. I have no intention of upgrading to the latest advertising package.

JasonDJ, (edited )

….windows 10 came out in 2015. I wouldn’t say it just came out, 8 and a half years ago. Thats a pretty good run for a retail OS. There was only 5 between the release of 3.0 and 95.

My big gripe with 11 was that it seemed like MS was going to go away from major releases and go to something somewhat closer to a rolling release model. My big gripe with 10 was all the telemetry.

It’s actually pretty telling that from “insert installation media” to “working web browser”, just about any Linux distro is a faster, easier, and less demanding installation experience than 10 or 11.

MashedPotatoJeff,

Haha, fair enough. I seem to have lost track of the years somewhere in there.

octopus_ink, in I finally nuked windows

So I logged in to check and it told me it needs to download 8 gigs of updates. That sent me into rage and so clean installed everything to be fedora. I have 250 gb of storage locked in limbo because of windows

Sounds like you took your time, got comfortable, found a distro you liked, and generally did it all the right way. Now watch as with each new headline you see about Windows or MS you become happier and happier with your decision. There’s no better advertisement for Linux than the behavior of MS and Windows. 😁

Congrats on dumping Windows. One of us! One of us!

IsoSpandy,

Exactly. Plus I was super creeped out by the news that apparently Microsoft tries to decrypt files I have stored encrypted on my one drive and by default sets up my home directory to be on one drive. What the fuck

Jumuta,

holy shit, if that’s true then I’m so nuking windows off my machines

Peffse,
Jumuta,

wow.

Fecundpossum, in My corsair k100 keyboard doesn't show up in openrgb

You could give this a try instead. It’s a reverse engineered iCue driver which probably supports your keyboard and any other Corsair peripherals you may have.

Dokuba,

i tried ckb next and it didnt recognize my keyboard either

Fecundpossum,

Well, that’s unfortunate. I have all razer peripherals that work great with openrazer for a back end and polychromatic for a gui front end. I don’t have any corsair devices anymore so I can be much help. Good luck.

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

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 18878464 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1097728 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 38