I’m new to Linux (is) and v new to Manjaro. I am trying to get a v old windows app called Paint Shop Pro 7 to work via wine.
It installed fine and ran from the installer once, erm… installed (there was a run option at the end). It will run from the command line with wine, when I am in the application’s directory. However the path is full of spaces and I am not sure how to get it into a desktop launcher. Have tried:
If there are spaces in the filename and/or the directory name, then you should enclose the entire path between single or double quotes. Something like…
/usr/bin/wine '/home/John/.wine/drive_c/Program Files (x86)/Jasc Software Inc/Paint Shop Pro 7/psp.exe'
You can further filter that, if you like. So if you only want the output of things that reside in your $HOME, then you would use something like…
locate text-string-here | grep "$HOME"
However, if what you installed is still new — i.e. less than 24 hours — then the mlocate database won’t be up-to-date yet, and then you have to do that first…
FYI, each Wine application should have it’s own prefix (aka bottle). See Wine - ArchWiki
One easy way to manage Wine applications is Bottles. The only supported installation method (and easiest) is the official Flatpak. I don’t recommend the AUR (Arch User Repository) package as it will frequently break.
Mind you, I don’t normally recommend Flatpaks as I prefer installing programs build from source code; i.e., repo packages and building AUR packages. However this is an exception.
Read access denied for device L"??\I:", FS volume label and serial are not available.
Could be the shell interpreting part of the path instead of using it literally.
If you enclose the path in double quotes, the shell interprets some part(s). To avoid that and have it all treated as a string, use single quotes.
If the path contains quotes, you enqoute the part before it, escape the quote, enquote the part after it. E.g. 'this is a user'\''s path', without spaces as in that example.