linux

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

SpaceNoodle, in find, grep, sed, and awk

I’ve only ever found a use for sed once two decades into my career, and that was to work around a bug due to misuse of BigInt for some hash calculations in a Java component; awk remains unused. Bash builtins cover almost everything for which I find those are typically used.

find and grep see heavy daily use.

palordrolap,

If you're using find all the time, check to see if you have or can have some variant of locate installed. It indexes everything* on the system (* this is configurable) and can be queried with partial pathnames, even with regex, and it's fast.

SpaceNoodle,

I use locate when I don’t know where the files are. Find has finer controls and can differentiate between regular files, links, directories, etc.

bizdelnick,

sed is not for daily use, it is for reusable scripts. For other purposes interactive editors are more convinient.

aarroyoc, in find, grep, sed, and awk
@aarroyoc@lemuria.es avatar

I always found “find” very confusing. Currently, I’m using “fd”, which I think has a more sensible UX

baseless_discourse, (edited ) in Applications to reduce mouse usage

Cannot find a software with more appropriate name than this! Mouseless, it works flawlessly on both xorg and wayland.

Even if you dont need to replace your mouse (like me), it works great as a key mapper, much more fluid than AutoHotKey on Windows.

0xtero, in Need some help with a Kali linux

Yea, I know its the edgy kid distro

Huh?

GearToward,
@GearToward@lemmy.world avatar

Cuz it’s known for hacker manz software on it and kid hackerz install it to look cool

0xtero,

I see, I was wondering why a IT-Security workers were suddenly being called edgy kids. lol.

weketi6945, in A response to the "Boycott Wayland" article

hurr durr its le x11 only application

Then why is this piece of shit called x11’s successor or even x12? Why do you want to force adoption of this 2 decade long unfinished beta software when it can’t even run most applications?

weketi6945,

Also, the red hat moderators have banned my previous account as expected. They are literally moderating many forums like reddit’s linux subreddit and this place, and enforce censorship. They banned my account for posting the github gist posted in the OP. I didn’t even break any rules, they indiscriminately banned me just because i posted one post portraying wayland in a negative light.

theshatterstone54,

Because it is the replacement for Xorg and X11 as a whole. This is like expecting all Unix applications to work on Linux. No, some things need to be ported or rewritten. I don’t want to force adoption of Wayland. Heck, I’m on Xorg because Qtile’s Wayland session is missing a thing or two I need (they’re in development but not there yet). I’m just tired of people pretending this article is accurate and up to date so I wanted to set some things clear. Granted, I didn’t do it that well, but I tried.

Also, whoever calls Wayland X12 is lying to themselves and everyone else. The only way in which such naming would make sense is if you consider the fact that the X11 maintainers (pretty much all of them RedHat employees) were sick and tired of maintaining it, so they started Wayland to replace X11 (NOT as a drop in replacement, mind you). So the only way such naming wpuld make sense is if you consoder the fact that Wayland developers and maintainers were the same people that were maintaining Xorg until they just gave up.

lukas, (edited )
@lukas@lemmy.haigner.me avatar

Some people including myself call Wayland X12 because Wayland is a subset of the X12 protocol made by the X11 maintainers, and as such is as close to an X11 successor as you can get.

bluGill,

Because the people who developed X11 (that is Xorg) haven declared that. Maybe they should have named it X12, but they didn't for whatever reason. However the people doing the work have already given up on working on X11 they gave up on X11 beyond the bare minimum almost 10 years ago because some real issues with X11 as a protocol are not fixable.

