You are not logged in.
i would prefer executing command when link is opened in wine instead of browser popping out
also, it would be best if it worked only for one WINEPREFIX, not for all ones.
Last edited by yuri (2019-03-25 20:02:18)
Offline
Your post makes no sense. You made a script? Where is it?
Moving to NC...
Offline
Your post makes no sense. You made a script? Where is it?
Moving to NC...
i’m sorry for not making it understandable. i’ve edited the post and now it should be easier to understand.
Offline
Define "when link is opened in wine"
Do you mean you click on a hyperlink in some windows application running under wine? If so that is a windows issue. If not, please clarify further.
What command do you want to run and when?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Define "when link is opened in wine"
Do you mean you click on a hyperlink in some windows application running under wine? If so that is a windows issue. If not, please clarify further.
What command do you want to run and when?
When link is open in Windows program running under wine it will execute mime-open which will open a browser, but I want to replace mime with my command.
I’ve got my own script that I want to execute everytime when a http/https link will be opened in wine instead of mime-open
Last edited by yuri (2019-03-23 22:40:05)
Offline
So, definitely an X-Y problem. You want to change the behavior of mime-open when it is passed a url - this has nothing to do with wine then:
https://wiki.archlinux.org/index.php/XD … plications
EDIT: wait, by "mime-open" do you mean xdg-open? Or what is "mime-open"?
If all else fails, just set BROWSER to your script when you run wine.
Last edited by Trilby (2019-03-23 22:57:02)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
So, definitely an X-Y problem. You want to change the behavior of mime-open when it is passed a url - this has nothing to do with wine then:
https://wiki.archlinux.org/index.php/XD … plicationsEDIT: wait, by "mime-open" do you mean xdg-open? Or what is "mime-open"?
If all else fails, just set BROWSER to your script when you run wine.
Yes, I meant xdg-open. I could change it there, but I want to replace browser in only one WINEPREFIX, not in whole system. I believe that this can be done through wine regedit, but I don’t know what registry do I edit.
Offline
https://askubuntu.com/questions/516307/ … tead-of-ie
Note: didn't try.
Offline
You should configure Wine Registery to open web pages in wine browser. May you use 'Set as Default' option in your browser.
yes, that worked for me! thank you.
Offline