5
13
Fork
You've already forked dots
1

screen-share failing on cosmic/niri #1

Closed
opened 2025年05月19日 09:01:23 +02:00 by kiara · 3 comments
Owner
Copy link

gnome portal is broken for me on either cosmic or niri.

door-knocker lists as available only GTK stuff, whereas Gnome ones seems broken.

  • background
  • clipboard
  • global shortcuts
  • input capture
  • remote desktop
  • screen cast
  • screenshot
  • secret
  • USB

my ~/.nix-profile/share/xdg-desktop-portal/niri-portals.conf points to niri's.

a log error seems mentions falling back to GTK as a 'last-resort fallback'.

Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback
Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback
Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback

note that while these are each part of GTK, Inhibit is not part of Gnome, so not sure what the 'last-resort' is about.

(fwiw, gnome-keyring also stays undetected by door-knocker, even tho explicitly added.)

Jun 29 11:25:54 nixos systemd[1822]: app-gnome\x2dkeyring\x2dpkcs11@autostart.service: Skipped due to 'exec-condition'.
░░ Subject: Unit skipped
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit UNIT was skipped due to an ExecCondition= command failure, and has
░░ entered the 'dead' state with result 'exec-condition'.
Jun 29 11:25:54 nixos systemd[1822]: Condition check resulted in Certificate and Key Storage being skipped.
gnome portal is broken for me on either cosmic or niri. <details> <summary> `door-knocker` lists as available only [GTK stuff](https://wiki.archlinux.org/title/XDG_Desktop_Portal#List_of_backends_and_interfaces), whereas Gnome ones seems broken. </summary> - background - clipboard - global shortcuts - input capture - remote desktop - screen cast - screenshot - secret - USB </details> my `~/.nix-profile/share/xdg-desktop-portal/niri-portals.conf` points to [niri's](https://github.com/YaLTeR/niri/blob/main/resources/niri-portals.conf). <details> <summary> a log error seems mentions falling back to GTK as a 'last-resort fallback'. </summary> ``` Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback Choosing gtk.portal for org.freedesktop.impl.portal.Print as a last-resort fallback Choosing gtk.portal for org.freedesktop.impl.portal.Notification as a last-resort fallback Choosing gtk.portal for org.freedesktop.impl.portal.Inhibit as a last-resort fallback Choosing gtk.portal for org.freedesktop.impl.portal.Access as a last-resort fallback ``` note that while these are each part of GTK, `Inhibit` is not part of Gnome, so not sure what the 'last-resort' is about. </details> <details> <summary> (fwiw, `gnome-keyring` also stays undetected by `door-knocker`, even tho explicitly added.) </summary> ``` Jun 29 11:25:54 nixos systemd[1822]: app-gnome\x2dkeyring\x2dpkcs11@autostart.service: Skipped due to 'exec-condition'. ░░ Subject: Unit skipped ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ The unit UNIT was skipped due to an ExecCondition= command failure, and has ░░ entered the 'dead' state with result 'exec-condition'. Jun 29 11:25:54 nixos systemd[1822]: Condition check resulted in Certificate and Key Storage being skipped. ``` </details>
kiara changed title from (削除) screen-share failing on cosmic (削除ここまで) to screen-share failing on cosmic/niri 2025年06月28日 20:44:08 +02:00
Author
Owner
Copy link

fixed by moving portal code from the home to system level at c308e8657d.

fixed by moving portal code from the home to system level at c308e8657d254925fac6a709086ad37bb38880fd.
Author
Owner
Copy link

while the change made portals available, this mostly helped for pure niri: even with portal available, door-knocker will show monitor/window sources as unavailable.

while the change made portals available, this mostly helped for pure niri: even with portal available, `door-knocker` will show monitor/window sources as unavailable.
Author
Owner
Copy link

given i merged my niri branch to main now, i can maybe settle for that.

given i merged my `niri` branch to main now, i can maybe settle for that.
Sign in to join this conversation.
No Branch/Tag specified
main
finix-port
iwd
switch-to-iwd
avante
noctalia
dms-greeter
dms
detnix
gnome
cosmic-ink
ink
cosmic
lanzaboote
cosmic-niri
niri
nix-ai
llm
nixos-cosmic
speechd
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kiara/dots#1
Reference in a new issue
kiara/dots
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?