mahkoh / jay

A Wayland Compositor
GNU General Public License v3.0
207 stars 10 forks source link

quite confused with the portal thing #204

Closed uncomfyhalomacro closed 1 month ago

uncomfyhalomacro commented 1 month ago

aren't there supposed to be the following files :O

org.freedesktop.impl.portal.desktop.jay.service

[D-BUS Service]
Name=org.freedesktop.impl.portal.desktop.jay
Exec=/bin/false
SystemdService=xdg-desktop-portal-jay.service

xdg-desktop-portal-jay.service

[Unit]
Description=Portal (Jay wayland compositor)
PartOf=graphical-session.target
After=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY

[Service]
Type=dbus
BusName=org.freedesktop.impl.portal.desktop.jay
ExecStart=/usr/bin/jay portal
Restart=on-failure
mahkoh commented 1 month ago

The portal is started automatically when you start Jay. These files are only necessary if you want to start the portal on demand.

uncomfyhalomacro commented 1 month ago

ah that makes sense! thanks!

uncomfyhalomacro commented 1 month ago

seems it doesnt work after removing them. added them back. i am not familiar with the difference with "on-demand" portal. maybe a systemd thing or something

mahkoh commented 1 month ago

Please post the logs from ~/.local/share/jay/logs/portal.

uncomfyhalomacro commented 1 month ago

Please post the logs from ~/.local/share/jay/logs/portal.

Just going to tell that it might be because i haven't rebooted/quit-then-reopen jay because i installed the latest release while running the old jay.

so it works now even after trying to reproduce the issue. it seems to not happen again. except i have another issue that i will be opening soon. sharing workspace seems to not let me use the chooser again after exiting a sharing session or quitting share screen.

EDIT: The sharing workspace bug seems to be not reproducible anymore. I wonder what really caused it. but my logs seem to not have something... odd. i will open once i meet it again. for now just ignore the workspace bug message. thanks for this wonderful software. fun to touch everything on it.