How to start Puppy with Windows application running in Wine?

Using applications, configuring, problems
Post Reply
Message
Author
I_Need_Money
Posts: 10
Joined: Fri 08 Jul 2011, 13:05

How to start Puppy with Windows application running in Wine?

#1 Post by I_Need_Money »

Have wine configure and running uder puppy 5.25 running on a ClonePC with 1GM. Works great, lightning fast.

Trying to setup the windows application to start when the PC reboots.

Steps:
Created a bash script to cd to the windows app and run the wine /path/exe
Sample script:
#!/bin/bash
cd /mnt/sda1/root/.wine/drive_c/FX/7027149
wine /mnt/sda1/root/.wine/drive_c/FX/7027149/terminal.exe &

In the /root/Starup directory created a symbolic link to the scrip

If I restart Xwindows the script kick off as expected and everything works
If I reboot the PC the script does not appear to run.

Any ideas?

Thank you

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#2 Post by puppyluvr »

:D Hello,
Add a call to your script at the end of /root/.xinitrc, after "current windowmanager"...
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...

I_Need_Money
Posts: 10
Joined: Fri 08 Jul 2011, 13:05

#3 Post by I_Need_Money »

Thank you for your post, but need a little help.

the /root/.xinitrc has
CURRENTWM="`cat /etc/windowmanager`"
in the middle of the scrip

at the end of the script it has
#exec $CURRENTWM
#v2.11 GuestToo suggested this improvement...
which $CURRENTWM && exec $CURRENTWM
[ -x $CURRENTWM ] && exec $CURRENTWM
exec jwm



Should I set the call unther the fist line or last?
should the script be called:
(.)
nohup /scriptpath/exe &

Thank you in advance

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#4 Post by 8-bit »

Have you tried just adding a script to start the windows application in wine by creating a script and placing it in /root/Startup?

I_Need_Money
Posts: 10
Joined: Fri 08 Jul 2011, 13:05

#5 Post by I_Need_Money »

actually yes, it was the first setup, had the script under /root/Startup. Also had one of the other startup script calling the my script and its consistent everything works when i restart xwin, but not when I reboot.

User avatar
r1tz
Posts: 162
Joined: Thu 09 Sep 2010, 05:19
Location: In #puppylinux (IRC)

#6 Post by r1tz »

You have a save file?

I_Need_Money
Posts: 10
Joined: Fri 08 Jul 2011, 13:05

#7 Post by I_Need_Money »

The install is a full install. To my understanding all changes are save to the hard drive

I can grab any file, just please let me know which one. Sorry, but I am fairly new to puppy.

I_Need_Money
Posts: 10
Joined: Fri 08 Jul 2011, 13:05

#8 Post by I_Need_Money »

The install is a full install. To my understanding all changes are save to the hard drive

I can grab any file, just please let me know which one. Sorry, but I am fairly new to puppy.

Post Reply