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

Screen recording requires root authentication #555

Open
GideonWolfe opened this issue Dec 14, 2024 · 2 comments
Open

Screen recording requires root authentication #555

GideonWolfe opened this issue Dec 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@GideonWolfe
Copy link

Describe the bug
When activating screen recording through the Dashboard menu, the icon change and completion notification indicate the screen recording is successful. After opening the screen recording directory, I found it empty.

To Reproduce

  1. Run hyprpanel from the terminal.
  2. Click the "Record Screen" button and select the desired display
  3. Notice the following prompt in the terminal
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/nix/store/awl9vjsm3pbv28iry7plhzvxdnb ... -kms-socket-PlBCPhZHfa /dev/dri/card1' as the super user
Authenticating as: gideon
Password:
==== AUTHENTICATION COMPLETE ====
  1. At this point, the screen recording will be in the output directory.

Expected behavior
That the screen recording functionality is accessible without needing to use a terminal

Screenshots
n/a

Desktop (please complete the following information):

  • Distribution: NixOS 24.11
  • Window Manager/Desktop Environment: Hyprland

Additional context

I'm also confused at the choice of not providing a config option for the output directory of the screen recording. I have taken the time to configure the commonly used XDG directories, so it would be great if XDG_VIDEOS_DIR/screencasts could be used, or even better just let the user configure it themselves. I now find my home directory cluttered with a videos (mine) and Videos (that only contains hyprpanel screen recordings)

@Jas-SinghFSU
Copy link
Owner

Lots of great feedback. The recording is going to be reworked to provide multiple options or potentially a custom recorder. I'll likely add the QoL updates in that effort.

@GideonWolfe
Copy link
Author

Thanks for the quick response! loving hyprpanel so far, most everything works great out of the box :)

@orangci orangci added the bug Something isn't working label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants