VOXCALL - autostart under linux mint

Status
Not open for further replies.

mitchk

Member
Feed Provider
Joined
May 22, 2011
Messages
13
Location
Champaign, IL
Hi!

I'm using VOXCALL running under Linux Mint using WINE and PulseAudio. Kinda a Linux newbie.

When I issue these commands in a terminal window, VOXCALL works perfectly:

cd /home/mitch/voxcall/
wine voxcall.exe


I'd like for VOXCALL to start automatically upon system boot. I created a script on my desktop, start-voxcall.sh, and gave it execute permission:

#!/bin/sh
cd /home/mitch/voxcall/
wine voxcall.exe


I can run that script in a terminal window and it works perfectly. I add that script to the "Startup Applications" GUI with a 30-second delay. When I click "Run Now" in the GUI, it runs perfectly. But it doesn't run when the system actually boots. I feel like I'm missing something simple. Any direction would be appreciated!

Thanks!
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,307
I'm not a Mint or WINE user so I can't answer your question directly, but since the Python source for voxcall is available you should be able to run the Python script directly without having to use WINE at all, though you may need to install some dependencies. Not sure if that will help with your startup issues or not.
 

lwvmobile

DSD-FME
Joined
Apr 26, 2020
Messages
1,360
Location
Lafayette County, FL
Ran into something similar to this before, not sure what the name of your default terminal is, but here is what I use in a sh file if I want to run something from a terminal. If you are using XFCE4-terminal, or have it installed, you can use something like this:

Code:
#!/bin/sh
xfce4-terminal --title="Wine Application" -x /bin/bash -c 'wine /path/to/executable.exe; read'

other terminals may have slight differences in the syntax, but you can always check the man page, or just do a quick
Code:
sudo apt install xfce4-terminal
 

mitchk

Member
Feed Provider
Joined
May 22, 2011
Messages
13
Location
Champaign, IL
Hey Iwvmobile!

That code did the job. Thanks SO much. Just one issue. When VOXCALL boots through that startup script, the audio input device is being set to "Wine Sound Mapper - Input". I need it to be "Pulseaudio". Any way to specify that in the command line or script?

Thanks again!
MItch
 

mitchk

Member
Feed Provider
Joined
May 22, 2011
Messages
13
Location
Champaign, IL
That didn't quite do it, but by putting this before the xfce4-terminal command, everything looks good.
Code:
cd /path/to/voxcall/
Thanks again for the guidance!
 

mitchk

Member
Feed Provider
Joined
May 22, 2011
Messages
13
Location
Champaign, IL
Final .sh file is:
Code:
#!/bin/sh
cd /path/to/voxcall/
xfce4-terminal --title="Wine Application" -x /bin/bash -c 'wine /path/to/voxcall/voxcall.exe; read'
Correctly autostarts (using "Startup Applications" in LInux Mint) and populates VOXCALL with the config.cfg parameters in its directory. Thanks again!
 
Status
Not open for further replies.
Top