Search Criteria
Package Details: kanshi-git 1.5.1.r6.g0602cd3-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/kanshi-git.git (read-only, click to copy) |
|---|---|
| Package Base: | kanshi-git |
| Description: | Dynamic output configuration for Wayland WMs |
| Upstream URL: | https://git.sr.ht/~emersion/kanshi |
| Keywords: | sway wayland |
| Licenses: | MIT |
| Conflicts: | kanshi |
| Provides: | kanshi |
| Submitter: | lowercase |
| Maintainer: | None |
| Last Packager: | pychuang |
| Votes: | 11 |
| Popularity: | 0.008419 |
| First Submitted: | 2019-03-19 14:21 (UTC) |
| Last Updated: | 2024-02-04 22:37 (UTC) |
Dependencies (8)
- libscfg-gitAUR
- libvarlink (libvarlink-gitAUR)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- git (git-gitAUR, git-glAUR) (make)
- meson (meson-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR) (make)
- scdoc (scdoc-gitAUR) (make)
- wlroots (wlroots-asan-gitAUR, wlroots0.16-nvidiaAUR, wlroots-nvidiaAUR, wlroots-nogpuAUR, wlroots-hidpi-xprop-gitAUR, wlroots0.18-hidpi-xpropAUR, wlroots0.19-hidpi-xpropAUR, wlroots0.17-hidpi-xpropAUR) (make)
Required by (4)
- sway-services-git (requires kanshi) (optional)
- wayfire-desktop-git (requires kanshi)
- wdisplays-persistent (requires kanshi)
- wdisplays-persistent-gettext (requires kanshi)
Latest Comments
1 2 3 Next › Last »
pychuang commented on 2025-10-15 18:16 (UTC)
Sorry for the late reply. I haven't been using this package for a long time. So I'm disowning it and let others to maintain it.
s-ol commented on 2025-07-22 08:42 (UTC) (edited on 2025-07-22 08:42 (UTC) by s-ol)
I think
wlrootscan be removed from makedepends, it's not mentioned anywhere in the upstream documentation and also not present in the canonicalkanshiPKGBUILD. Also wlroots package versioning has changed and the way the dependency is specified here is no longer aligned with how it is used byswayfor example.pychuang commented on 2024-02-04 22:44 (UTC)
Thanks @vikbar54.9 and @yrlf. Let me know if there's any issues!
yrlf commented on 2024-02-04 21:54 (UTC) (edited on 2024-02-04 21:56 (UTC) by yrlf)
As @vikbar54.9 said, please add
libscfg-gittodepends.Also, the versioning scheme in this package does not fit the Arch Linux VCS package guidelines. The version should usually contain the latest upstream version before the disambiguation tag with revision count and git hash, to be able to compare upstream versions and development versions easily.
Additionally, the
providesentry can be set to also include the version.Here is a patch that fixes all three issues in the PKGBUILD:
vikbar54.9 commented on 2024-02-03 19:23 (UTC)
It requires libscfg now, otherwise it errors out on not finding scfg runtime dependecy.
pychuang commented on 2021-02-24 18:58 (UTC) (edited on 2021-02-24 19:00 (UTC) by pychuang)
This package comes with a
systemdunit file that is not supported by the upstream. To enable the unit, run$ systemctl --user enable kanshi.service. Some notes:graphical-session.targethas already started. Though on many users' systems,graphical-session.targetalways starts under Sway, Sway actually does not activategraphical-session.targetby default. Thegraphical-session.targetmay be activated silently by some other applications/units or by explicitexeccommand in the Sway config.graphical-session.target. This says, if you sometimes use other WM, likegnomeorkde,kanshi.servicewill also automatically start (and then fail because kanshi is a Sway-only application).The best practice is to create your own
sway-session.target, and modify (or create your own) thekanshi.serviceto be wanted bysway-session.target. See the Wiki at Sway's GitHub and also ArchWiki:gmy commented on 2021-02-22 23:43 (UTC)
Despite that service might not fit into each and every setup, I was pretty happy to find service units to be included in some other packages while switching to systemd as the only apps startup manager for Sway. Current setup has been my only daily driver for a few weeks already, so I thought, that someone else could also benefit from having similar service units added to the packages, which don't yet provide one.
For example, gammastep, being a community package and wlroots-specific, does include a user service and uses graphical-session.target:
Same applies to flashfocus-git. Mako also includes a service, althought it's service is not attached to any target.
pychuang commented on 2021-02-19 15:24 (UTC)
@lowercase I would suggest putting the kanshi service unit under
/usr/lib/systemd/useror/etc/systemd/userbecausegraphical-session.targetis a user-space unit (launched with--userflag). Andsway-session.targetshould be something depending ongraphical-session.target.@gmy I'm not sure how many Wayland WMs support
wlr-output-management, but at least kanshi does not work withgnome's Wayland session. Also,graphical-session.targetruns even under X11 WMs, i.e., not just Wayland WMs usegraphical-session.target. I think that's probably why Arch's official kanshi package and other Sway-specific utilities (like swayidle) do not include a service file.I'm thinking about including either @lowercase's or @gmy's systemd unit in this package and adding documentation in wiki or somewhere to let users know about the caveats.
gmy commented on 2021-02-19 13:57 (UTC) (edited on 2021-02-19 14:01 (UTC) by gmy)
@pychuang, @lowercase, but how kanshi is related specifically to sway? Shouldn't it support any wayland WM?
https://github.com/emersion/kanshi
Also, isn't it up to user to deside whether enable systemd service or not? And, isn't it disabled by default?
AFAIK, even if service file gets installed with the package, user won't see any differences, until he/she enables it. Also, user is free to override it or change.
1 2 3 Next › Last »