Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable GUI while running Wine setup

I want to be able to run

env `WINEPREFIX="/home/$(whoami)/.callix-wine" WINEARCH="win32" wine "wineboot"`

without having the little window pop up (turn the GUI off):

wine-popup

Is there some sort of argument that I can pass or some sort of variable to use in order to do this? Also, will this argument or variable work with all bash commands?

I want this window to be off in order to install wine with no fuss in a makefile. Also, I did look up everything I could think of to do this, but I don't know where to start or if it is even possible. Thank you.

like image 735
Blue Ice Avatar asked Jul 17 '26 10:07

Blue Ice


1 Answers

I have a file called wine-setup.sh:

#!/bin/bash

# Make a new WINEPREFIX in the user's home directory entitled ".wine"
env `WINEPREFIX="/home/$(whoami)/.wine" WINEARCH="win32" wine "wineboot"`

Run the file with xvfb-run ./wine-setup.sh... and no window appears!

like image 191
Blue Ice Avatar answered Jul 19 '26 08:07

Blue Ice