I had the same problem today and I believe the reason is how the Windows drive is being mounted on your system.
$ cat /etc/fstab
none /cygdrive cygdrive binary,posix=0,user,noacl 0 0
It's the noacl bit that's causing the issue (which we're using for reasons outside the scope of this response). If I ...
I had this problem when I was doing an ssh into my Fedora LINUX server.
You need to have X11 running on the server.
To fix the problem, I typed the following command on the server side:
$ sudo Xorg -configure
Then I used ssh to log into the server from my PC:
$ ssh -Y firstname.lastname@example.org
where xx.xx.xx.xx is the ip address of the server.
The -Y allows ...
The problem with matzeri's solution is that it only works for the most sane filenames. A white space in the filename already breaks it.
Remember, if C:\book 1.pdf is the document to be opened, we want to end up with a string where on the bash side the escaping is correct - like this:
"/usr/bin/zathura \"$(cygpath 'C:\book 1.pdf')\""
But Windows passes the ...
Make a batch file like:
bash --login -c "/usr/bin/echo $(cygpath $A)"
In the root directory of Cygwin should be present a Cygwin.bat to be used as
Put the link to the batch file in the SendTo Folder
Now when I send a picture from my Pictures folder,
I have in a new CMD window: