Debian Bug report logs - #1073813
RFP: shikane -- dynamic Wayland output configuration tool focusing on accuracy and determinism

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: Antoine Beaupre <anarcat@debian.org>

Date: Wed, 19 Jun 2024 01:39:02 UTC

Severity: wishlist

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, team+swaywm@tracker.debian.org, debian-rust@lists.debian.org, wnpp@debian.org:
Bug#1073813; Package wnpp. (Wed, 19 Jun 2024 01:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupre <anarcat@debian.org>:
New Bug report received and forwarded. Copy sent to team+swaywm@tracker.debian.org, debian-rust@lists.debian.org, wnpp@debian.org. (Wed, 19 Jun 2024 01:39:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupre <anarcat@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: RFP: shikane -- dynamic Wayland output configuration tool focusing on accuracy and determinism
Date: Tue, 18 Jun 2024 21:36:56 -0400
Package: wnpp
Severity: wishlist
X-Debbugs-Cc: team+swaywm@tracker.debian.org, debian-rust@lists.debian.org

* Package name    : shikane
  Version         : 1.0.1
  Upstream Contact: https://gitlab.com/w0lff
* URL             : https://docs.rs/crate/shikane
* License         : MIT
  Programming Lang: Rust
  Description     : dynamic Wayland output configuration tool focusing on accuracy and determinism

shikane (/ʃiˈkaːnə/) is a dynamic output configuration tool focusing
on accuracy and determinism.

It automatically detects and configures connected displays based on a
set of profiles. Each profile specifies a set of outputs with
additional parameters (e.g., mode, position, scale). A profile will be
applied automatically if all specified outputs and modes can be
perfectly matched to the currently connected displays and their
capabilities.

This is a Wayland equivalent for tools like autorandr. It aims to
fully replace kanshi, surpass its inaccuracies and add new
features. shikane works with Wayland compositors supporting versions
>=3 of the wlr-output-management protocol (e.g., compositors using
wlroots v0.16).

Features

* generation of all compatible (display, output, mode)-combinations, ranked by exactness
* specify multiple matching rules per output
* restrict the matching to only certain display attributes
* choose between regex, substring or full text based attribute matching
* full cardinality matching algorithm
* ad-hoc profile switching
* export current display setup as shikane config.toml
* state machine defined execution
* execute commands, profile and display names are supplied as env vars
* one-shot mode

----

This is similar to kanshi, already packaged in Debian, but differs by
being written in Rust and supporting more features like saving the
current profile, for which kansi is currently lacking:

https://todo.sr.ht/~emersion/kanshi/81

I would love some rust folks to look into this, as I do not have the
cycles to learn rust packaging right now.

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#1073813; Package wnpp. (Wed, 19 Jun 2024 09:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Geiger <werdahias@riseup.net>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 19 Jun 2024 09:45:03 GMT) (full text, mbox, link).


Message #10 received at submit@bugs.debian.org (full text, mbox, reply):

From: Matthias Geiger <werdahias@riseup.net>
To: Antoine Beaupre <anarcat@debian.org>, 1073813@bugs.debian.org, Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#1073813: RFP: shikane -- dynamic Wayland output configuration tool focusing on accuracy and determinism
Date: Wed, 19 Jun 2024 11:43:49 +0200
[Message part 1 (text/plain, inline)]
On 19.06.24 03:36, Antoine Beaupre wrote:
> Package: wnpp
> Severity: wishlist
> X-Debbugs-Cc:team+swaywm@tracker.debian.org,debian-rust@lists.debian.org
>
> * Package name    : shikane
>    Version         : 1.0.1
>    Upstream Contact:https://gitlab.com/w0lff
> * URL             :https://docs.rs/crate/shikane
> * License         : MIT
>    Programming Lang: Rust
>    Description     : dynamic Wayland output configuration tool focusing on accuracy and determinism
>
> shikane (/ʃiˈkaːnə/) is a dynamic output configuration tool focusing
> on accuracy and determinism.
>
> It automatically detects and configures connected displays based on a
> set of profiles. Each profile specifies a set of outputs with
> additional parameters (e.g., mode, position, scale). A profile will be
> applied automatically if all specified outputs and modes can be
> perfectly matched to the currently connected displays and their
> capabilities.
>
> This is a Wayland equivalent for tools like autorandr. It aims to
> fully replace kanshi, surpass its inaccuracies and add new
> features. shikane works with Wayland compositors supporting versions
>> =3 of the wlr-output-management protocol (e.g., compositors using
> wlroots v0.16).
>
> Features
>
> * generation of all compatible (display, output, mode)-combinations, ranked by exactness
> * specify multiple matching rules per output
> * restrict the matching to only certain display attributes
> * choose between regex, substring or full text based attribute matching
> * full cardinality matching algorithm
> * ad-hoc profile switching
> * export current display setup as shikane config.toml
> * state machine defined execution
> * execute commands, profile and display names are supplied as env vars
> * one-shot mode
>
> ----
>
> This is similar to kanshi, already packaged in Debian, but differs by
> being written in Rust and supporting more features like saving the
> current profile, for which kansi is currently lacking:
>
> https://todo.sr.ht/~emersion/kanshi/81
>
> I would love some rust folks to look into this, as I do not have the
> cycles to learn rust packaging right now.

Hi Antoine,

$ cargo debstatus

shows only one crate (hopcroft-karp) to be missing.

best,

-- 
Matthias Geiger <werdahias>
Debian Maintainer
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#1073813; Package wnpp. (Wed, 19 Jun 2024 09:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Geiger <werdahias@riseup.net>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 19 Jun 2024 09:45:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Nov 21 22:37:03 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.