cross-posted from: https://lemmy.zip/post/26986197

Wayland and audio is fixed, but only on the canary branch for the moment, this isnt lazy either, they changed the whole screenshare flow to suit linux’s permission prompts

  • @[email protected]OP
    link
    fedilink
    651 month ago

    Note that the flathub version has not yet been updated. The version with the screenshare is 0.0.79.

  • @sixdripb
    link
    30
    edit-2
    1 month ago

    people on reddit are saying audio-sharing is still broken for every app that utilizes the pipewire audio API directly

  • @raspberriesareyummy
    link
    281 month ago

    Fuck discord. Proprietary spyware. That shit isn’t getting on my computer anytime ever.

        • Communist
          link
          fedilink
          English
          7
          edit-2
          29 days ago

          tbh if you’re on linux there’s kind of an easy workaround

          pactl load-module module-combine-sink sink_name='Stream' slaves='easyeffects_sink'

          ^^ I have this aliased as “gamesound”

          easyeffects is great for this because it’ll just be the default sink, plus easyeffects makes your mic sound good anyway. (if you configure it for that)

          then when the game opens i set it to output to “stream” and bam i can output game audio in a stream without capturing anything else, since i’m on hyprland i can also stream just the window, discord screenshare with audio everywhere.

          • Fonzie!
            link
            fedilink
            51 month ago

            Doesn’t mean it’ll be added in an open source application… There has to be a dev/some devs willing to implement that, they can’t force volunteers to implement features because of the selling value it’ll have.

      • @raspberriesareyummy
        link
        31 month ago

        Been using matrix since forever :) But the dissing of shitty corporate centralized applications is necessary because way too many naive users still give their data away for convenience.

          • @raspberriesareyummy
            link
            2
            edit-2
            1 month ago

            That falls under convenience. Getting others to leave corporate bullshit malware and/or spyware takes effort (and I know very well how frustrating it is). Personally I refuse to use discord or FascistApp (I guess with the recent policy changes that name is warranted) etc with all the implications that it has.

          • bruhSoulz
            link
            fedilink
            English
            21 month ago

            Facts, I just left discord and joined groups in matrix, and had some close associates get matrix/element to chat w me. Easy peasy

  • @[email protected]
    link
    fedilink
    English
    24
    edit-2
    1 month ago

    Well, “nice” to have that feature, but you still shouldn’t use Discord, or at least limit your time on it as much as possible. Remember, when you use it, you’re part of the network effect that makes Discord big. You have to resist that. Take a look how Discord compares to pretty much any other messenger or communication tool in existence: https://www.messenger-matrix.de/messenger-matrix-en.html Avoid it whenever possible, get your friends to leave it and weaken its network effect.

    So, some of the drawbacks (there’s probably more):

    • Discord has weak security (see URL above)
    • Discord has non-existent privacy
    • Discord has an incredibly vague privacy policy which means they do what they want. Even companies with strong privacy policies screw users over routinely. Guess what companies do who don’t even care about good privacy policies. They even weakened it further a while back because they need to train their new AI features on your data as well, and probably even their weak privacy policies were in the way before. Well, good thing that the users agreed that they can change it at any time for any reason and be fine with it.
    • You grant all rights of everything you write, say, share or do on Discord to Discord, and everything you type, say, upload or share is being processed by their servers
    • Discord tracks what you’re typing before sending it
    • Discord suspended accounts and required even more user data for “verification”, such as telephone numbers which is completely unnecessary except for tracking and data selling purposes
    • Discord shares chat logs with law enforcement (and they can share everything because they’re collecting everything)
    • The Discord client app tracks what programs you have running so it can for example display what games you’re currently running. That means it contains a process logger. It has to scan every running application and then finds games out of those, and then you have to hope that only the game-specific bits are uploaded to their servers. Maybe that is the case, but can you trust them, and also to never change that? No.

    If you have to use it:

    • Never use their desktop app, always use the web version from a secondary browser (web apps running in the browser have much less rights than locally running applications), and even then limit what the site can access to the least amount of stuff necessary. If you never use your mic or camera then block it in the browser settings. Don’t trust Discord’s own mute setting (this also applies to other proprietary software).
    • Use a fake e-mail alias / telephone number when creating your account, generally give them the least amount of data possible. Opt out of any options or features which are tied to you exposing more data to them
    • Don’t give them additional money e.g. for their premium stuff (you already pay with data they gather from you)
    • Block at least these API endpoints which are purely used for tracking purposes (there may be more though, and they might change) [easy to do with uBlock Origin for example]:
    https://discord.com/api/v*/science
    https://discord.com/api/v*/channels/*/typing
    https://discord.com/api/v*/track*
    
    • You can also block these related hosts safely without impairing Discord’s main functions (again there may be more):
    crash.discordapp.com
    status.discordapp.com
    b.stats.paypal.com
    app.adjust.com
    client-analytics.braintreegateway.com
    
  • @x00z
    link
    English
    231 month ago

    I’ve been using Vesktop since forever. They have had it working already for a looooong time.

      • @[email protected]
        link
        fedilink
        English
        31 month ago

        I’ve been using that for ages to share my screen, but it doesn’t bring over the audio which can be annoying, but otherwise works great. I am sure there are ways to get the audio into it, but it felt like it would be more trouble than it was worth.

        • @[email protected]
          link
          fedilink
          41 month ago

          You can stream the audio using PulseAudio volume control. (pavucontrol)

          Click in the Recording tab, find the discord input (it should be called WebRTC engine or something similar) and select the audio device you want to use.

          To stream audio from your computer, just click the ‘monitor’ version of the device you want to use.

        • @[email protected]
          link
          fedilink
          English
          8
          edit-2
          1 month ago

          Matrix doesn’t have voice channels, probably the most important part of Discord for everyone I know. It’s also built around single rooms, not servers, which just doesn’t feel as good as Discord for interacting with friends.

          • @[email protected]
            link
            fedilink
            1
            edit-2
            30 days ago

            Dang, looking into Revolt seems like it’d be more in line with your use case. I wonder if it also has separate voice chat rooms?

            I’d love to be able to get people to switch to something like this.

        • @[email protected]
          link
          fedilink
          130 days ago

          Not if we want sustainable chat. It runs like a blockchain under the hood & duplicates so much data.

  • @Zangoose
    link
    151 month ago

    Can we get actually working global keybinds in Wayland next? Or is that a chromium/electron problem?

    • @[email protected]OP
      link
      fedilink
      221 month ago

      wayland global keybinds are not really ready yet, they’re only properly implemented in one desktop, so i don’t blame the discord devs for not adding them.

      • Communist
        link
        fedilink
        English
        131 month ago

        Hyprland and kwin I think.

        The hyprland dev is doing a ridiculous amount of work.

          • @Wooki
            link
            -11 month ago

            So doing what every single developer does, got it.

            Everyone is teflon

            • @[email protected]
              link
              fedilink
              01 month ago

              i don’t think every developer hosts an actively transphobic discord full of dogpiling channers but i might be wrong on this one bestie

        • @Zangoose
          link
          31 month ago

          They don’t work for discord in hyprland unfortunately, it only works when I have discord tabbed in (I tried passing the shortcuts in the hyprland config file)

          AFAIK kde’s way of doing it is kind of hacky because it was called something like “legacy global keybinds” in settings but I switched off KDE a few months ago so I don’t remember the exact details.

          • Communist
            link
            fedilink
            English
            3
            edit-2
            1 month ago

            https://wiki.hyprland.org/Configuring/Binds/#global-keybinds that’s a bug then, it should be working according to the docs.

            honestly if this is for push to talk, i have a mic mute toggle in my config that might honestly be better depends on wireplumber and ripgrep though. If you bind it to something and then have it run again on release you can make it a proper push to talk key for every single application.

            $micmute = wpctl set-mute @DEFAULT_SOURCE@ toggle ; wpctl get-volume @DEFAULT_SOURCE@ | rg -q 'MUTED' && notify-send ' Mic Muted' -h string:x-canonical-private-synchronous:mic-state || notify-send --urgency=low '  Mic unmuted' -h string:x-canonical-private-synchronous:mic-state

        • @[email protected]OP
          link
          fedilink
          21 month ago

          didn’t hyprland implement it wrong by making apps unable to add new global shortcuts themselves, or even request to add them?

          • Communist
            link
            fedilink
            English
            21 month ago

            No, I don’t think it’s wrong for it to be specified in the config files for hyprlands purposes, that’s standard tiling window manager stuff

  • Mikelius
    link
    fedilink
    81 month ago

    For those of us not using Wayland, any idea if this still applies? Waiting on my flatpak version to support audio sharing with screen share… And please performance improvements.

  • @[email protected]
    link
    fedilink
    English
    71 month ago

    I just wish there was a FOSS version of Discord. I haven’t looked too deeply into existing alternatives, but I have a feeling they all miss features Discord has and are just not as good.

  • @Feathercrown
    link
    English
    329 days ago

    Wow finally! Congrats Discord dev team, this is good

  • @[email protected]
    link
    fedilink
    31 month ago

    What about video acceleration though? Cause last time i tried it as soon as I moved the camera the screen share’s framerate would drop like crazy making it essentially useless. On AMD anyway

    I’ll prob check later today cause im interested

    • @[email protected]OP
      link
      fedilink
      181 month ago

      literally not a single person i know uses matrix, and calls aren’t supported on most clients, so getting them to switch would be literally impossible.

      • bruhSoulz
        link
        fedilink
        English
        41 month ago

        Idk brah I managed to make 3/5 friends switch to it and we almost exclusively use that to chat, and now got 2-3 family members to use it when talking to me too

    • @8osm3rka
      link
      61 month ago

      Element is a messenger and will never have the UX of Discord. There is Revolt, which is actually similar to discord but self-hostable

      • bruhSoulz
        link
        fedilink
        English
        41 month ago

        Has screen sharing a video calls and group calls and working on addons/extensions, not sure what more people would expect from a project of its size

        • @Feathercrown
          link
          English
          229 days ago

          from a project of its size

          Ok but you know that people don’t care about this part at all when they’re looking for alternatives to actually use, right?

          • bruhSoulz
            link
            fedilink
            English
            028 days ago

            Yes, sadly people are dumb enough to value convenience over things that really matter

            • @Feathercrown
              link
              English
              028 days ago

              To some, convenience matters more than intangible benefits. This is not necessarily dumb.