Skip to content

Some shortcuts don't work on wayland #56

Description

@RAVENz46

Describe the bug
ctr + shift + a, c, v not work on wayland

os: nixos unstable (24.05)
desktop: cosmic de (wayland)
version: 883f13e (last commit on Mar 1st), build from source

To Reproduce
Steps to reproduce the behavior:

  1. install terms with own derivation
nix derivation
{ lib
, stdenv
, fetchFromGitHub
, cargo
, meson
, ninja
, pkg-config
, rustPlatform
, rustc
, wrapGAppsHook4
, cairo
, gdk-pixbuf
, glib
, gtk4
, libadwaita
, pango
, vte-gtk4
, git
, libxml2
, desktop-file-utils
}:

stdenv.mkDerivation rec {
  pname = "terms";
  version = "unstable-2024-03-01";

  src = fetchFromGitHub {
    owner = "vhdirk";
    repo = "terms";
    rev = "883f13e8f555f49a8107102967725aaa5df801f7";
    hash = "sha256-KLr7SrtzDb21uyEkl8Xg0pdxh8o+zlNkpwO/9fImNyw=";
  };

  cargoDeps = rustPlatform.importCargoLock {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "gsettings-macro-0.2.0" = "sha256-PJ2DNCyOirHaBSFqtGHwBXnkyj720TpeMktXykPyDGw=";
    };
  };

  nativeBuildInputs = [
    cargo
    meson
    ninja
    pkg-config
    rustPlatform.cargoSetupHook
    rustc
    wrapGAppsHook4
    git
    desktop-file-utils
  ];

  buildInputs = [
    cairo
    gdk-pixbuf
    glib
    gtk4
    libadwaita
    pango
    vte-gtk4
    libxml2
  ];

  meta = with lib; {
    description = "A tiling terminal emulator for GNOME";
    homepage = "https://github.com/vhdirk/terms";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ ];
    mainProgram = "terms";
    platforms = platforms.all;
  };
}
  1. run it on wayland

Expected behavior
select all, copy, paste work with these shortcuts

Additional context
select, copy, paste with mouse works
ctr + c, v works with easy copy & paste option

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions