Closed 0xN1nja closed 4 months ago
@AzhamProdLive can you reproduce this?
@AzhamProdLive can you reproduce this?
Sadly, I do not use Arch Linux anymore, so I cannot reproduce this.
will check it, if you have another projects paste links pls
I searched a lot, but most people are suggesting greenclip; there has to be a way to turn on that option:
I will test another clipboard and maybe in next update i will push that.
So I was fetching your latest commits and came across a major bug. When I take a screenshot of my desktop with no other app open, just the wallpaper, and paste it on discord/telegram, the windows start to disappear, and discord/telegram freezes for about 30 seconds.
But if I take a screenshot with an app like terminal, thunar, or firefox open, and then paste it on discord, it works fine.
This is very weird.
To resolve this, I first tried using the old
Screenshoter
script, the old picom config, and even tinkered with picom renderers, but none of these worked.I figured out that the wallpaper is very high-definition, and its screenshot file size reaches 4-5MB, whereas the terminal/firefox screenshot sizes are only 400-500 kb.
Many people using your dotfiles also use discord/telegram, and they need to be able to instantly copy and send screenshots via the clipboard.
Eventually, I came across the README of greenclip:
and this discussion https://github.com/erebe/greenclip/discussions/128
I know this is completely different from your dotfiles, but maybe you or other contributors can suggest a fix. One thing we can try is to introduce a condition in
maim
so that if the screenshot is larger than 500 kb, it doesn't get sent to greenclip. This is my solution, but others can suggest alternatives.Another thing is, you might want to try other clipboard managers since greenclip seems unmaintained; its last commit was 10 months ago.