1

Let's suppose my script expects Lightshot screenshot software to be installed into Wine.

Is there a way to query Wine (some people use PlayOnLinux as a front-end for it)?

If it is possible, is there a general way to run the software?


On my laptop the desktop entry has a terribly complicated launch line:

env WINEPREFIX="/home/vlastimil/.lightshot" wine C:\\windows\\command\\start.exe /Unix /home/vlastimil/.lightshot/dosdevices/c:/users/Public/Start\ Menu/Programs/Lightshot/Lightshot.lnk

Therefore I think it might not be that simple.

6
  • There is no "tool" on wine that could emulate the Control Panel behavior as you are asking, where you can list all installed software. Also, you are using a custom WINEPREFIX so, there is no way wine can guess what prefixes you have setup on your machine, and that why prefixes exist: To better isolate windows software specific configuration and needs+dependencies it may have.
    – user34720
    May 4, 2018 at 20:50
  • @nwildner I was afraid of that. Pity, thank you, good to know. May 4, 2018 at 20:53
  • I'm curious now. Why do you use "lightshot" if there are alternatives on Linux that could do exactly what this software does? Screenshots of a specific cropped/rectangle area
    – user34720
    May 4, 2018 at 20:57
  • 1
    @nwildner Because it has an online library, where I can manage what I uploaded. It is really handy. May 4, 2018 at 20:58
  • Fair enough :). Really good tool. Sometimes, you have to wine since there arent good enough alternatives
    – user34720
    May 7, 2018 at 20:23

1 Answer 1

1

There is no "tool" on wine that could emulate this Control Panel behavior as you are asking, where you can list all installed software, and winecfg will only configure things specific of the last WINEPREFIX being used, but will not list software installed on it. Also, you are using a custom WINEPREFIX so, there is no way wine can guess what prefixes you have setup on your machine.

Why prefixes exist? To better isolate windows software specific configuration and needs+dependencies it may have.

Some library management tools like Lutris can handle per-app prefixes and wine versions, but you will have to install your software using it, or creating a new entry on Lutris manually, pretty much the same way is done with PlayOnLinux.

1
  • I hadn’t thought of the list of software that shows up in the Windows Control Panel; but that list is available in Wine, using wine uninstaller. Your point about prefixes still holds obviously, and that’s the main blocker here. May 14, 2018 at 8:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .