Page 1 of 1

(long-shot suggestion) Wine compatibility ...

Posted: 2008-07-28, 11:25 UTC
by CatalinC
Currently TC seems to well for me under Wine, just 2 sugestions:

a) the initial 1-2-3 non-registered dialog gets behind the actual TC window under Wine - it is very likely that is a Wine long-shot bug but it might also be easy to fix from TC ...

b) under Wine TCMADMIN.EXE should be launched using sudo/gksudo instead of shellexecuteex/runas ... (again probably something that one day might get into wine in vista-mode emulation :) )

Posted: 2008-07-28, 12:29 UTC
by Sombra
Hello CatalinC,
a) the initial 1-2-3 non-registered dialogue gets behind the actual TC window under Wine - it is very likely that is a Wine long-shot bug but it might also be easy to fix from TC ...
These issue was solved time ago, update to the newest wine version and the problem will disappear.
The handicap: Buttons in toolbar are not redraw correctly, but it was fine in previous wine version :(

Posted: 2008-07-28, 16:10 UTC
by ghisler(Author)
b) I don't think that this is possible because tcmadmin.exe isn't really run, it's emulated - which means that the wine binary would have to be run with admin rights, and then launch tcmadmin.exe. If there is any way to do that from TC, I will of course add it...

It might be ...

Posted: 2008-08-01, 13:00 UTC
by CatalinC
ghisler(Author) wrote:b) I don't think that this is possible because tcmadmin.exe isn't really run, it's emulated - which means that the wine binary would have to be run with admin rights, and then launch tcmadmin.exe. If there is any way to do that from TC, I will of course add it...
If I try to run gksu/gksudo in Wine indeed it does not work from the TC command prompt, however it seems to work OK if I double-click it or generally run it from anywhere else than the TC command line ...

For instance if I create a new button in TC bar with:

command = z:\usr\bin\gksudo

parameter = /home/USER/.wine/drive_c/totalcmd/TOTALCMD.EXE

(case will probably be a small problem ...)

it will ask for password and then launch an 'elevated' TOTALCMD ...

Posted: 2008-08-01, 14:07 UTC
by ghisler(Author)
Sounds good, I could try to launch tcmadmin.exe this way too!

Btw, do you know of any documentation on how to make Windows programs work well with Wine? For example, I would like to set Unix attributes, owner and group of a file, is that posible from Wine?

a little over my head :)

Posted: 2008-08-01, 17:38 UTC
by CatalinC
ghisler(Author) wrote:Sounds good, I could try to launch tcmadmin.exe this way too!

Btw, do you know of any documentation on how to make Windows programs work well with Wine? For example, I would like to set Unix attributes, owner and group of a file, is that posible from Wine?

Apparently the people from Wine don't even want for a program to know it's running under Wine - but with Total Commander you definitely have the best example of why a program would ever want that - so I suggest that you should post a question like that on their forum and they will probably direct you to some hidden RPC call ...