linux

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

jacktherippah, in Could 2024 be the year of the diagonal linux desktop?

Hell

Truck_kun, in I've started building a TUI for Lemmy

I would not recommend working on two GUI’s at once, but if you build it in a way you can use different frameworks for it, the maker of Rich also makes a nice TUI framework API called Textual.

Here’s some projects made with it for a sample of what it’s usage can look like: https://www.textualize.io/projects/

I believe it does not use curses at all.

umbrella, in Gentoo goes Binary (packages)
@umbrella@lemmy.ml avatar

that makes it usable! might give it a try.

heartsofwar, (edited ) in Xclip is not talking to the system clipboard (Klipper)

KDE plasma runs Wayland; therefore, you need wl-clipboard (wl-copy) not xclip which is for X11

Hammerheart,

Thankyou!

Cysioland,
@Cysioland@lemmygrad.ml avatar

Oddly enough, on Wayland GNOME I can use xclip just fine

TrivialBetaState, in Does Wayland really break everything? (Nate Graham's OG post ref'd in the Phoronix article)

I have been using wayland on kde the last two years on Debian and MX Linux with zero issues. My general usa includes coding, music production, Libre office and web browsing. So, no much gaming, if that is your concern.

pendulous, in Videos stuttering across all applications

I had this happen with multiple programs for a while, and I found out that my computer had changed the cpu governor from “perfomance” to “power save”

Lars,

My cpupower profile was set to power save. I just switched it to performance and will give it some time

Lars,

Issue still occured

haroldstork,

This was exactly what caused the problem for me too.

just_another_person, (edited ) in Videos stuttering across all applications

There are still a number of clock sync issues with the Zen4 chips. I’ve had issues on 6.4/5/6 with similar sounding audio/video that I’ve been able to somewhat mitigate by getting my amd_pstate settings to stop competing with other power tuning tools. Turn off EVERYTHING you have running dealing with cpufreq management, and just let the kernel amd_pstate do it’s thing. No TLP, no desktop tuning tools, just the upstate.

Also, double check that your memory frequencies aren’t bouncing all over the place, and consider under locking in the BIOS to exactly match the channel freq for CPU/mem.

See if that helps.

Lars,

I believe the only power tuning I had was cpupower. I just stopped it and will give it some time. Do you know a tool that’ll graph out my memory frequency? My memory seems pretty stable at 4800 MHz but I’ll watch it with “watch lshw -short -C memory”

Lars,

Issue still occured. Didn’t see my memory fluctuating either

GenBlob, in Gentoo goes Binary (packages)

This is what Gentoo needed. I’ve been using it for a long time and love it as it is but sometimes when there’s a bunch of slot conflicts or a compile error it makes me wish I just dealt with binaries instead. Now that we have the best of both worlds, it will make Gentoo appeal to a wider userbase and make it less painful to use on older hardware.

FigMcLargeHuge, in Is anyone using awk?

I use awk constantly at work. Very useful in my opinion, and really powerful if you dig into it.

picandocodigo, in Is anyone using awk?
@picandocodigo@lemmy.world avatar

I learned awk when I was studying and I still use it every now and then. It’s one of those tools that come in really handy at times. I work in Ruby, but there’s still times when scripting or just wanting to process some text when I end up using awk because it makes sense.

RizzRustbolt, in Could 2024 be the year of the diagonal linux desktop?

I want to stack 3 like that and be all kewl cyb3r-h4ckz0rz.

FuckBigTech347, in I'm looking for a command that is similar to cpupower, but for gpu (or even both -- gpupower?systempower?)
@FuckBigTech347@lemmygrad.ml avatar
Lydia_K, in Is anyone using awk?
@Lydia_K@startrek.website avatar

I use awk all the time, nothing too fancy, but when you need to pull out elements of text it’s usually way easier than using cut.

awk {’ print $3 ‘} will pull the third element based on your IFS variable (internal field separater, default is whitespace)

awk {’ print $NF ‘} gets you the last element, and awk {’ print $(NF-1) '} gets you one element from the last, and so on.

Basic usage but so fast and easy for so many everyday command line things.

FigMcLargeHuge,

You can also add to the output. I use it frequently to pull a list of files, etc, from another file, and then do something like generate another script from that output. This is a weak example, but one I can think of off my head. Not firing up my work laptop to search for better examples until after the holidays. LOL.

awk {‘print "ls -l "$1’}

And then send that to a file that I can then execute.

Reddfugee42, in Could 2024 be the year of the diagonal linux desktop?

Thank God for betteridge’s law of headlines

FaceButt9000, in Is anyone using awk?

I use it multiple times a day. I only know basic usage, but it’s super useful as part of an awk/grep/sort/uniq pipeline, basically just extracting a field to work on.

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