vhdirk / terms

A tiling terminal emulator for GNOME
GNU General Public License v3.0
2 stars 0 forks source link

Some shortcuts don't work on wayland #56

Open RAVENz46 opened 4 months ago

RAVENz46 commented 4 months ago

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

os: nixos unstable (24.05) desktop: cosmic de (wayland) version: 883f13e8f555f49a8107102967725aaa5df801f7 (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

vhdirk commented 4 months ago

Hi! Thanks for trying this out!

As you may have noticed, Terms is still a long way from being usable as a daily driver. I don't even do that myself yet. I'm currently busy with some other projects, but I'll pick this up again quite soon.

In the meantime, I'd be happy to receive contributions for building a nix package :)