Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

equivalent of exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK in void linux. #38698

Closed
LinArcX opened this issue Aug 16, 2022 · 4 comments

Comments

@LinArcX
Copy link
Contributor

LinArcX commented Aug 16, 2022

Hello.

I installed wayfire and I want to use flameshot in it.

There is a problem that I described here:
flameshot-org/flameshot#2871 (comment)

@mmahmoudian said that I can use this:
https://github.com/flameshot-org/flameshot/blob/master/docs/Sway%20and%20wlroots%20support.md

All errors are gone, but still, I can't take any screenshots. I wondered how can I run these lines in void linux:

exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
     dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
@motorto
Copy link
Contributor

motorto commented Aug 16, 2022

@CameronNemo
Copy link
Contributor

you probably just need dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK

@Duncaen Duncaen closed this as completed Aug 16, 2022
@LinArcX
Copy link
Contributor Author

LinArcX commented Aug 17, 2022

@CameronNemo No, it's not working.

@motorto
Copy link
Contributor

motorto commented Aug 18, 2022

@LinArcX in case you didn't saw my link inside there there is this command:

"exec dbus-update-activation-environment DISPLAY I3SOCK SWAYSOCK WAYLAND_DISPLAY"

And I could confirm that this command does the equivalent to what you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants