You are not logged in.
Pages: 1
i have set up a script to start a separate X when starting certain games to simulate fullscreen the only problem is that after awhile the sound simply stops if i switch back to the first X i can start and play sounds there but the only solution i have so far for getting sound back in the other X server is by restarting it and that isnt really optimal here is the script im using to start X
#!/bin/sh
#uncomment if launching from console session
#sudo /etc/init.d/gdm stop
#KDE use this instead
#sudo /etc/init.d/kdm stop
# Launches a new X session on display 3. If you don't have an Nvidia card
# take out the "& nvidia-settings --load-config-only" part
X :3 -ac -config xorg.conf.wine & nvidia-settings --load-config-only
# Goto game dir (modify as needed)
cd "/media/storage/Program Files/Electronic Arts/Command & Conquer 3 Kanes Wrath"
# Forces the system to have a break for 2 seconds, X doesn't launch instantly
sleep 2
# Launches game (modify as needed)
DISPLAY=:3 WINEDEBUG=-all wine "C:\Program Files\Electronic Arts\Command & Conquer 3 Kanes Wrath\cnc3ep1.exe" -opengl
i would also like a way to shut this X of when im done playing the only way i have atm is by pressing Ctrl+alt+backspace although im pretty sure there is a better way
dovie andi se tovya sagain
Offline
Not sure about the sound problem but to have X close after playing change:
X :3 -ac -config xorg.conf.wine & nvidia-settings --load-config-only
to
X :3 -ac -terminate -config xorg.conf.wine & nvidia-settings --load-config-only
Offline
Pages: 1