I've set Wine to open up as a window.

While in Lubuntu, there are cases when I'm browsing through my Windows files (I'm not running anything yet) then Wine pops up, then closes. No visible program is seen running.

This happens on certain folders only.

Should I be worried?

  • 1
    I would try to replace wine with a script that would log the arguments it just got. For example: write in a script first line as #!/bin/sh, and the second line as echo "Arguments are: $@" >> /tmp/1 && ~/wine $@. Then move the /usr/bin/wine script to the home directory, next move the script to /usr/bin/wine (don't forget to give executable rights with chmod +x ). After wine was called again, you should see the arguments in the /tmp/1 file, so you will know what was called. – Hi-Angel Sep 21 '15 at 5:10
  • 1
    Sorry about that thing earlier. Anyway, this is the output for when I'm browsing through the folders: Arguments are: winepath.exe -u . off-topic I tried running a regular windows executable, and it returns the path to that exe. – dgood1 Sep 21 '15 at 5:52
  • Okay, you could also add a line echo "my parent PID is $$" >> /tmp/1, so you will know the parent PID, and you can find the parent process by running something like ps -A | grep <the_pid_you_got>. – Hi-Angel Sep 21 '15 at 6:19
  • 1
    Heh, that's funny, but I think I got what is this. The winepath.exe is an app that exist inside of wine environment (i.e. it is like wine notepad — the notepad is also only there). And the -u is an option to the winepath.exe. This app actually have a help for command options, and it says that -u option converts a Windows path to unix path. You can try it yourself — e.g. "C:\\foo"/home/constantine/.wine/dosdevices/c:/foo on my system. Perhaps pcmanfm needs to convert the paths, but I have no idea why is it, and why the path argument is missing. – Hi-Angel Sep 21 '15 at 10:49
  • 1
    I guess it's safe then. I was thinking it might be a virus in Windows that found a way to dig into Ubuntu. If winepath.exe is a known program, then this should be nothing to worry about. Many thanks. ^w^ – dgood1 Sep 21 '15 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.