I just insert the Tragedy of systemd video as my usual response to these threads.
I just insert the Tragedy of systemd video as my usual response to these threads.
Not really the easy way, but this is how you can make your wine application show up in Preferred Applications.
You probably don’t have a .desktop file for you wine app. Go to /usr/share/application
and find one entry that also shows up in your Preferred Applications->PDF list. Open that entry with a text editor: that’s how your new entry should look like (I recommend looking at /usr/share/applications/xreader.desktop
in particular). You must have the MimeType
field for Preferred Applications
Create your new pdfxchange.desktop
file and place it into ~/.local/share/applications
so it will be picked up by the OS and it should show up in your Preferred Applications list.
The only thing you need to figure out yourself how to make pdfxchange open a file from the command line, you need to put that into the Exec=
field.
For you it might be something like this: Exec=env WINEPREFIX="YOUR_PDFEXCHANGE_WINE_PREFIX" wine "YOUR_PDFEXCHANGE_WINE_PREFIX/drive_c/path/to/pdfxchange.exe" Z:%f
Try it in the terminal (without Exec=) until it works. %f is the file you want to open.
You can do that via the AUR, it’s called cosmic-epoch-git if you have enough ram and time to build it
I have the same issue on my laptop, except it’s constant from the moment I log into Cinnamon. Other DEs are fine.
In the end I was too lazy to troubleshoot it, but maybe I’ll try with the Wayland session. If that has the same issue, something’s gone terribly wrong.
I tested chatgpt, it needed some nagging but it could do it. Needed the size, blank and white keywords.
Obviously a lot harder than it should be, but not impossible.