(long-shot suggestion) Wine compatibility ...

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
CatalinC
Junior Member
Junior Member
Posts: 16
Joined: 2008-07-28, 10:12 UTC

(long-shot suggestion) Wine compatibility ...

Post 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 :) )
User avatar
Sombra
Power Member
Power Member
Posts: 814
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post 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 :(
I can read English, but... I write like Tarzan. (sorry)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50505
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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...
Author of Total Commander
https://www.ghisler.com
CatalinC
Junior Member
Junior Member
Posts: 16
Joined: 2008-07-28, 10:12 UTC

It might be ...

Post 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 ...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50505
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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?
Author of Total Commander
https://www.ghisler.com
CatalinC
Junior Member
Junior Member
Posts: 16
Joined: 2008-07-28, 10:12 UTC

a little over my head :)

Post 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 ...
Post Reply