• ancap shark@lemmy.today
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Please lecture me, I’m somewhat new to linux (I use it for some years now, but only Ubuntu, so you know). What’s the point of wayland?

    I mean, I get that it’s an alternative to Xorg, and it merges the server and client, but what does this mean to the end user?

    • dino@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      there is no reason to use something else as an enduser. Maybe as a backup or testing setup you could install something else, but apart from that…

    • corrupts_absolutely@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      i dont get screen tearing in games, videos or browsers on wayland and also seem to be getting less issues with compositing, which was a problem on x11 with i915 drivers for me

    • corrupts_absolutely@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      im not comfortable with shell yet, but here’s what i did
      in sway config i have

      for_window [title=“example_launcher”] floating enable
      set $menu foot -T “example_launcher” -w 240x240 -e sh -c ‘dmenu_path | example.sh | xargs swaymsg exec --’

      and somewhere in my $PATH i have example.sh which looks like this
      #!/usr/bin/sh

      out=$(fzf -e --print-query “$@”)
      in=$(echo “$out” | head -1)
      res=$(echo “$out” | tail -1 )
      if test -n “$res”; then
      cmd=$res
      else
      cmd=$in
      fi
      exec echo “$cmd”

      there are a couple small issues with the set up though, and also u do need dmenu installed