linux

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

Commiunism, in Which terminal emulator do you use?

Kitty for both X and Wayland - I like the customization (as in I already have the config file that I have backed up and can just plop it in), it works perfectly on any VM (used it on sway, hyprland, i3, awesomewm), though honestly I don’t see much of a difference between the terminal emulators. There’s literally no wrong choice or meaningful difference in my experience at least, but admittedly I just use a terminal emulator to run commands, neovim and system file editing.

CrabAndBroom,

Yeah same here, at some point I ended up settling on Kitty and now I’m used to it and there’s no reason to change, but pretty much any terminal emulator will do the job just fine.

kugmo, in Wine 9.0 is now available
@kugmo@sh.itjust.works avatar

The fact that I don’t have to deal with lib32-gst-plugins-ugly/bad/ect is amazing, but I’ll have to keep 32 bit libraries for Team Fortress 2 and other online Source games.

theangryseal,

Should I not be playing the native Linux version? Or am I just an idiot who doesn’t understand how the game works?

kugmo,
@kugmo@sh.itjust.works avatar

Pretty sure TF2’s VAC only works on the Linux version, otherwise it kicks you out when you try to join a match.

swag_money, in Canonical's Steam Snap is Causing Headaches for Valve

guys hear me out. steam os: debian edition

shasta,

This is not a problem with steam OS though

ardi60, in Suggestions for consumer cloud syncing on Linux?
@ardi60@reddthat.com avatar

pcloud

Species8472,

Yep. Using pcloud on Fedora, works fine.

Kualk, (edited ) in What does Ubuntu do when LTS is supported for 12 years, but PHP is not?

Only if there is such a huge vulnerability that they will have no choice.

That’s just my guess.

Promise of support is a tricky one.

atzanteol,

I love how people are up-voting your completely wrong “just a guess”.

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

I’m sure it’ll be fine, just keep running the old version 🙃

atzanteol,

It will be fine. That’s the entire point of an lts version. Ubuntu back ports security fixes to the old versions.

selokichtli, (edited ) in Fedora, Arch, or EndeavourOS?

Use openSUSE Tumbleweed. It’s a rolling release distribution with the best a great KDE Plasma implementation.

Now, your specific question boils down to choosing between Arch and Fedora, since, arguably, Endeavour OS is actually Arch Linux. Now, as you’re willing to use a Qt-based DE, specifically Plasma, I’d say none of your options are ideal. That’s why I mentioned openSUSE Tumbleweed, but, for you, I’d say Arch Linux, however, you currently use Arch Linux, hence, you should just switch to the Plasma DE.

LeFantome,

EndeavourOS is Plasma based now

selokichtli,

Well, thank you for bringing that to my attention, but the comment holds.

SheeEttin, in I'm an idiot (arm)

Have you tried building it?

danielf, (edited )

RAR isn’t open source.

Urist, (edited ) in Fish rewrite-it-in Rust progress: 100%
@Urist@lemmy.ml avatar

Seems one of the main reasons is to use Rust’s thread safety to enable “concurrent mode”. Anyone with the knowledge able to explain what advantages that would yield for an end fish user?

faho,

One big, long-standing issue is that fish can’t run builtins, blocks or functions in the background or at the same time.

That means a pipeline like


<span style="color:#323232;">seq 1 5 </span><span style="font-weight:bold;color:#a71d5d;">| while </span><span style="color:#62a35c;">read</span><span style="color:#323232;"> -l line
</span><span style="color:#323232;">    </span><span style="color:#62a35c;">echo</span><span style="color:#323232;"> line</span><span style="font-weight:bold;color:#a71d5d;">; </span><span style="color:#323232;">sleep 0.1</span><span style="font-weight:bold;color:#a71d5d;">; 
</span><span style="color:#323232;">end </span><span style="font-weight:bold;color:#a71d5d;">| while </span><span style="color:#62a35c;">read</span><span style="color:#323232;"> -l line
</span><span style="color:#323232;">    </span><span style="color:#62a35c;">echo</span><span style="color:#323232;"> line</span><span style="font-weight:bold;color:#a71d5d;">; </span><span style="color:#323232;">sleep 0.1
</span><span style="color:#323232;">end
</span>

will have to wait for the first while loop to complete, which takes 0.5s, and then run the second.

So it takes 0.5s until you get the first output and a full second until you get all of it.

Making this concurrent means you get the first line immediately and all of it in 0.5s.

While this is an egregious example, it makes all builtin | builtin pipelines slower.

Other shells solve this via subshells - they fork off a process for the middle part of the pipeline at least. That has some downsides in that it’s annoyingly leaky - you can’t set variables or create a background job in those sections and then wait for them outside, because it’s a new process and so the outer shell never sees them.

technom,

Here’s one issue they hope to solve with this rewrite: github.com/fish-shell/fish-shell/issues/238

bizdelnick,

End user shouldn’t care what PL the software is written in. Their advantages and disadvantages are meaningful for developers only.

Nyanix,
@Nyanix@lemmy.ca avatar

