linux

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

turkalino, in how do i efficiently attach audio to an image
@turkalino@lemmy.yachts avatar

Are you sure your rendering settings are correct? It sounds like the video isn’t being encoded at all. Video encoding works by storing a frame in full quality every couple seconds or so. For the rest of the frames, only their differences from the previous full-quality frame are stored. But from what you describe, it sounds like the latter sentence isn’t happening

jackpot,
@jackpot@lemmy.ml avatar

oh i didnt think this is how it worked, i ended up using ffmpeg to make a one frame a second video but it still looks blurry??

pelya, (edited ) in Is anyone using awk?

Grep is fiiiiine.

sed is okay but a little nasty, when your sed script is longer that one search-replace command you gotta ask yourself what you’re doing really (yes, sed is a full-featured Turing-complete programming language, if you go far enough into the man page).

When I see awk in any stackoverflow recipe, I just say ‘fuck it’ and rewrite the whole thing in Python. Python is included into the minimal system image in Debian, the same as awk, but is way less esoteric, and you can do python -e ‘import os, sys; commands;’ for a one-liner console script.

And if you want to talk about portability, try writing scripts for Android 4.4 ash shell. There’s no [ ] command. You do switch/case to compare strings.

netwren,

Have you tried ripgrep?

pelya,

No, and I don’t think I will learn another tool for something that I can already do using grep/sed/find commands, which I know by heart.

netwren,

That’s fair

wviana, in Terminal Utility Mega list!

Fpr tldr I do prefer tealdeer (rust) instead of the node implementation in the post

For tmux there are screen that is simpler, I mostly use in server. In my local I like to use zellij, that is a tmux like implemented in rust.

Don’t miss ripgrep. Really awesome/fast replacement for grep.

bananabattery,

I gave up on these tools for:

curl cheat.sh/fd

Replace fd with any command.

jasondj, in Best daily use Tips for Desktop Linux, that make life easier but are not well known?

That’s great and all…but Alt-Drag is missing.

I’ve honestly been using Linux on and off for nearly 25 years, and daily the past 6 or so…and somehow just found out about this, and now my life is changed.

cyanarchy,

So what the hell is alt drag?

jasondj,

Many WMs allow for moving a window by holding alt, left-clicking anywhere in the window, and dragging it to move, by default.

Some use Super+Drag. They usually also have resizing the window by right-click-dragging.

jws_shadotak, in how do i efficiently attach audio to an image

Are you able to add it through the file properties menu?

jackpot, (edited )
@jackpot@lemmy.ml avatar

probably? would that be able to be sent to people / uploaded? how do i do this? linux mint btw

cobra89, in Gentoo goes Binary (packages)

Isn’t the reason everyone says they use Gentoo is because of “all the optimisations” but if you’re not compiling for your specific hardware doesn’t that go out the window?

anothermember,

I’m also wondering who this is actually for. There’s no shortage of binary distributions, I thought Gentoo’s whole use case was if you want to compile everything.

TheEntity,

I can see it working if one wants to customize the compilation flags of a few packages they have strong opinions on, but otherwise don't care about the rest of the system. Sort of like the binary cache in NixOS, where by default you use the binary cache, but you can customize parts of your system triggering a source-based installation for that parts.

TheEntity,

If someone claims to do it for "all the optimizations", you can immediately assume they are full of shit. If anything, the true gain is the control over the features to compile or not compile into your packages.

Joker,

Not necessarily. You probably want to optimize the kernel and a few packages. Then there are some apps where you want to build them with specific features. Then there’s a bunch of stuff that takes forever to build where a binary would be convenient. Flags and optimizations aren’t that important for KDE frameworks or Firefox.

Offering binaries is a really nice middle ground. Gentoo makes it so easy to build custom packages from source but it’s always been all or nothing. I don’t want to wait 2-3 hours building updated libraries or Firefox every time there’s a patch.

Personally, I would be interested in a distro that had binary packages, easy builds like Gentoo and something like Arch’s AUR.

possiblylinux127, in What is the point of dbus?

Its so that your system can hold passengers

bus

maryjayjay,

*can hold dpassengers

norgur,
@norgur@discuss.tchncs.de avatar

Get into de bus?

GustavoM, in Does Wayland really break everything? (Nate Graham's OG post ref'd in the Phoronix article)
@GustavoM@lemmy.world avatar

Been using Wayland since 3’ish years ago and my desktop experience has been really smooth – no crashes, errors or anything of the sort. Everything “just werks” just as if I were on Xorg instead. Even on a completely obscure/zero linux support single board computer (Orange pi zero 3).

cogman,

Graphics drivers are what matters. Your orange pi uses a mali GPU which is well supported by Linux (thanks ARM).

nVidia is just barely at the point where their most recent gpu drivers aren’t terrible under Wayland. It’s taken a while to get there.

GPUs with good open source drivers will fare fine.

umbrella,
@umbrella@lemmy.ml avatar

maxwell users are fucked tho

cogman,

Not as bad as you might think. The nouveau drivers have come a long way for maxwell. You should give it a shot if you haven’t. But, unfortunately, if you are using anything new then nouveau sucks. It’s a fun game where you get to wait until nvidia no longer wants to support your GPU and hope by that point that nouveau has progressed far enough that you won’t be looking at noman’s land.

umbrella, (edited )
@umbrella@lemmy.ml avatar

I meant the GTX900 series. I’m aware the 700s have decent support in nouveau, but the 900s has already been dropped by nvidia so we are on older drivers not capable of the latest vulkan extensions required by modern Proton.

For nouveau it needs GSP firmware that wasnt released as part of that release they did a while ago. I think pascal users are on the same situation, they just havent been dropped by the proprietary drivers yet. I wonder if we are gonna be stuck on xorg forever.

The newer cards got the important bits released by nvidia so the community can at least have a path forward…

cogman,

I wasn’t fully aware of NVK and where it’s at. It’s actually pretty exciting. I wouldn’t mind dropping my current nvidia binary blob for fully open source drivers.

umbrella,
@umbrella@lemmy.ml avatar

it didnt work ootb for me on ubuntu so i dropped it, but i hear it can already be made to work well with the desktop and basic stuff. performance in games is still bad but they are running.

cevn,

It still sucks for me at least. Doesnt respect scaling, or work after suspend, also discord streaming still broken for years. Also push to talk.

Chewy7324,

I’ve switched away from Xorg a few years ago because of its terrible multi monitor support and bad experiences with picom. Sway and now hyprland are imo a better tiling wm experience then their Xorg equivalent.

rizoid, in Bluetooth problems on my Surface Go 1 running Fedora 39
@rizoid@lemmy.dbzer0.com avatar

I’m not familiar with any differences the surface go might have from other surfaces I have used but the surface kernel has always fixed every issue I have had with them. I currently use a surface laptop 4 and I can’t even use Bluetooth without the surface kernel. As far as breaking the install goes, the instructions for installation and switching are truly as simple as copy and pasting 5 or 6 terminal commands. I really would recommend the surface kernel before any other fixes.

Dariusmiles2123,

Okay thanks for the answer. I guess I’ll try it and come back here if it doesn’t work.

Just a question, is the surface kernel auto updating?

rizoid,
@rizoid@lemmy.dbzer0.com avatar

It should update whenever you run a dnf update in the terminal

Dariusmiles2123,

Sorry to annoy you but it means it’s not gonna update when I update the distro via the graphical interface?

rizoid,
@rizoid@lemmy.dbzer0.com avatar

Not to my knowledge but every desktop environment has a different software diwnloader. For me it doesnt update through Discover on KDE.

Dariusmiles2123, (edited )

Thanks a lot. I’ve now installed the surface kernel. Sadly it still takes a long time for my mouse to be recognized.

That’s not necessarly a problem if it got rid of the disconnection problem at least.

floofloof, in Terminal Utility Mega list!

htop is nice but btop is best top.

mvirts,

Spins forever

Steamymoomilk,

btop is very neat! Thanks for the addition to the list!

ultra, in Terminal Utility Mega list!

FYI, browsh is more than just an old school terminal web browser (that would be lynx). It’s actually full firefox (or chromium IIRC), adapted to run in a terminal

Steamymoomilk,

Thanks for the correction, I have fixed it!

lemmy_user_838586, in Terminal Utility Mega list!

steamymoomilk, any relation to chunkyhairball?

lemmy.ml/post/7023770

Steamymoomilk,

I came across that earlier, and it has some neat utilities, however I wanted to make a mega list as it was missing some of my favorite utillitys . It is very interesting though,

rotopenguin, (edited ) in Videos stuttering across all applications
@rotopenguin@infosec.pub avatar

deleted_by_author

  • Loading...
  • library_napper,
    @library_napper@monyet.cc avatar

    What does that mean?

    rotopenguin,
    @rotopenguin@infosec.pub avatar

    Ugh, I meant to say gamemode. As in Feral gamemode.

    avidamoeba, in What is the point of dbus?
    @avidamoeba@lemmy.ca avatar

    Some heavy schooling happening in this thread. Glad to see it. Learning is a good thing. 🙌

    teawrecks,

    I’m learning a lot, so I’m not a fan of the people flaming and downvoting OP for having genuine confusion. I want us to incentivize more posts like this.

    LemmyHead,

    Same here. I’ve always wondered what dbus actually was and I’m glad OP asked

    cerement, in Does Wayland really break everything? (Nate Graham's OG post ref'd in the Phoronix article)
    @cerement@slrpnk.net avatar

    “not everything is fully ported yet”

    “There will probably be an awkward period before all of these pieces are in place for all of the people.”

    I think these are the two key takeaways – Wayland is still in development and the bandwagoning are the early adopters – most of us will switch when our distros switch (and will probably be none the wiser)

    the problems (and the reason we’re suffering through sensationalist stuff like “Wayland breaks everything!”) is the fanboy push to switch before it’s ready – not everybody lives on the bleeding edge (just like not everyone runs Arch) and the “switch now or be left behind” attitude does more harm than good (far more likely to alienate than convert) …

    kingmongoose7877,
    @kingmongoose7877@lemmy.ml avatar

    Wayland is still in development and the bandwagoning are the early adopters

    Not to bust your chops but I’m not sure what you’re implying. What isn’t still in development? WordStar? X11? Mac System 7? And Wayland’s initial release was 2008. That’s 15 years ago. Who are these “early adopters” of which you speak anymore?

    WarmApplePieShrek,

    The things you think aren’t finished because it’s still in development are actually not finished because they’re just the way the developers want.

    kbal,
    @kbal@fedia.io avatar

    Many of those things you're thinking of were declared Somebody Else's Problem by said developers. That's fine, but Wayland was not ready for use by normal end users until somebody else did finish them.

    From what I hear most of them actually are finished by now, but they weren't as of a couple years ago when it started becoming commonplace to see declarations that the time to switch to Wayland was Right Now. I tried it out then, and am as a result much less enthusiastic about doing it again now even though it'd be much more likely to go well.

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