代码: |
ln -s /dev/hdc ~/.wine/dosdevices/d\:\: |
代码: |
wine iexplore http://www.winehq.org |
代码: |
wine iexplore http://www.winehq.org |
代码: |
REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes] "Arial"="simsun" "Arial CE,238"="simsun" "Arial CYR,204"="simsun" "Arial Greek,161"="simsun" "Arial TUR,162"="simsun" "Courier New"="simsun" "Courier New CE,238"="simsun" "Courier New CYR,204"="simsun" "Courier New Greek,161"="simsun" "Courier New TUR,162"="simsun" "FixedSys"="simsun" "Helv"="simsun" "Helvetica"="simsun" "MS Sans Serif"="simsun" "MS Shell Dlg"="simsun" "MS Shell Dlg 2"="simsun" "System"="simsun" "Tahoma"="simsun" "Times"="simsun" "Times New Roman CE,238"="simsun" "Times New Roman CYR,204"="simsun" "Times New Roman Greek,161"="simsun" "Times New Roman TUR,162"="simsun" "Tms Rmn"="simsun" |
代码: |
wine /media/cdrom0/setup.exe |
代码: |
wine eject d: |
代码: |
wine msiexec /i install.msi |
代码: |
wine start install.msi |
代码: |
wine application.exe |
代码: |
WINEDEBUG=-all game.exe |
代码: |
sudo renice -10 -n game.exe |
代码: |
nano launcher.sh(可以用vim替换nano) |
代码: |
#!/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 & nvidia-settings --load-config-only # Goto game dir (modify as needed) cd "$HOME/.wine/drive_c/Program Files/Game/Directory/" # 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/Game/Directory/game.exe" |
代码: |
chmod +x ~/launcher.sh |
代码: |
sh launcher.sh |
代码: |
./launcher.sh |
代码: |
sudo X :3 -ac & nvidia-settings --load-config-only |
代码: |
sudo /etc/init.d/gdm start |
代码: |
sudo /etc/init.d/kdm start |
代码: |
startx |