-
Notifications
You must be signed in to change notification settings - Fork 78
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
maim doesn't pipe output to xclip #205
Comments
@souravdas142 you seem to have also had this issue in #202 , but you closed it. Did you manage to figure out what the problem was? |
Do you have any error logs? Which window manager/desktop environment are you using? Maim could fail to grab the screen under certain situations, for example i3 has an issue of grabbing full control of the keyboard when maim tries to launch from a keybind. You might need to try adding the |
When running it from the command line I get no errors. I'm not sure where else I should look for error logs. I'm using bspwm (arch repo says 0.9.9 but This error happens when I run it from the terminal, and passing |
Could you check your journalctl for errors from maim? You could also try piping the stderr output to terminal. (Just add |
|
Without an error I'm unsure what to do. I remember bspwm doing some really esoteric stuff which required workarounds for maim, though bspwm is one of the managers I did make sure maim worked on. Maybe X11 is outputting errors to stdout? Gotta figure out what error you're encountering or I can't really say what's wrong. |
Unfortunately I'm not sure where too look for X11 errors. I've tried to look this up online but didn't really get anywhere. However, I'm not sure that is where the error would be. |
@itai33 Yes. Problem is with my clipboard manager "CopyQ" (CopyQ-Issue) see this. |
I've been having the same issue but it only started today. Edit:
|
Could you run it through valgrind? You might have to compile maim with debug symbols in order for valgrind to give a good output. |
There is the following consolation of facts:
OS: Arch Linux
maim version: 5.6.3
The following command does copy the image to the clipboard:
maim -s | xclip -sel clip -t image/png
however, this one doesn't:
maim | xclip -sel clip -t image/png
weirdly, this command does infact work:
maim > test.png
I had a friend try this out on ubuntu, with maim version 5.5, and all the commands worked for him. We are both running xclip version 0.13.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: