Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

generic wine wrapper
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
seb
Member
Member


Joined: 04 Mar 2003
Posts: 129

PostPosted: Wed Sep 17, 2008 10:34 pm    Post subject: Reply with quote

1. perhaps just try "./wine_wrapper_00x.pl REGADJUST" and paste the output of that

2. try it with CONTROL+RETURN to copy the filename to the command line in TC, then pressing RETURN to actually start it
i sometime get an error even if, theres no space

3. try renaming the .txt to test.txt and move to c:\ to lower dir or filename issues!

4. try changing the DEBUG-level
a. search for my $DEBUG= in wine_wrapper_00x.pl
b. change it from 0 to 9
c. start TC in a terminal ( seb@ubuntu:~$ wine .wine/drive_c/totalcmd/TOTALCMD.EXE )
d. watch the output after you tried to start files...
maybe paste the output here

this is mainly a quote, did you read the thread!? Very Happy
Back to top
View user's profile Send private message
HAL 9000
Senior Member
Senior Member


Joined: 10 Sep 2007
Posts: 258

PostPosted: Tue Nov 11, 2008 4:35 pm    Post subject: Reply with quote

Just one tip: After you copy the file "wine_wrapper_00x.pl" and all that, make the file executable.

My error was that I executed "wine_wrapper_00x.pl" with "perl wine_wrapper_00x.pl REGCREATE" and it worked, but normally when I tried to execute a file, Total Commander complained "Error executing program!"

Hope this helps.
Back to top
View user's profile Send private message
raggafotter
New Member
New Member


Joined: 21 Jan 2009
Posts: 1

PostPosted: Wed Jan 21, 2009 4:13 pm    Post subject: Reply with quote

I have followed the steps 1 -3, but when I try to excecute a program, I just get the message "file not found".
Any Ideas?


|--{ wine_wrapper_005.pl }--> ---------------------- started
|--{ wine_wrapper_005.pl }--> REGCREATEing to ./wine_wrapper_005.pl.reg Smile
|--{ wine_wrapper_005.pl }--> added supported extension: .mp3
|--{ wine_wrapper_005.pl }--> added supported extension: .m3u
|--{ wine_wrapper_005.pl }--> added supported extension: .ogg
|--{ wine_wrapper_005.pl }--> added supported extension: .wav
|--{ wine_wrapper_005.pl }--> added supported extension: .cda
|--{ wine_wrapper_005.pl }--> added supported extension: .mod
|--{ wine_wrapper_005.pl }--> added supported extension: .xm
|--{ wine_wrapper_005.pl }--> added supported extension: .s3m
|--{ wine_wrapper_005.pl }--> added supported extension: .sid
|--{ wine_wrapper_005.pl }--> added supported extension: .it
|--{ wine_wrapper_005.pl }--> added supported extension: .wma
|--{ wine_wrapper_005.pl }--> added supported extension: .pls
|--{ wine_wrapper_005.pl }--> added supported extension: .htm
|--{ wine_wrapper_005.pl }--> added supported extension: .html
|--{ wine_wrapper_005.pl }--> added supported extension: .shtml
|--{ wine_wrapper_005.pl }--> added supported extension: .swf
|--{ wine_wrapper_005.pl }--> added supported extension: .avi
|--{ wine_wrapper_005.pl }--> added supported extension: .mpg
|--{ wine_wrapper_005.pl }--> added supported extension: .mp4
|--{ wine_wrapper_005.pl }--> added supported extension: .mov
|--{ wine_wrapper_005.pl }--> added supported extension: .wmv
|--{ wine_wrapper_005.pl }--> added supported extension: .flv
|--{ wine_wrapper_005.pl }--> added supported extension: .divx
|--{ wine_wrapper_005.pl }--> added supported extension: .vob
|--{ wine_wrapper_005.pl }--> added supported extension: .dv
|--{ wine_wrapper_005.pl }--> added supported extension: .d64
|--{ wine_wrapper_005.pl }--> added supported extension: .lnx
|--{ wine_wrapper_005.pl }--> added supported extension: .d81
|--{ wine_wrapper_005.pl }--> added supported extension: .t64
|--{ wine_wrapper_005.pl }--> added supported extension: .prg
|--{ wine_wrapper_005.pl }--> added supported extension: .p00
|--{ wine_wrapper_005.pl }--> added supported extension: .tap
|--{ wine_wrapper_005.pl }--> added supported extension: .crt
|--{ wine_wrapper_005.pl }--> added supported extension: .d644
|--{ wine_wrapper_005.pl }--> added supported extension: .t644
|--{ wine_wrapper_005.pl }--> added supported extension: .prg4
|--{ wine_wrapper_005.pl }--> added supported extension: .p004
|--{ wine_wrapper_005.pl }--> added supported extension: .tap4
|--{ wine_wrapper_005.pl }--> added supported extension: .d648
|--{ wine_wrapper_005.pl }--> added supported extension: .t648
|--{ wine_wrapper_005.pl }--> added supported extension: .prg8
|--{ wine_wrapper_005.pl }--> added supported extension: .p008
|--{ wine_wrapper_005.pl }--> added supported extension: .tap8
|--{ wine_wrapper_005.pl }--> added supported extension: .png
|--{ wine_wrapper_005.pl }--> added supported extension: .jpg
|--{ wine_wrapper_005.pl }--> added supported extension: .jpeg
|--{ wine_wrapper_005.pl }--> added supported extension: .gif
|--{ wine_wrapper_005.pl }--> added supported extension: .ani
|--{ wine_wrapper_005.pl }--> added supported extension: .bmp
|--{ wine_wrapper_005.pl }--> added supported extension: .iff
|--{ wine_wrapper_005.pl }--> added supported extension: .ico
|--{ wine_wrapper_005.pl }--> added supported extension: .pcx
|--{ wine_wrapper_005.pl }--> added supported extension: .pnm
|--{ wine_wrapper_005.pl }--> added supported extension: .svg
|--{ wine_wrapper_005.pl }--> added supported extension: .ras
|--{ wine_wrapper_005.pl }--> added supported extension: .tga
|--{ wine_wrapper_005.pl }--> added supported extension: .tif
|--{ wine_wrapper_005.pl }--> added supported extension: .wbmp
|--{ wine_wrapper_005.pl }--> added supported extension: .xbm
|--{ wine_wrapper_005.pl }--> added supported extension: .xpm
|--{ wine_wrapper_005.pl }--> added supported extension: .pdf
|--{ wine_wrapper_005.pl }--> added supported extension: .ps
|--{ wine_wrapper_005.pl }--> added supported extension: .xls
|--{ wine_wrapper_005.pl }--> added supported extension: .ods
|--{ wine_wrapper_005.pl }--> added supported extension: .doc
|--{ wine_wrapper_005.pl }--> added supported extension: .odt
|--{ wine_wrapper_005.pl }--> added supported extension: .txt
|--{ wine_wrapper_005.pl }--> added supported extension: .pl
|--{ wine_wrapper_005.pl }--> added supported extension: .ini
|--{ wine_wrapper_005.pl }--> added supported extension: .reg
|--{ wine_wrapper_005.pl }--> added supported extension: .xml
|--{ wine_wrapper_005.pl }--> added supported extension: .c
|--{ wine_wrapper_005.pl }--> added supported extension: .h
|--{ wine_wrapper_005.pl }--> added supported extension: .sql
|--{ wine_wrapper_005.pl }--> added supported extension: .log
|--{ wine_wrapper_005.pl }--> added supported extension: .php
|--{ wine_wrapper_005.pl }--> added supported extension: .php3
|--{ wine_wrapper_005.pl }--> added supported extension: .php4
|--{ wine_wrapper_005.pl }--> added supported extension: .php5
|--{ wine_wrapper_005.pl }--> added supported extension: .hex
|--{ wine_wrapper_005.pl }--> added supported extension: .bin
|--{ wine_wrapper_005.pl }--> added supported extension: .zip
|--{ wine_wrapper_005.pl }--> added supported extension: .rar
|--{ wine_wrapper_005.pl }--> added supported extension: .7z
|--{ wine_wrapper_005.pl }--> added supported extension: .gz
|--{ wine_wrapper_005.pl }--> added supported extension: .arj
|--{ wine_wrapper_005.pl }--> added supported extension: .lha
|--{ wine_wrapper_005.pl }--> added supported extension: .lzh
|--{ wine_wrapper_005.pl }--> added supported extension: .ace
|--{ wine_wrapper_005.pl }--> added supported extension: .bz2
|--{ wine_wrapper_005.pl }--> added supported extension: .iso
|--{ wine_wrapper_005.pl }--> added supported extension: .deb
|--{ wine_wrapper_005.pl }--> finished creating .reg
|--{ wine_wrapper_005.pl }--> you should now have a look and import it via regedit!
Back to top
View user's profile Send private message
seb
Member
Member


Joined: 04 Mar 2003
Posts: 129

PostPosted: Wed Jan 21, 2009 11:40 pm    Post subject: Reply with quote

from what you have pasted i see that you have at least tried step 4b as well,
you should NOW import the .reg file to the registry...

the first post on the second page is just trouble-shooting and not documentation how to get it installed, look inside the .pl file for that!

if you did install it including importing to registry, you may try the stuff on the top of page two. debug=9 and pasting output here might be a good idea, but please strip it down a bit
Back to top
View user's profile Send private message
pale
Junior Member
Junior Member


Joined: 31 Mar 2009
Posts: 6

PostPosted: Tue Mar 31, 2009 5:14 am    Post subject: few wishes Reply with quote

hi "seb" i like your script it is very very usefull, but i have few wishes!!!!

could you create wrapper script for handling context menu for example, when i right click to the file with extension .bz2 or any compresed format, that context menu show me "extract" command

this could be very usefull too, if you can add "open with" command in context menu when doing right click on any file(i try this with wine and adding some reg keys that is used for "right click" options in normal windows version, but doesnt seems to work <--- this is wine issue)

(wthout wrapper script to show nativly windows context menu shell32.dll must be edited and add some registry key <---- but this is for wine developers)

and one more wish, if you can add support for multiple file opening with one program

that would me all
regards

ps: please answer to my post i wana now what to do next
Back to top
View user's profile Send private message
pale
Junior Member
Junior Member


Joined: 31 Mar 2009
Posts: 6

PostPosted: Mon Apr 06, 2009 6:24 am    Post subject: not needed anymore Reply with quote

i done it on my own way
Back to top
View user's profile Send private message
seb
Member
Member


Joined: 04 Mar 2003
Posts: 129

PostPosted: Sat Apr 25, 2009 2:56 am    Post subject: Reply with quote

very nice, tell us about it! Smile
Back to top
View user's profile Send private message
infro
New Member
New Member


Joined: 17 Jun 2009
Posts: 1
Location: Lithuania

PostPosted: Wed Jun 17, 2009 5:09 pm    Post subject: Reply with quote

Hi,
I tried this script and it works. Thank You sooo much Smile
Also functionallity mentioned by 'pale' would be really nice (if that is possible).
BTW, is there a way to make F4 open documents in gedit or some other linux program?
thanks.
_________________
I couldn't afford a cool signature, so I just got this one.
Back to top
View user's profile Send private message
Dominus
Junior Member
Junior Member


Joined: 27 Apr 2004
Posts: 42

PostPosted: Wed Sep 23, 2009 10:51 am    Post subject: Reply with quote

Hi, I'm now on a Mac and this is not fully working for me. Most likely because I'm using Crossover and cannot get the winepath working.
Can I pass this winepath with the abslout path to wine (/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin/wine) somehow in the perl script?

(I know you are probably not monitoring this forum anymore...)
Back to top
View user's profile Send private message
Dominus
Junior Member
Junior Member


Joined: 27 Apr 2004
Posts: 42

PostPosted: Tue Oct 06, 2009 8:35 pm    Post subject: Reply with quote

made it work now...
my steps:
- built current Wine with MacPorts
- made script:
Code:
#!/usr/bin/env bash
export WINEPATH="/opt/local/bin"
Open /Applications/crossover.app


of course you can just use the self built wine for that, too Smile
Back to top
View user's profile Send private message
davidonlaptop
New Member
New Member


Joined: 15 Oct 2009
Posts: 1

PostPosted: Thu Oct 15, 2009 10:42 pm    Post subject: Open folder with music player Reply with quote

Nice!! That works great!

is there a way to do a right-click on a music folder and choose "open with music player", like winamp does?
Back to top
View user's profile Send private message
Dominus
Junior Member
Junior Member


Joined: 27 Apr 2004
Posts: 42

PostPosted: Sun Nov 08, 2009 10:25 am    Post subject: Reply with quote

after mucking around more and more with this I found out that if you just want to have your standard Mac/Linux application start with a doubleclicked file, you can just associate them with winebrowser.
Example:
Code:

REGEDIT4
[HKEY_CLASSES_ROOT\.mp3]
@="WINE_BROWSER.file"

[HKEY_CLASSES_ROOT\WINE_BROWSER.file\shell\open\command]
@="winebrowser \"%1\""


So no reason to use the wine wrapper.
Back to top
View user's profile Send private message
marlar
Junior Member
Junior Member


Joined: 08 Mar 2010
Posts: 25

PostPosted: Tue Mar 09, 2010 6:25 am    Post subject: Reply with quote

Dominus wrote:
after mucking around more and more with this I found out that if you just want to have your standard Mac/Linux application start with a doubleclicked file, you can just associate them with winebrowser.


Thanks. That worked perfectly!
Back to top
View user's profile Send private message
wuxort
New Member
New Member


Joined: 19 Sep 2010
Posts: 1

PostPosted: Sun Sep 19, 2010 5:32 am    Post subject: Icons Reply with quote

It would be nice if i can get the Icon-s working, so i could separate all those things better, i think its easy to make, though i don't know exactly. I would be happy if i see this in a newer version, or just a post how can I do that Smile

Thanx

WuXorT
Back to top
View user's profile Send private message
Murdah777
New Member
New Member


Joined: 14 Oct 2010
Posts: 1

PostPosted: Thu Oct 14, 2010 6:56 am    Post subject: Reply with quote

Nice!! That works great!

is there a way to do a right-click on a music folder and choose "open with music player", like winamp does?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group