While I agree, most people shouldn’t have to be concerned with it, you can’t deny the resource impacts of various languages, libraries and frameworks, like compare the memory usage of Discord or Teams with those of FOSS chat applications, and you’ll notice those two consistently eating much more memory. You can also compare compute speeds of a higher level language like Python vs lower level languages like Rust and you’ll find that Rust is quite a bit faster (though generally takes more dev time). So yes, users shouldn’t have to be concerned with involved languages, but if you’re running something on a low-resource device, such as a Raspberry Pi, those little details can make all the difference.

Falcon,

PL can have a large impact on features, bugs, bug reports, troubleshooting, performance and documentation. Particularly when dev resources are limited.

It’s hard to see how this opinion holds any water.

Rust is a great choice for a shell built as an interactive shell that doesn’t have to be core to the OS. Over C++ this also makes development more accessible to young programmers.

pastermil, in Rust-Written Linux Scheduler Showing Promising Results For Gaming Performance

Now if only gccrs would mature soon!

LLVM-based is fine for most case, but I bet a lot of people would want to stick with gcc for compiling the kernel.

Giooschi,

For that usecase https://github.com/rust-lang/rustc_codegen_gcc works too and is much more likely to be mature soon.

pastermil,

It seems to still require LLVM, tho

Ullebe1,

What makes you think that? The whole point of it is to create a rustc backend that uses libgccjit instead of LLVM.

yianiris, in Wine 9.0 is now available
@yianiris@kafeneio.social avatar

There is nothing "worth" running in wine, but it is good to know it exists, just to spite those choosing binary blobs.

@mr_MADAFAKA

OsrsNeedsF2P,

Dunno fam, I like LAN partying 2001 games with old friends during our biannual meetups.

henfredemars,

How about this then. While your neighbors are using wine, it attracts more commercial attention to develop the open source projects that you do actually use. It’s so impactful that you measurably benefit directly from its contributions, like optimizations to the Linux kernel.

You don’t have to agree with it, but you cannot deny the increased investment in open source projects it causes.

For a painfully blatant example see: Steam Deck.

Also for the binary blob purists, how do you feel about all that closed source firmware underpinning your pure world? Isn’t it practically impossible to get completely open source firmware down to the silicon? And even then, do you trust the silicon? Are you running everything on FPGAs?

Adanisi, (edited )
@Adanisi@lemmy.zip avatar

Hi! “Binary blob purist” here! Yes, it bothers us that so much firmware is proprietary, but we are working to fix that :).

It is possible to have fully free firmware on certain select devices.

The silicon is unchangeable, much like a chair is unchangeable. So being concerned about changing it isn’t really productive. But, RISCV looks promising and a good remedy to the issue of not knowing what it does.

FPGAs would be nice but they aren’t powerful enough yet.

But, at the same time, unless the silicon can make outside connections itself or modify behaviour (a la Intel ME), or has been updated with what is essentially software baked into it that can change it’s behaviour on the fly, I’d say it can be trusted to do the computing you tell it to do and nothing more (again, excluding those processors where we know that it doesn’t like those with the ME).

bizdelnick, (edited ) in Reminder to clear your ~/.cache folder every now and then

You don’t have to clean your ~/.cache every now and then. You have to figure out which program eats so much space there, ensure that it is not misconfigured and file a bugreport.

redd,
@redd@discuss.tchncs.de avatar

So OP’s headline should be saying instead: Reminder to CHECK your ~/.cache folder every now and then

cupcakezealot,
@cupcakezealot@lemmy.blahaj.zone avatar

just symlink ~/.cache to /dev/null

Amends1782,

Lmao some malicious ass advise here

KSPAtlas,
@KSPAtlas@sopuli.xyz avatar

Cache exists for a reason, that sounds like itd break programs, a safer method is probably having it be a ramdisk

qaz,
bizdelnick,

Check? Why?


<span style="color:#323232;">% du -sh ~/.cache
</span><span style="color:#323232;">1,6G    /home/bizdelnick/.cache
</span>

I don’t remember if I ever cleaned it up. Probably a couple years ago when I moved my old HDD to new PC with freshly installed OS. It does not grow accidentally. Only in some very rare cases. As well as some other dirs under ~ and var. If it is a critical system, set up monitoring of free filesystem space. If not, you will notice if it becomes full (I can’t remember when this happened to me last time, maybe ~15 years ago when some log file started to grow because of endless error messages).

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

Because some users experienced accidential grows like OP had 160 Gbyte. So general advice for linux users can be stated as: Check your ~/.cache every now and then

Critical systems/servers shall better be monitored as you suggest.

bizdelnick,

Some users experienced accidential growth of /var/log. Some users experienced accidential growth of /var/cache. Some users experienced accidential growth of /var/lib. Some users experienced accidential growth of ~/.xsession-errors. Shall I continue?

Does every user need to begin his day checking all that places? No, he does not. It is waste of time. Such situations are extremely rare. If you are paranoid, check df to see if you have enough free space, and only if it unpredictably shrinked begin to ivestigate which directory has grown.

