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

Add on-demand to the polkit window to ensure entry field is editable #668

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

fossfreedom
Copy link
Contributor

@fossfreedom fossfreedom commented Jan 25, 2025

Description

This ensures the polkit window editable field is focused.

Note - it appears that wlroots based compositors need the user to run the following to allow polkit windows to have the permissions to actually execute what pkexec wants to run for xwayland apps.

xhost + local:

Without the above in journalctl you see the following:

Authorization required, but no authorization protocol specified

There maybe some other secret sauce here get the extant polkit code to-do this for the user, but I don't know what this wouldbe.

Submitter Checklist

  • Squashed commits with git rebase -i (if needed)
  • Built budgie-desktop and verified that the patch worked (if needed)

Copy link
Member

@EbonJaeger EbonJaeger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@EbonJaeger EbonJaeger merged commit 2152e0c into main Feb 11, 2025
1 check passed
@EbonJaeger EbonJaeger deleted the polkit branch February 11, 2025 23:23
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

Successfully merging this pull request may close these issues.

2 participants