Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some shortcuts don't work on wayland #56

Open
RAVENz46 opened this issue Mar 16, 2024 · 1 comment
Open

Some shortcuts don't work on wayland #56

RAVENz46 opened this issue Mar 16, 2024 · 1 comment

Comments

@RAVENz46
Copy link

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

@vhdirk
Copy link
Owner

vhdirk commented Mar 16, 2024

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants