Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed DivX player using wine in my ubuntu. I would like to invoke the player from terminal. Is it possible? If yes, how?

Thanks in advance.

share|improve this question

1 Answer 1

up vote 8 down vote accepted

If you are using wine installed from the repositories then wine related files is stored in a folder called ~/.wine

Windows programs are stored within this folder - for example ~/.wine/drive_c/program_files/Internet Explorer

You can start a windows program in a similar way as from a command line in windows but prefix it with wine

for example

wine "c:\program files\internet explorer\iexplore.exe"

Thus if your divx called (for example) divxplayer.exe is installed - for example in ~/.wine/drive_c/program files/divx

then you can start your wine divx player

wine "c:\program files\divx\divxplayer.exe"
share|improve this answer
    
logically it would be wine "c:\program\internet explorer\iexplore.exe" - drive_c/Program is an unusual path though - I presume you created that manually –  fossfreedom May 7 at 15:21
    
Apologies for the previous comment. I was going to ask a question about how to deal with (x86) in the file path. I didn't know how to deal with the brackets n the command line using quotations. I think that i meant to not post the comment that i did. I have since deleted it. Apologies for the mistake. –  MorrisseyJ May 8 at 16:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.