Categories
- AdSense
- Configurations
- Desktop
- Enlightenment
- Gadjet
- IT News
- Jurnallinux
- linux
- Linux Tips
- Misc
- mobile
- Products
- Programming
- Projects
- Software
- System
- Uncategorized
- wine
Blogroll
Re: [Wine] Fun Wine Project — Configure Some Default
A. Tres Finocchiaro skrev: From what I know, that won’t work because Wine’s start.exe (like _______________________________________________
> As far as going in the other direction, simply using “wine start
> /path/to/file” in theory would launch wine’s default app for that
> association. Should be a one-liner.
Windows’s) interprets a leading slash as an option, not as a path.
(Debian bug #420207 told me. So I suggested “wine start `winepath -w
/path/to/file`” instead…)
wine-users mailing list
wine-users@winehq.org
http://www.winehq.org/mailman/listinfo/wine-users
Thursday ~ January 01, 2008 by admin Posted in linux | No Comments
Re: [Wine] Fun Wine Project — Configure Some Default Registry
–===============0502969118778147118== ——=_Part_3112_8304474.1201782657677 Well, this should handle most all file types. What is winecfg written in? The URIs/URLs may be a bit tougher to wrap up. As far as going in the other direction, simply using “wine start -Tres On Wed, Jan 30, 2008 at 9:56 PM, Dave M wrote: > I have been thinking that this sort of thing should be part of wineconfig. – ——=_Part_3112_8304474.1201782657677 Well, this should handle most all file types. What is winecfg written in? I'd be happy to work with the source, but I'm a java guy, so I might be spinning my wheels. The URIs/URLs may be a bit tougher to wrap up. As far as going in the other direction, simply using "wine start /path/to/file" in theory would launch wine's default app for that association. Should be a one-liner. -Tres Just my $.02 Dave >>My first post. >>- <mailto:Tres.Finocchiaro@gmail.com>Tres.Finocchiaro@gmail.com ——————————- First Sale doctrine under attack, libraries at risk: http://www.eff.org/deeplinks/archives/005400.php
_______________________________________________ – ——=_Part_3112_8304474.1201782657677– –===============0502969118778147118== _______________________________________________ –===============0502969118778147118==–
Content-Type: multipart/alternative;
boundary=”—-=_Part_3112_8304474.1201782657677″
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I’d be happy to work with the source, but I’m a java guy, so I might be
spinning my wheels.
/path/to/file” in theory would launch wine’s default app for that
association. Should be a one-liner.
> Windows allows users to define what applications should open what
> documents
> and so should wine. But wine should also have the added benefit of
> allowing
> a choice of native or windows apps to be used. It was a major pain getting
> my windows apps to launch native firefox when links are clicked. It would
> be nice if this was built into wine.
>
> Just my $.02
>
> Dave
>
> At 04:54 PM 1/30/2008 , Tres wrote:
> >Updates:
> >
> >I renamed the shell script “winelaunch” to “winenative” to avoid
> confusion
> >with the “winelauncher” binary.
> >
> >It will need some work to dynamically use switches, like “-p” for
> printing
> >etc. Any basic shell scripter could prob help me out with that one. Let
> >me know if you can help.
> >
> >I’ve modified the native call to simply call on “gnome-open”. It
> >seamlessly opens any file you want natively. I’d like to include samples
> >for kde, xfce, etc (or determine dynamically if that’s a possibility).
> >
> >I’ve attached two files. “word.reg” is a sample registry file. Save it
> >to your desktop and do an import on it. Please note, the “-p” portion
> >won’t work until the switches are sorted out, but won’t do any harm.
> > #> regedit /home/username/Desktop/word.reg
> >
> >The second file is the “winenative” shell script. Save it to your
> >desktop, copy it to /usr/bin, and make it executable:
> > #> sudo cp /home/username/Desktop/winenative /usr/bin/
> > #> sudo chmod +x /usr/bin/winenative
> >
> >Then try to open a word document with your windows application.
> >
> >-Tres
> >
> >On Wed, Jan 30, 2008 at 7:40 AM, A. Tres Finocchiaro
> ><tres.finocchiaro@gmail.com> wrote:
> >>My first post.
> >>
> >>Fun Wine Project — Configure Some Default Registry Entries
> >>
> >>I’ve begun working on this to import some native calls into wine. More
> >>specifically, OpenOffice.org. I’m trying to get Lotus Notes attachments
> >>to display proper icons, and open natively with OOo.
> >>
> >>I’ve come across a dilemma. I can’t seem to “easily” open a Windows
> path,
> >>i.e. “C:\Windows\temp\test.doc” with openoffice due to path issues.
> >>
> >>I’ve implemented a very small fix called “winelaunch”, but I’m afraid
> the
> >>name is too close to “winelauncher”, and would probably confuse
> >>people. Here’s it’s code:
> >>
> >> #!/bin/sh
> >> #/usr/bin/winelaunch
> >> $1 `winepath $2 $3`;
> >> exit 1;
> >>
> >>And here’s a sample registry entry:
> >>
> >> REGEDIT4
> >>
> >> [HKEY_CLASSES_ROOT\.doc]
> >> @=”docfile”
> >> “Content Type”=”application/ooowriter”
> >>
> >> [HKEY_CLASSES_ROOT\docfile]
> >>
> >> [HKEY_CLASSES_ROOT\docfile\shell]
> >>
> >> [HKEY_CLASSES_ROOT\docfile\shell\open]
> >>
> >> [HKEY_CLASSES_ROOT\docfile\shell\open\command]
> >> @=”/usr/bin/winelaunch /usr/bin/openoffice %1″
> >>
> >>Although icons don’t display properly, it does open the attachment in
> >>Lotus Notes.
> >>
> >>Cheers.
> >>
> >>-Tres
> >>–
> >>- Tres.Finocchiaro@gmail.com
> >
> >
> >
> >–
> >- Tres.Finocchiaro@gmail.com
> >Content-Type: application/octet-stream; name=winenative
> >X-Attachment-Id: f_fc34i45k0
> >Content-Disposition: attachment; filename=winenative
> >
> >Content-Type: application/octet-stream; name=word.reg
> >X-Attachment-Id: f_fc34iilb1
> >Content-Disposition: attachment; filename=word.reg
> >
> >_______________________________________________
> >wine-users mailing list
> >wine-users@winehq.org
> >http://www.winehq.org/mailman/listinfo/wine-users
>
> ——————————-
> Dave M
> Davem (at) Mich (dot) Com
> Ann Arbor, Mich. USA
>
> First Sale doctrine under attack, libraries at risk:
>
> http://www.eff.org/deeplinks/archives/005400.php
>
>
> _______________________________________________
> wine-users mailing list
> wine-users@winehq.org
> http://www.winehq.org/mailman/listinfo/wine-users
>
- Tres.Finocchiaro@gmail.com
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I have been thinking that this sort of thing should be part of wineconfig.
Windows allows users to define what applications should open what documents
and so should wine. But wine should also have the added benefit of allowing
a choice of native or windows apps to be used. It was a major pain getting
my windows apps to launch native firefox when links are clicked. It would
be nice if this was built into wine.
>Updates:
>
>I renamed the shell script "winelaunch" to "winenative" to avoid confusion
>with the "winelauncher" binary.
>
>It will need some work to dynamically use switches, like "-p" for printing
>etc. Any basic shell scripter could prob help me out with that one. Let
>me know if you can help.
>
>I've modified the native call to simply call on "gnome-open". It
>seamlessly opens any file you want natively. I'd like to include samples
>for kde, xfce, etc (or determine dynamically if that's a possibility).
>
>I've attached two files. "word.reg" is a sample registry file. Save it
>to your desktop and do an import on it. Please note, the "-p" portion
>won't work until the switches are sorted out, but won't do any harm.
> #> regedit /home/username/Desktop/word.reg
>
>The second file is the "winenative" shell script. Save it to your
>desktop, copy it to /usr/bin, and make it executable:
> #> sudo cp /home/username/Desktop/winenative /usr/bin/
> #> sudo chmod +x /usr/bin/winenative
>
>Then try to open a word document with your windows application.
>
>-Tres
>
>On Wed, Jan 30, 2008 at 7:40 AM, A. Tres Finocchiaro
>>
>>Fun Wine Project — Configure Some Default Registry Entries
>>
>>I've begun working on this to import some native calls into wine. More
>>specifically, OpenOffice.org. I'm trying to get Lotus Notes attachments
>>to display proper icons, and open natively with OOo.
>>
>>I've come across a dilemma. I can't seem to "easily" open a Windows path,
>>i.e. "C:\Windows\temp\test.doc" with openoffice due to path issues.
>>
>>I've implemented a very small fix called "winelaunch", but I'm afraid the
>>name is too close to "winelauncher", and would probably confuse
>>people. Here's it's code:
>>
>> #!/bin/sh
>> #/usr/bin/winelaunch
>> $1 `winepath $2 $3`;
>> exit 1;
>>
>>And here's a sample registry entry:
>>
>> REGEDIT4
>>
>> [HKEY_CLASSES_ROOT\.doc]
>> @="docfile"
>> "Content Type"="application/ooowriter"
>>
>> [HKEY_CLASSES_ROOT\docfile]
>>
>> [HKEY_CLASSES_ROOT\docfile\shell]
>>
>> [HKEY_CLASSES_ROOT\docfile\shell\open]
>>
>> [HKEY_CLASSES_ROOT\docfile\shell\open\command]
>> @="/usr/bin/winelaunch /usr/bin/openoffice %1"
>>
>>Although icons don't display properly, it does open the attachment in
>>Lotus Notes.
>>
>>Cheers.
>>
>>-Tres
>>–
>
>
>
>–
>- <mailto:Tres.Finocchiaro@gmail.com>Tres.Finocchiaro@gmail.com
>Content-Type: application/octet-stream; name=winenative
>X-Attachment-Id: f_fc34i45k0
>Content-Disposition: attachment; filename=winenative
>
>Content-Type: application/octet-stream; name=word.reg
>X-Attachment-Id: f_fc34iilb1
>Content-Disposition: attachment; filename=word.reg
>
>_______________________________________________
>wine-users mailing list
>wine-users@winehq.org
>http://www.winehq.org/mailman/listinfo/wine-users
Dave M
Davem (at) Mich (dot) Com
Ann Arbor, Mich. USA
wine-users mailing list
wine-users@winehq.org
http://www.winehq.org/mailman/listinfo/wine-users
- Tres.Finocchiaro@gmail.com
Content-Type: text/plain; charset=”us-ascii”
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
wine-users mailing list
wine-users@winehq.org
http://www.winehq.org/mailman/listinfo/wine-users
Thursday ~ January 01, 2008 by admin Posted in linux | No Comments
Re: [Wine] Fun Wine Project — Configure Some Default Registry
I have been thinking that this sort of thing should be part of wineconfig. Just my $.02 Dave At 04:54 PM 1/30/2008 , Tres wrote: ——————————- First Sale doctrine under attack, libraries at risk: http://www.eff.org/deeplinks/archives/005400.php _______________________________________________
Windows allows users to define what applications should open what documents
and so should wine. But wine should also have the added benefit of allowing
a choice of native or windows apps to be used. It was a major pain getting
my windows apps to launch native firefox when links are clicked. It would
be nice if this was built into wine.
>Updates:
>
>I renamed the shell script “winelaunch” to “winenative” to avoid confusion
>with the “winelauncher” binary.
>
>It will need some work to dynamically use switches, like “-p” for printing
>etc. Any basic shell scripter could prob help me out with that one. Let
>me know if you can help.
>
>I’ve modified the native call to simply call on “gnome-open”. It
>seamlessly opens any file you want natively. I’d like to include samples
>for kde, xfce, etc (or determine dynamically if that’s a possibility).
>
>I’ve attached two files. “word.reg” is a sample registry file. Save it
>to your desktop and do an import on it. Please note, the “-p” portion
>won’t work until the switches are sorted out, but won’t do any harm.
> #> regedit /home/username/Desktop/word.reg
>
>The second file is the “winenative” shell script. Save it to your
>desktop, copy it to /usr/bin, and make it executable:
> #> sudo cp /home/username/Desktop/winenative /usr/bin/
> #> sudo chmod +x /usr/bin/winenative
>
>Then try to open a word document with your windows application.
>
>-Tres
>
>On Wed, Jan 30, 2008 at 7:40 AM, A. Tres Finocchiaro
><tres.finocchiaro@gmail.com> wrote:
>>My first post.
>>
>>Fun Wine Project — Configure Some Default Registry Entries
>>
>>I’ve begun working on this to import some native calls into wine. More
>>specifically, OpenOffice.org. I’m trying to get Lotus Notes attachments
>>to display proper icons, and open natively with OOo.
>>
>>I’ve come across a dilemma. I can’t seem to “easily” open a Windows path,
>>i.e. “C:\Windows\temp\test.doc” with openoffice due to path issues.
>>
>>I’ve implemented a very small fix called “winelaunch”, but I’m afraid the
>>name is too close to “winelauncher”, and would probably confuse
>>people. Here’s it’s code:
>>
>> #!/bin/sh
>> #/usr/bin/winelaunch
>> $1 `winepath $2 $3`;
>> exit 1;
>>
>>And here’s a sample registry entry:
>>
>> REGEDIT4
>>
>> [HKEY_CLASSES_ROOT\.doc]
>> @=”docfile”
>> “Content Type”=”application/ooowriter”
>>
>> [HKEY_CLASSES_ROOT\docfile]
>>
>> [HKEY_CLASSES_ROOT\docfile\shell]
>>
>> [HKEY_CLASSES_ROOT\docfile\shell\open]
>>
>> [HKEY_CLASSES_ROOT\docfile\shell\open\command]
>> @=”/usr/bin/winelaunch /usr/bin/openoffice %1″
>>
>>Although icons don’t display properly, it does open the attachment in
>>Lotus Notes.
>>
>>Cheers.
>>
>>-Tres
>>–
>>- Tres.Finocchiaro@gmail.com
>
>
>
>–
>- Tres.Finocchiaro@gmail.com
>Content-Type: application/octet-stream; name=winenative
>X-Attachment-Id: f_fc34i45k0
>Content-Disposition: attachment; filename=winenative
>
>Content-Type: application/octet-stream; name=word.reg
>X-Attachment-Id: f_fc34iilb1
>Content-Disposition: attachment; filename=word.reg
>
>_______________________________________________
>wine-users mailing list
>wine-users@winehq.org
>http://www.winehq.org/mailman/listinfo/wine-users
Dave M
Davem (at) Mich (dot) Com
Ann Arbor, Mich. USA
wine-users mailing list
wine-users@winehq.org
http://www.winehq.org/mailman/listinfo/wine-users
Thursday ~ January 01, 2008 by admin Posted in linux | No Comments