redd,
@redd@discuss.tchncs.de avatar

I don’t get your point. Why should somebody do this every day?

As the experience from other users in this thread, it seems not extremely rare to have an overgrown ~/.cache/ folder. So checking it from time to time is a good advice. If we all do this for a time, and create bug tickets for software which is not cleaning up. Then this problem will hopefully go away with future software releases.

steventhedev, in Mosh: Like ssh, but better (e.g. local echo and persistent sessions across sleeps / network changes)

I worked with mosh for years to connect to servers on other continents. It was impossible to work otherwise. It only has two small warts: forwarding, and jump hosts.

The second is fixable/ish with an overlay network, but that isn’t always an option if you don’t control the network. I tried to solve this with socat but wasn’t able to configure it correctly - something about the socket reuse flag was very unhappy.

mozz, (edited )
@mozz@mbin.grits.dev avatar

Yeah. I spend a majority of my working time on a slightly-unreliable Wifi network, and getting irritated that my keystrokes are lagging by some seconds and making it hard to e.g., edit the line I'm editing, is a daily occurrence. I literally had never heard of mosh before today, and when I tried it it was like the heavens opened up.

steventhedev,

TCP was never designed with wifi in mind. TCP retransmission was only ever meant to handle drops due to congestion, not lossy links.

Tmux is a wonderful complement to mosh. Together you get persistence even when your local client loses power (speaking from experience)

mozz, (edited )
@mozz@mbin.grits.dev avatar

I still remember the professor in my networks class explaining how TCP worked, and then saying more or less:

Why doesn't it send a detailed mapping of which sections of the stream have been received and which haven't, allowing retransmission of only the dropped packets instead of what it does which is just backing up and blasting a whole new window's worth every time a single packet is dropped? Well, I don't know. It'd be a little more complex but the improvement in functionality would be so obviously worth it that it should. Don't know what to tell you. Anyway, this is how it works...

steventhedev,

TCP Selective Ack is very much a thing, but it does take extra memory so lots of TCP stacks exclude it or disable it by default.

BlanK0, (edited ) in Fedora, Arch, or EndeavourOS?

Fedora is indeed a pretty solid option its very stable and you are still up to date when it comes to packages.

One distro that I personally use and I’m going to shill is void. Its bleeding edge but its surprisingly stable. If you don’t mind reading documentation and researching similarly to arch you shouldn’t have a problem (since you are accustomed to endeavourOS).

Falcon,

I absolutely love void. Second to that I would say endeavour, it’s just arch with zfs, a wm and an installer.

If you’re interested in learning more try , I use oddlama’s installer. With binary packages, distrobox and flatpak, the small amount of compile time is a much smaller issue.

Alternatively, if you’re thinking about Fedora maybe play with Silverblue, it forces you to learn a bit of containerisation which is handy

BlanK0,

The oddlama installer looks interesting, I might personally check it out later 👍

LeFantome,

Is there an oddlama installer for Void? My least favourite thing about Void is the installer.

When I search for oddlama, all I find is Gentoo which seems to go better with your comment.

deezbutts, in Which terminal emulator do you use?

I’m high AF and new to Linux, what is a terminal emulator?

rufus,
@rufus@lemmy.sdf.org avatar

So the “terminal” is the basic CLI that you use in the single-user, text-based mode. Terminal emulators are graphical programs that run in multi-user, graphics-based mode, and they hook into the terminal and allow you to access it inside graphical sessions. Some examples would be alacritty, kitty, urxvt, konsole, or terminator

deezbutts,

Thanks for taking the time.

I’ve been using the literal terminal app like a caveman I guess… What do these weird apps give me over my regular terminal?

People mentioned tabs and stuff but like… I have tabs?

Jordan_U,

Every “terminal app” is a terminal emulator, because non-emulated terminals are physical pieces of hardware.

So you are already using a terminal emulator, I’d guess Gnome Terminal, and it’s a fairly full featured modern terminal emulator (in my opinion at least).

Blue_Morpho,

Thanks I actually thought this was about emulators like the Tektronics Vt 4052 terminal emulator I used to use.

al177,

That’s exactly what they are, but instead of connecting to a VAX at the other end of a modem they talk to a shell attached to a pseudo terminal device on the same machine.

doggle,

In overly simple terms

It’s a terminal app on your desktop, e.g. alacritty, konsole, kitty, terminator, urxvt, etc.

As opposed to the terminal that your computer would boot into it you didn’t have a desktop environment installed.

Blisterexe,

Basically just a more accurate way to say terminal

Jordan_U,

Fun fact!

Teletypes predate “computers” and were used for efficiently transmitting and recording text.

Here is a purely mechanical teletype from the 1930s being used to interface with a modern Linux machine:

youtu.be/2XLZ4Z8LpEE?si=BEsTAz5kkYu9tIQB

Corr,

This was a very cool video. Thank you for sharing!

Hjalamanger,
@Hjalamanger@feddit.nu avatar

And seemingly a nice YT channel :)

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