Re:Delay wine app. (1 viewing) (1) Guests
Favoured: 0
|
|
|
TOPIC: Re:Delay wine app.
|
Kalon (User)
Super n00b
Posts: 4
|
|
Delay wine app. 1 Year, 1 Month ago
|
Karma: 0  
|
|
I saw one of you viewer had a problem with a wine app that needs to be delayed before auto started. This can be quite easy by using the sleep command at the front of the auto start.
example for 10 second delay sleep 10 ; wine /path/to/windows/program
Not sure if this will help the crashing app but I know this has helped me for other situations.
|
|
|
|
|
|
|
The administrator has disabled public write access. |
stickman (User)
Senior Boarder
Posts: 47
|
|
Re:Delay wine app. 1 Year, 1 Month ago
|
Karma: 1  
|
|
Good stuff, Kalon. Does he need the semicolon in the command line?
Plus, I wanted to confirm Robbie's speculation that notepad (/usr/bin/notepad on my box) is indeed a script that essentially starts windohs notepad in wine. The path wasn't explicit in his dialog box because /usr/bin (likely where his is, also) is defined in his user's profile.
It might, also, be worth mentioning that wine command line paths to apps can take on a more windohsy look if you're more comfortable with that syntax. For example; wine C:\Program Files\\ Wine will look in it's default dir (probably ~/.wine) automagically. man wine will explain better.
|
|
|
|
|
|
|
I wonder what this does...
|
|
|
The administrator has disabled public write access. |
Kalon (User)
Super n00b
Posts: 4
|
|
Re:Delay wine app. 1 Year, 1 Month ago
|
Karma: 0  
|
|
Yeah the semicolon acts as a return, waiting for the command to end before running the next.
Looks like that /usr/bin/notepad is indeed a script to run notepad in wine. It's part of the wine package which is why it finds itself out of your home directory.
That's interesting info about the wine paths. I had not realized that before.
|
|
|
|
|
|
|
The administrator has disabled public write access. |
stickman (User)
Senior Boarder
Posts: 47
|
|
Re:Delay wine app. 1 Year, 1 Month ago
|
Karma: 1  
|
|
The syntax didn't show up correctly in my post above.
But backslashes and spaces need to be escaped, in case this doesn't look right again;
"C:\Program Files\Some Directory\mycoolapp.exe"
(Trying it again. Looks ok in the preview window...)
|
|
|
|
|
|
|
I wonder what this does...
|
|
|
The administrator has disabled public write access. |
stickman (User)
Senior Boarder
Posts: 47
|
|
Re:Delay wine app. 1 Year, 1 Month ago
|
Karma: 1  
|
|
Nope. The editor is interpreting the escapes so it looks like a regular windohs path. Sorry.
|
|
|
|
|
|
|
I wonder what this does...
|
|
|
The administrator has disabled public write access. |
|
|
|
Provisions and Furnishings for Category5 Technology TV Provided In Part By:
If your company is interested in becoming a partner with Category5 Technology TV, and seeing your brand on the show, please [ contact us].
|

|