There were other attempts to a successor to X11, but they never got the support of people doing the work on X11 (in part because they didn't understand the problem with X11 and so kept many bad things while 'fixing' things that were not broken)

Which is to say: you have two choices: get involved with continuing X11 development, or jump to Wayland. Throw a couple million $$$ per year at X11 (either pay developers, or convince a dozen developers to maintain X11) and I'll retract my statement, until then X11 is dead. If you cannot do that then Wayland is your only option.

OsrsNeedsF2P, (edited ) in Can someone ELI5 why some apps need to support X11/wayland?

In the case of Waydroid, it depends on features only available in Wayland; simple as that.

There are some applications (like autoclickers) that depend on features only available in X, as well (mainly because they directly ask X to do something)

safefel556, in Firefox Is Going To Try And Ship With Wayland Enabled By Default
AProfessional,

deleted_by_author

  • Loading...
  • safefel556,

    concise list of criticisms
    “ramblings”

    This is why wheyland is destined to fail. The fact that criticisms can be dismissed as ramblings explains a lot of things.

    danielton,

    This is a rambling of how Wayland supposedly forces everybody to use GNOME, which is BS.

    The rant even includes an admission that the author didn’t even know what Wayland was when it was written.

    RTRedreovic,

    Judging by post & history. They are just a troll. As for this article. I don’t understand why anyone bothers sharing it. It is one of the most hot garbage ones I have seen. Most of this article gives arguments that are either old, have no relevance here or are just plainly cherrypicked (the jitsi one for example, open the link and see the last comment, that they quoted). Most things are also application side issue with no relevance for wayland devs. “Oh my app does not work in wayland? Must be wayland’s fault!” This is a rubbish logicless argument. If one wants to not use Wayland, they are welcome. But things like “Boycott Wayland” are irritating to those who do want to use Wayland because they know how Xorg is.

    Lojcs,

    Oh my app does not work in wayland? Must be wayland’s fault!

    Aka Python 3 isn’t Turing complete

    danielton,

    Please add more examples to the list.

    How about an example of Wayland forcing me to use GNOME like this rant alleges? I hate GNOME but have been using KDE with Wayland for like two years now.

    Flaky,
    @Flaky@iusearchlinux.fyi avatar

    Same. Not to mention that there’s window managers in development if people prefer that. Some examples I know include Sway for those who want something like i3, Wayfire for those who miss Compiz and Hyprland for a more polished tiled experience. Hyprland in particular I’d recommend as I’ve personally had no luck with X.org compositors like Picom - didn’t work with my GPU.

    redcalcium,

    The one that bother me the most about Wayland is the future of *BSD desktop. Can you run Wayland on NetBSD/FreeBSD yet? Also, currently you can run x server on Mac so you can run X11 apps remotely for example. Is there any attempt to make waypipe work on MacOS?

    Audacity9961,

    Yes, FreeBSD already allows running Wayland. On my FreeBSD box, I have run it just fine.

    OpenBSD are also working towards it.

    I’m not sure about NetBSD.

    Audacity9961,

    FreeBSD runs Wayland just fine. I run it on one of my boxes.

    OpenBSD is also working on Wayland support.

    NetBSD I’m unsure of, as their development pace is quite slow.

    theshatterstone54,

    Literally just posted a response to this article: feddit.uk/post/4608014

    cypherpunks,
    @cypherpunks@lemmy.ml avatar

    it’s weird how this gist was updated 3 hours ago but still contains lots of claims that haven’t been accurate for years

    leo,
    @leo@lemmy.linuxuserspace.show avatar

    Seems they need some updates. OBS, Zoom and Xfce are all happy to work toward Wayland, and OBS/Zoom both work pretty well on it, so 🤷

    And no telling what else has changed since; checks notes; 2016?

    Lulzagna,

    Obs works fine for me, what’s the issue,?

    eager_eagle,
    @eager_eagle@lemmy.world avatar

    last i checked (a week ago) screen capture in OBS wasn’t working on Wayland KDE

    PainInTheAES,

    It’s been working for a while unless I’m misunderstanding what you mean by screen capture. But I’ve been using OBS on KDE Wayland capturing via portals for months now with issues.

    Ineocla,

    It works. You simply need the kde portal and pipewire installed

    zurohki,

    I just tried it. Create a “Screen capture (PipeWire)” source, there’s a popup asking you to pick a display or “Full Workspace” which shares everything.

    leo,
    @leo@lemmy.linuxuserspace.show avatar

    There really isn’t one. Wayland is maturing and app support is following.

    This is the way things always go in open source. I’m betting soon there will be a distro that will announce a never Wayland stance just like Devuan prior.

    drwankingstein, (edited ) in Question about RMM remote support on Wayland.

    this is probably actually the fault of wayland and it’s fragmentation issue. Various wayland compositors have different methods of interacting with them and this includes remote/virtual input. Because of this fragmentation a lot of developers have just started to kinda give up, on wayland.

    for this one specifically, I would assume any virtual input would work? there are a couple possible routes forwards, the easiest is probably using XDG’s RemoteDesktop. However not every compositor implements this, Sway will be getting it soon (or already has it using luminous). There are also numerous compositors that don’t support this.

    you have wlr-virtual-{pointer,keyboard} which works on sway and mir, and thats it. I believe there was a compositor that could do this over dbus too?

    the reality of wayland is, if it’s not in the core protocol, you aren’t guranteed to have support, and if it is in the core protocol, you still arent guranteed to have support, but the chances are better

    TxTechnician,

    Awesome, thanks for the info.

    TxTechnician,

    So, it turns out that my RMM is working fine under Wayland. Level got back with me because they couldn’t reproduce the problem. So I tried to reproduce the problem. Only to find it is working just fine. Whatever was causing that problem, I have no idea. But it’s gone.

    drwankingstein,

    interesting, do you know what they were using for input? if they have an encompassing solution that could be great. if they just use xdg remotedesktop, well thats about what I have now anyways T.T

    TxTechnician,

    No clue. But they are a pretty solid company. Small, responsive, and inexpensive.

    Each pc costs $1/month, Min $20/month.

    They have only terminal and file browsing for Linux now. But gui interface is on the road map.

    Hope they get that soon.

    drwankingstein,

    interesting ill have to look into it

    penquin, in Today I discovered Garuda's BTRFS assistant and it's a total game changer.

    Is there a difference between this and timshift/timeshift autosnap/grub-btrfs?

    Holzkohlen,

    Timeshift forces you to use a very specific layout of btrfs partitions or whatever those are called. On Fedora.for instance, unless you set them up manually, Timeshift will not work. Snapper isn’t so picky.

    penquin,

    I never had to set it up. I use endeavour OS and all I did was choose “btrfs” in the installer. That’s it. I just installed timeshift after that and ran it like normal. No issues. Installed auto snap and grub-btrfs and I’m in the races.

    Unkend, in State of the Nvidia open source driver in late 2023?

    1 to 2 years is what the Nouveau Dev’s said, if you want a Driver that just works.

    Audacity9961,

    Even then it is 200 series and up. 100 and back through to 900 will still not just work at this stage.

    ElectroLisa, in Copy this code and paste it in the CLI. And no, it's not a forkbomb.
    @ElectroLisa@lemmy.blahaj.zone avatar

    Ye run this script which uses GCC and launches compiled result, what could possibly go wrong

    kadu, (edited ) in gamescope through the heroic launcher is WAY better than steam
    @kadu@lemmy.world avatar

    GameScope is mostly targeted towards the Steam Deck, where it works perfectly fine natively.

    cerement, (edited ) in Reading .mcn files?
    @cerement@slrpnk.net avatar
    • hexdump comes stock with most distros, no editing features, but hexdump -C filename will at least let you see what’s in the file
    • from control characters and control codes, it looks like everything is separated by a set of three NUL characters (`
    safefel556, in Today I discovered Garuda's BTRFS assistant and it's a total game changer.

    Good morning sirs

    hyperspace, in gamescope through the heroic launcher is WAY better than steam
    @hyperspace@kbin.social avatar

    But Heroic doesn't launch Steam games, right? Or did they change that recently?

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