Skip Navigation
Jump
[Solved] Transparent page background without affecting content
  • Post the Hyprland config too?

    Does it make the entire screen green by chance, not just the windows? If the shader applies to the whole screen, then setting alpha on it doesn't really makes sense and is probably discarded since your monitor can't display transparency. You need to make sure it applies on a per-window basis for them to be composited as transparent and show your wallpaper behind it.

    2
  • Jump
    [Solved] Transparent page background without affecting content
  • You might be able to convince Firefox to be transparent with a GTK theme as Firefox uses GTK under the hood for the window. If you're lucky it won't bother clearing it with black just in case and it'll actually be transparent.

    The shader option is pretty neat and easy though.

    1
  • Jump
    Do people use Autotools in new projects anymore?
  • It's nicknamed the autohell tools for a reason.

    It's neat but most of its functionality is completely useless to most people. The autotools are so old I think they even predate Linux itself, so it's designed for portability between UNIXes of the time, so it checks the compiler's capabilities and supported features and tries to find paths. That also wildly predate package managers, so they were the official way to install things so there was also a need to make sure to check for dependencies, find dependencies, and all that stuff. Nowadays you might as well just want to write a PKGBUILD if you want to install it, or a Dockerfile. Just no need to check for 99% of the stuff the autotools check. Everything it checks for has probably been standard compiler features for at least the last decade, and the package manager can ensure you have the build dependencies present.

    Ultimately you eventually end up generating a Makefile via M4 macros through that whole process, so the Makefiles that get generated look as good as any other generated Makefiles from the likes of CMake and Meson. So you might as well just go for your hand written Makefile, and use a better tool when it's time to generate a Makefile.

    (If only c++ build systems caught up to Golang lol)

    At least it's not node_modules

    13
  • Jump
    What is the difference between Lemmy and Reddit from the average user standpoint?
  • I went for a federated option specifically so that it's resistant to one company going rogue like Reddit did with the API fiasco and the banning of every third party app that made Reddit great. That's really the killer feature, if you're tired of your admins you go to another instance. No need to protest and switch your subs to private, just move the whole community elsewhere.

    9
  • Jump
    Wireguard ping problem
  • Yeah, and you're pinging from server to client with no client connected. Ping from the client first to open the connection, or set keep alives on the client.

    4
  • Jump
    Wireguard ping problem
  • Your peer have no endpoint configured so the client needs to connect to the server first for it to know where the client is. Try from the client, and it'll work for a bit both ways.

    You'll want the persistent keepalive option on the client side to keep the tunnel alive.

    3
  • Jump
    How do I get the .mount files systemd generates at boot from fstab?
  • They should be in /run/systemd along the rest of generated units.

    7
  • Jump
    How would a credibility system work…
  • It's just not that good of a metric overall. Not just because it would be easy to fake it, but also because it would inevitably divide into tribes that unconditionally upvote eachother. See: politics in western countries.

    You can pile up a ton of reputation and still be an asshole and still get a ton of support from like-minded people.

    The best measure of someone's reputation is a quick glance and their post history.

    3
  • Jump
    for those worried about the impact of sanctions on linux, is any of the bsds a better alternative?
  • I think it is a circular problem.

    Another example that comes to mind: the sanctions on Huawei and whether Google would be considered to be supplying software because Android is open-source. At the very least any contributions from Huawei is unlikely to be accepted into AOSP. The EU is also becoming problematic with their whole software origin and quality certifications they're trying to impose.

    This leads to exactly what you said: national forks. In Huawei's case that's HarmonyOS.

    I think we need to get back to being anonymous online, as if you're anonymous nobody knows where you're from and your contributions should be based solely on its merit. The legal framework just isn't set up for an environment like the Internet that severely blurs the lines between borders and no clear "this company is supplying this company in the enemy country".

    Governments can't control it, and they really hate it.

    17
  • Jump
    for those worried about the impact of sanctions on linux, is any of the bsds a better alternative?
  • The problem isn't even where the software is officially based, it can become a problem for individual contributors too.

    PGP for example used to be problematic because US exports control on encryption used to forbid exporting systems capable of strong encryption because the US wanted to be able to break it when it's used by others. Sending the tarball of the PGP software by an american to the soviets at the time would have been considered treason against the US, let alone letting them contribute to it. Heck, sharing 3D printable gun models with a foreign country can probably be considered supplying weapons like they're real guns. So even if Linux was based in a more neutral country not subject to US sanctions, the sanctions would make it illegal to use or contribute to it anyway.

    As much as we'd love to believe in the FOSS utopia that transcends nationality, the reality is we all live in real countries with laws that restrict what we can do. Ultimately the Linux maintainers had to do what's best for the majority of the community, which mostly lives in NATO countries honoring the sanctions against Russia and China.

    28
  • Jump
    AI for torrenting?
  • No. It could repair some files to make them playable, maybe, by extrapolating sections before and after, like a couple seconds missing there and there in a movie, but all bets are off as to whether it'll guess right. I'm not aware of such tool existing.

    But if it's a zip file, there's no chance it can fix it. It's much different than AI upscaling, because you don't just need to find an answer that's close enough, you need the exact bits because even one value off could mean the gravity of the whole game is off, as an example. If some files are encrypted then all bets are off, as that would imply breaking encryption.

    Also I'd look at what's the missing data. Sometimes you can be stuck at 99% because the only seeder left didn't download a readme file or something but the whole content is there.

    7
  • Jump
    (solved for no reason) webcam stopped working after an Arch Linux update
  • The camera is straight up disconnecting from the USB bus. A bad driver could cause it to get confused and reset itself. And that would be the uvcvideo kernel module, userspace shouldn't be able to crash the camera.

    Since downgrading the kernel didn't help, and it also doesn't work on other distros, I'd consider the possibility your webcam just died.

    Are you able to make it work on any distro, or even Windows?

    6
  • Jump
    Did the recent Linux drama change your views on how you perceived Open Source projects?
  • Those kinds of problems aren't particularly new (PGP comes to mind as an example back when you couldn't export it out of the US), but it's a reminder that a lot of open-source comes from the US and Europe and is subject to western nation's will. The US is also apparently thinks China is "stealing" RISC-V.

    To me that goes against the spirit of open-source, where where you come from and who you are shouldn't matter, because the code is by the people for the people and no money is exchanged. It's already out there in the open, it's not like it will stop the enemy from using the code. What's also silly about this is if the those people were contributing anonymously under a fake or generic name, nothing would have happened.

    The Internet got ruined when Facebook normalized/enforced using your real identity online.

    45
  • Jump
    I just found out there's an alternative for the EA app called 'maxima' (similar to Legendary for Epic Games). It would be great if this could be implemented in Heroic Games Launcher
  • There's some value in having open-source clients to proprietary services. Of course ideally one would avoid using them, but since many are stuck with games they already purchased and the launcher was bolted on later in an update, it makes sense.

    At the very least it probably doesn't implement a lot of the telemetry, and it doesn't require you to figure out how to make the launcher work under Proton, only the game.

    Less proprietary is better than nothing.

    10
  • Jump
    Why do I need a different login for lemmy.one?
  • The logins aren't federated, the content is. Each instance receives a copy of everything, and normally you browse other instance's content from your home instance. In your case you'd access lemmy.one's content from your home instance, lemmy.world. If the logins were federated we wouldn't need those domains after our usernames!

    The email analogy still works for this: if you're on Gmail, you don't go log in to Outlook to send an email to your friend: from gmail directly, you send an email to your friend and Gmail's server takes care of sending it out to Outlook.

    There's browser extensions to help go back to your home instance, as the linking on Lemmy is sometimes a bit weird and you do end up on other instances every now and then.

    29
  • Jump
    Why do I need a different login for lemmy.one?
  • Which usually you can just paste the URL in your home instance's search to get it

    16
  • Jump
    Store making me feel like an outcast because of privacy concerns
  • Everyone's approaching this from the privacy aspect, but the real reason isn't that the cashier thought you were weird, they're just underpaid and under a lot of pressure from management to try multiple times and in some cases they even get written up for not doing it because it's deemed part of their job. They hate it just as much as you. Same when you try to cancel your cable subscription or whatever: the calls are recorded and their performance is monitored and they make damn sure they try at least 3 times to upsell you, even when it's painfully obvious you're done with them.

    Just politely decline until they asked however many times they're required to ask and move on.

    34
  • Jump
    Is capitalism the problem or is it neopotism (cronyism) invalidating the meritocracy?
  • There's way too many software engineers and a constant shortage of doctors, at least in Canada.

    15
  • Jump
    Is capitalism the problem or is it neopotism (cronyism) invalidating the meritocracy?
  • I earn more than most medical doctors in my home country. They save lives, while I write software that could disappear tomorrow and no chaos would ensue. But I do earn my employers more money than the doctor does.

    The only world in which this is right is a world where you only care about yourself and being rich. Meritocracy is inherently subjective and depends largely of what you value to give people merit, and in a lot of cases that's "we fucked over two dozen tiny companies with patent troll lawsuits and made millions".

    21
  • Jump
    Docker firewall question
  • With Docker, the internal network is just a bridge interface. The reason most firewall rules don't apply is a combination of:

    • Containers have their own namespace including network namespace, so each container have a blank iptables just for them.
    • For container communication, that goes through the FORWARD table, not the INPUT/OUTPUT ones.
    • Docker adds its own rules to ensure that this works as expected.

    The only thing that should be affected by the host firewall is the proxy service Docker uses to listen on a port on the host and send it to the container.

    When using Docker, each container acts like an independent machine, and your host gets configured to act as a router. You can firewall Docker containers, the rules just need to be in the right place to work.

    11
  • Testing, I broke the database so bad my posts were federating out but not saving on my local instance, fun stuff

    4

    Neat little thing I just noticed, might be known but I never head of it before: apparently, a Wayland window can vsync to at least 3 monitors with different refresh rates at the same time.

    I have 3 monitors, at 60 Hz, 144 Hz, and 60 Hz from left to right. I was using glxgears to test something, and noticed when I put the window between the monitors, it'll sync to a weird refresh rate of about 193 fps. I stretched it to span all 3 monitors, and it locked at about 243 fps. It seems to oscillate between 242.5 and 243.5 gradually back and forth. So apparently, it's mixing the vsync signals together and ensuring every monitor's got a fresh frame while sharing frames when the vsyncs line up.

    I knew Wayland was big on "every frame is perfect", but I didn't expect that to work even across 3 monitors at once! We've come a long, long way in the graphics stack. I expected it to sync to the 144Hz monitor and just tear or hiccup on the other ones.

    11

    All the protections in software, what an amazing idea!

    0

    It only shows "view all comments", so you can't see the full context of the comment tree.

    2

    The current behaviour is correct, as the remote instance is the canonical source, but being able to copy/share a link to your home instance would be nice as well.

    Use case: maybe the comment is coming from an instance that is down, or one that you don't necessarily want to link to.

    If the user has more than one account, being able to select which would be nice as well, so maybe a submenu or per account or a global setting.

    0