warpd icon indicating copy to clipboard operation
warpd copied to clipboard

Not working on hyprland

Open glyh opened this issue 1 year ago • 9 comments

When I tried warpd --hint, it says:

[destroyed object]: error 4: surface was destroyed before its role object

glyh avatar Jun 12 '23 16:06 glyh

I get the same error with Hyprland on NixOS. But the program also hangs and consumes 100% CPU which seems related to #214.

rijkvp avatar Sep 08 '23 14:09 rijkvp

@glyh me too image

rat857 avatar Sep 26 '23 14:09 rat857

I get the same error with Hyprland on NixOS. But the program also hangs and consumes 100% CPU which seems related to #214.

Same situation with Sway on ArchLinux.

warpd: v1.3.5 (built from: 5d27d1c) (installed via AUR package warpd) sway: v1.9-dev-bbabb9aa (installed via AUR package sway-git) archlinux: 6.6.7-arch1-1

kkoyung avatar Dec 19 '23 05:12 kkoyung

did not work in hyprland with hyprland-portal which I prefer

vincentaxhe avatar Dec 23 '23 08:12 vincentaxhe

I too am getting this error in Hyprland + NixOS

I spun up sway briefly to test in there and warpd works fine, so it's most likely a hyprland issue, although it could be something about how I have hyprland configured.

LovesTha avatar Feb 25 '24 00:02 LovesTha

I don't know about nixos (since Arch btw) but, Have you tried building/installing after setting environment variable that disables building for X(DISABLE_X)?

I was banging my head for 2 days until I tried this, and it worked.

abhinav3398 avatar May 14 '24 04:05 abhinav3398

Using this overlay to override to the latest commit on NixOS worked for me:

nixpkgs.overlays = [
  (self: super: {
    warpd = (super.warpd.overrideAttrs (old: {
      src = super.fetchFromGitHub {
        owner = "rvaiya";
        repo = "warpd";
        rev = "01650eabf70846deed057a77ada3c0bbb6d97d6e";
        sha256 = "sha256-61+kJvOi4oog0+tGucc1rWemdx2vp15wlluJE+1PzTs=";
      };
    })).override{withX = false;};
  })
];

I suspect the pinned version in nixpkgs might be broken.

anpandey avatar Jun 23 '24 18:06 anpandey