NOTICE: You are using Guest access.
Please register and login to fully utilize this site. It's FREE.
Username   Password
spacer.png, 0 kB
 
 Show Embedded Player

Forum Home
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Delay wine app. (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Delay wine app.
#2088
Kalon (User)
Super n00b
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2089
stickman (User)
Senior Boarder
Posts: 47
graphgraph
User Offline Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
 
I wonder what this does...
  The administrator has disabled public write access.
#2090
Kalon (User)
Super n00b
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2092
stickman (User)
Senior Boarder
Posts: 47
graphgraph
User Offline Click here to see the profile of this user
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...)
 
Report to moderator   Logged Logged  
 
I wonder what this does...
  The administrator has disabled public write access.
#2093
stickman (User)
Senior Boarder
Posts: 47
graphgraph
User Offline Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
 
I wonder what this does...
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


Provisions and Furnishings for Category5 Technology TV Provided In Part By:
Aliph Jawbone Ubuntu UK Podcast LEI Electronics Inc. Thermaltake ManyCam
If your company is interested in becoming a partner with Category5 Technology TV, and seeing your brand on the show, please [contact us].
spacer.png, 0 kB
spacer.png, 0 kB
spacer.png, 0 kB
   
Creative Commons License
Permissions beyond the scope of this license are available here.
JoomlaWatch Stats 1.2.5 by Matej Koval