jokeyrhyme

joined 4 years ago
[–] jokeyrhyme@lemmy.ml 18 points 3 months ago (9 children)

Can I ignore flatpak indefinitely?

Sure, at least until software you want to use is flatpak only, e.g. Bottles

[–] jokeyrhyme@lemmy.ml 2 points 5 months ago (1 children)

Okay, let's go with xterm running bash, where the user ran ls, so xterm -> bash -> ls ...

  • ls never talks to xterm directly, it's stdout/stderr are provided by bash
  • bash effectively outputs a grid of characters to xterm, xterm doesn't know about prompts or words or line feeds, just the grid
  • every time ls outputs a line, bash adds a row of output to the grid that it sends to xterm
  • if there's not enough space for a new row, bash discards the top-most row, moves all other rows up by one row, and then inserts the row for the ls output

Now imagine a hypothetical fork of bash or some other new shell ...

  • the only thing different is the direction that the rows move off the edge of the screen when running out of space, that's all

Thus, this is entirely a shell problem, with a shell solution

However, what I've neglected to mention so far is that terminal emulators and shells are almost certainly optimised for rows dropping off the top edge and new rows being added to the bottom edge

So, the role of a terminal emulator in this scenario could be to provide ANSI control characters or other protocol for operating just as quickly in the opposite direction, sure

[–] jokeyrhyme@lemmy.ml 2 points 5 months ago

There's also https://www.waveterm.dev/ which seems to be an open-source attempt at something sort of like Warp/Jupyter

I don't mind that it uses the web stack for rendering, but that'll probably turn some folks off

[–] jokeyrhyme@lemmy.ml 4 points 5 months ago (3 children)

Seems like a shell feature, and not a feature that a terminal emulator would implement

[–] jokeyrhyme@lemmy.ml 2 points 9 months ago (1 children)

One example I can think of is Widevine DRM, which is owned by Google and is closed source: https://en.wikipedia.org/wiki/Widevine

Google currently allows Mozilla (and others) to distribute this within Firefox, allowing Netflix, Disney+, and various other video streaming services to work within Firefox without any technical work performed by the user

I don't believe Google would ever willingly take this away from Mozilla, but it's entirely possible that the movie and music industries pressure Google to reduce access to Widevine (the same way they pressured Netflix into adopting DRM)

[–] jokeyrhyme@lemmy.ml 1 points 1 year ago

I did actually do this already, separate from working on this issue, but can confirm the intermittent problems with the combination of wpa_supplicant and systemd-networkd

 

My desktop PC is the only machine in the house having Wi-Fi connectivity issues (connects fine, but drops out randomly after a few minutes or sometimes a few hours)

I think wpa_supplicant is getting confused and thinks signal strength is poor (I have a Netgear mesh, but this seems increasingly common, so it's weird for that to be the issue)

I did pick up a TP-Link USB Wi-Fi adapter, but can reproduce the same connectivity issues

The fix was switching away from wpa_supplicant in favour of iwd, which seems rock solid in comparison

I'm sure there's a way to fix wpa_supplicant, but it's man pages only seem to list the options without actually describing what they do, which seems sort of poor considering how old the project is 🤷

[–] jokeyrhyme@lemmy.ml 1 points 1 year ago (1 children)

I'm not an expert, but my understanding of the Global Shortcuts portal is that it's very much designed for the push-to-talk use case where an app is not focused but still receives button events for exactly the keys its interested in and no other keys: I think this would cause problems if an app requested every key (e.g. if the request was approved then no keys would work in every other app)

It'll be interesting to see how the remaining compatibility/accessibility issues are tackled, either in portals or in wayland protocols

[–] jokeyrhyme@lemmy.ml 12 points 1 year ago (4 children)

There's a portal for Global Shortcuts: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.GlobalShortcuts.html

KDE and Hyprland already implement it, and COSMIC seems likely to

On the app side, if we can get the major toolkits to adopt it, then hopefully that covers most actively-maintained apps (but it's unlikely to cover legacy apps): https://github.com/electron/electron/issues/38288

[–] jokeyrhyme@lemmy.ml 5 points 1 year ago

Gosh, I'm so fascinated by the concept of removing/hiding the tabs implementation from every app and relying 100% on the window manager to provide this