linkfrg / dotfiles

My Hyprland dotfiles
711 stars 26 forks source link

[Bug] Screenshot preview not functioning #45

Closed jonahbrawley closed 3 weeks ago

jonahbrawley commented 3 weeks ago

Potentially could be an ignis bug, but when taking a screengrab on my system the image preview is just black. Maybe a dependency missing on my system?

image

Notification center: image

linkfrg commented 3 weeks ago

Are you doing screenshot of area or full screen?

jonahbrawley commented 3 weeks ago

Screenshot of area, but the same behavior happens with fullscreen

linkfrg commented 3 weeks ago

Are the screenshots themselves saved in ~/Pictures normally? Also please attach the ignis.log (~/.ignis/ignis.log) or the output from the terminal where Ignis is running

jonahbrawley commented 3 weeks ago

Screenshots will save successfully in ~/Pictures. No particularly useful output from killing ignis and running ignis init in terminal:

> ignis init
2024-11-05 13:32:26 [INFO] Using configuration file: /home/jonah/.config/ignis/config.py
2024-11-05 13:32:27 [INFO] Applied css: /home/jonah/.config/ignis/style.scss
2024-11-05 13:32:27 [INFO] Ready.

ignis.log also shows the same

jonahbrawley commented 3 weeks ago

Sorry, wish I had more helpful info to share. Maybe it has something to do with the notification daemon dunst?

linkfrg commented 3 weeks ago

Sorry, wish I had more helpful info to share. Maybe it has something to do with the notification daemon dunst?

Maybe. It is advisable to uninstall it

linkfrg commented 3 weeks ago

Can you open a one colored application (like xterm) (with no black color) in fullscreen and take a screenshot?

jonahbrawley commented 3 weeks ago

Just tried opening Xterm in fullscreen with F11, took a screenshot and still no preview

jonahbrawley commented 3 weeks ago

Tried switching from grimblast to hyprshot, and preview works there. This should work just fine for my purposes. Will opt to close this and if I find a way to make grimshot work, I will update here