Skip to content

Automate sudo setcap "cap_dac_override+p" $(which espanso) for Wayland deb pkgs #2172

Closed

Description

@AucaCoyan

Description

There is the possibility that cargo-deb runs a script when you install espanso in Wayland, so you don't need to run setcap... bash line.

In espanso/espanso.toml, under the section of [package.metadata.deb.variants.wayland] the following was commented:

# TODO: once this issue [1] is fixed, we should create a variant for
# wayland to automatically run the setcap script.
# [1]: https://github.com/mmstick/cargo-deb/issues/151

And some cleanup in the section under a PR lead to the deletion of the comment and the creation of this issue, so we have everything centralized in GitHub.

Take in mind that mmstick/cargo-deb was archived, but it's still alive under a new author. I haven't test yet if the workaround fixes or resolves the problem.
I think it's a well documented issue and can be resolved quite easily with a line in the terminal, so I'm giving it low priority

Activity

  1. added
    enhancement
    needs-triage
    low priority
    Linux
    wayland
    on Dec 8, 2024
  2. changed the title [-]Automate [/-] [+]Automate `sudo setcap "cap_dac_override+p" $(which espanso)` for Wayland deb pkgs[/+] on Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Linuxenhancementlow priorityneeds-triagewayland

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions