中国Linux公社论坛's Archiver

liuspider 发表于 2003-1-22 11:36

[quote:bac0cbdc3b="Chris"]我按照你的方法一步一步做的
都成功了
但还是不能输入中文
我使用的是本站的xsim[/quote]

我使用的就是 xsim 的

你应该是使用的以前的 config 文件吧,要确保下面这段在你的 config 文件中

[InputMethod]
; Use XIM Input Method
"UseXIM" = "Y"
; XIM Input Style : "overthespot" or "offthespot" or "root" (default).
"InputStyle" = "overthespot"
"XIMFontSet" = "-adobe-helvetica-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--18-*-*-*-*-*-gb2312.1980-0,*-r-*"

再试试看

先拿 notepad 来试验比较好,而且在启动后,注意看看console 中是否有什么特别的输出

liuspider 发表于 2003-1-22 11:45

[quote:ef1f63003f="lafy"]我第一次装WINE的时候没有装中文补丁,现在是不是要先装一遍中文补丁,然后重新
编译WINE啊?
// ASDFASFFASF
patch -p0 XIM.patch.diff
./configure
make depend
make
make install

//帮我看看过程对不对啊[/quote]

将 patch -p0 XIM.patch.diff 改为
patch -p0 <XIM.patch.diff

是的,需要重新编译,建议重新解出一个干净的源码目录,不要使用以前编译过的那个版本

pk 发表于 2003-1-23 17:55

呵呵,这个wine我想装金山词霸2003居然装不起来。老是提示 ikernel.exe 不能打开。金山词霸2002已经被我驱逐了。直接运行已经装好的金山词霸2003还是不是行。其它的运行都还可以,感觉是有点慢,字体效果也不太清楚。

liuspider 发表于 2003-1-23 21:20

我的教程中有说明为什么会发生”找不到ikernel.exe“的错误的

将 wine 工具包 中的 updatereg 放到 wine 源码的根目录中,并执行他
./updatereg
如果你在后面执行 金山词霸 2002 的安装程序时,得到找不到 ikernel.exe 的错误提示,那么就是因为少做了这一步。

pk 发表于 2003-1-23 22:17

[quote:18eb3eb240="liuspider"]我的教程中有说明为什么会发生”找不到ikernel.exe“的错误的

将 wine 工具包 中的 updatereg 放到 wine 源码的根目录中,并执行他
./updatereg
如果你在后面执行 金山词霸 2002 的安装程序时,得到找不到 ikernel.exe 的错误提示,那么就是因为少做了这一步。[/quote]

我当然看了,才会问的哦。不过,我装的是2003版,而且是通过iso安装的。

liuspider 发表于 2003-1-23 22:44

还要确保安装了 dcom98 的

我到 ciba 的官方网站上,也没有看到出 2003 版本啊,你从哪里搞到的? 我估计是一些人自己修改的版本的,词库应该还是 2002 的

pk 发表于 2003-1-23 23:03

我前面做的没有错哦。一路下来都比较顺利,QQ运行还可以,就是感到速度有是点慢,而且字体不太清楚。2003版的我已经在ms下用了近一个月左右了,而且在金山的主页他的sp1已经出了,你没有注意呀?
对了,我由于硬盘空间小,我已经把源文件给删除了。我也看了你那个updatereg 脚本的内容,只有四行。有没有别的方法?如果没有就算了。

longlong 发表于 2003-1-24 10:56

不好意思。我用的是FreeBSD-4.7-stable,不知道在这里问合适吗?我下了wine-20030115输入法修正版。
configure ,make depend && make install都美问题。
到make install的时候就出错:

cd `dirname include/__install__` && make install
../tools/mkinstalldirs /usr/local/wine/include/wine /usr/local/wine/include/wine/windows /usr/local/wine/include/wine/msvcrt /usr/local/wine/include/wine/msvcrt/sys
for f in accctrl.h  audevcod.h  basetsd.h  cderr.h  cguid.h  comcat.h  commctrl.h  commdlg.h  compobj.h  cpl.h  custcntl.h  d3d.h  d3d8.h  d3d8caps.h  d3d8types.h  d3dcaps.h  d3dhal.h  d3dtypes.h  d3dvec.inl  d3dx8core.h  dde.h  ddeml.h  ddraw.h  ddrawi.h  digitalv.h  dinput.h  dispdib.h  dlgs.h  dmo.h  dmoreg.h  dmort.h  docobj.h  dplay.h  dplobby.h  dsdriver.h  dshow.h  dsound.h  excpt.h  fci.h  fdi.h  guiddef.h  icmpapi.h  imagehlp.h  imm.h  initguid.h  instance.h  ipexport.h  lm.h  lmaccess.h  lmapibuf.h  lmbrowsr.h  lmcons.h  lmerr.h  lmwksta.h  lzexpand.h  mapi.h  mapicode.h  mapidefs.h  mciavi.h  mcx.h  mediaerr.h  mediaobj.h  minmax.h  mmddk.h  mmreg.h  mmsystem.h  msacm.h  msacmdlg.h  mssip.h  mswsock.h  nb30.h  netspi.h  nspapi.h  ntddcdrm.h  ntddscsi.h  ntddstor.h  ntsecapi.h  ntstatus.h  objbase.h  ocidl.h  ole2.h  ole2ver.h  oleauto.h  olectl.h  oledlg.h  oleidl.h  pktdef.h  poppack.h  prsht.h  psapi.h  pshpack1.h  pshpack2.h  pshpack4.h  pshpack8.h  ras.h  regstr.h  richedit.h  richole.h  rpc.h  rpcdce.h  rpcdcep.h  rpcndr.h  rpcnterr.h  rpcproxy.h  servprov.h  setupapi.h  shellapi.h  shlguid.h  shlobj.h  shlwapi.h  sipbase.h  sql.h  sqlext.h  sqltypes.h  storage.h  tapi.h  tchar.h  tlhelp32.h  urlmon.h  uuids.h  ver.h  vfw.h  vfwmsgs.h  winbase.h  wincon.h  wincrypt.h  windef.h  windows.h  windowsx.h  winerror.h  wingdi.h  wininet.h  winioctl.h  winnetwk.h  winnls.h  winnt.h  winreg.h  winres.h  winresrc.h  winsock.h  winsock2.h  winspool.h  winsvc.h  wintab.h  wintabx.h  winternl.h  winuser.h  winver.h  wnaspi32.h  wownt32.h  ws2spi.h  ws2tcpip.h  wshisotp.h  wsipx.h  zmouse.h  oaidl.h objidl.h unknwn.h wtypes.h; do /usr/bin/install -c  -m 644  ./$f /usr/local/wine/include/wine/windows/$f; done
for f in msvcrt/conio.h  msvcrt/crtdbg.h  msvcrt/ctype.h  msvcrt/direct.h  msvcrt/dirent.h  msvcrt/dos.h  msvcrt/eh.h  msvcrt/errno.h  msvcrt/fcntl.h  msvcrt/io.h  msvcrt/locale.h  msvcrt/malloc.h  msvcrt/mbctype.h  msvcrt/mbstring.h  msvcrt/process.h  msvcrt/search.h  msvcrt/setjmp.h  msvcrt/share.h  msvcrt/stddef.h  msvcrt/stdio.h  msvcrt/stdlib.h  msvcrt/string.h  msvcrt/sys/locking.h  msvcrt/sys/stat.h  msvcrt/sys/timeb.h  msvcrt/sys/types.h  msvcrt/sys/unistd.h  msvcrt/sys/utime.h  msvcrt/time.h  msvcrt/unistd.h  msvcrt/wchar.h  msvcrt/wctype.h; do /usr/bin/install -c  -m 644  ./$f /usr/local/wine/include/wine/$f; done
for f in debug.h  exception.h  library.h  obj_cache.h  obj_comcat.h  obj_commdlgbrowser.h  obj_connection.h  obj_contextmenu.h  obj_control.h  obj_dockingwindowframe.h  obj_dragdrop.h  obj_dragdrophelper.h  obj_enumguid.h  obj_enumidlist.h  obj_extracticon.h  obj_inplace.h  obj_olefont.h  obj_oleobj.h  obj_oleundo.h  obj_oleview.h  obj_picture.h  obj_property.h  obj_serviceprovider.h  obj_shellbrowser.h  obj_shellextinit.h  obj_shellfolder.h  obj_shelllink.h  obj_shellview.h  obj_webbrowser.h  unicode.h; do /usr/bin/install -c  -m 644  ./wine/$f /usr/local/wine/include/wine/$f; done
cd `dirname ole/__install__` && make install
../tools/mkinstalldirs /usr/local/wine/lib
/usr/bin/install -c  -m 644  libwine_uuid.a /usr/local/wine/lib/libwine_uuid.a
cd `dirname tools/__install__` && make install
cd `dirname widl/__install__` && make install
../../tools/mkinstalldirs /usr/local/wine/bin
/usr/bin/install -c   widl /usr/local/wine/bin/widl
cd `dirname winebuild/__install__` && make install
../../tools/mkinstalldirs /usr/local/wine/bin /usr/local/wine/man/man1
/usr/bin/install -c   winebuild /usr/local/wine/bin/winebuild
/usr/bin/install -c  -m 644  winebuild.man /usr/local/wine/man/man1/winebuild.1
cd `dirname winedump/__install__` && make install
../../tools/mkinstalldirs /usr/local/wine/bin
/usr/bin/install -c   winedump /usr/local/wine/bin/winedump
/usr/bin/install -c   ./function_grep.pl /usr/local/wine/bin/function_grep.pl
cd `dirname wmc/__install__` && make install
../../tools/mkinstalldirs /usr/local/wine/bin /usr/local/wine/man/man1
/usr/bin/install -c  -m 644  ./wmc.man /usr/local/wine/man/man1/wmc.1
/usr/bin/install -c   wmc /usr/local/wine/bin/wmc
cd `dirname wpp/__install__` && make install
cd `dirname wrc/__install__` && make install
../../tools/mkinstalldirs /usr/local/wine/bin /usr/local/wine/man/man1
/usr/bin/install -c  -m 644  ./wrc.man /usr/local/wine/man/man1/wrc.1
/usr/bin/install -c   wrc /usr/local/wine/bin/wrc
../tools/mkinstalldirs /usr/local/wine/bin /usr/local/wine/man/man1
/usr/bin/install -c   ./winemaker /usr/local/wine/bin/winemaker
/usr/bin/install -c   winegcc /usr/local/wine/bin/winegcc
cd /usr/local/wine/bin && rm -f wineg++ && ln -s winegcc wineg++
/usr/bin/install -c   winewrap /usr/local/wine/bin/winewrap
/usr/bin/install -c  -m 644  ./winemaker.man /usr/local/wine/man/man1/winemaker.1
cd `dirname documentation/__install__` && make install
../tools/mkinstalldirs /usr/local/wine/man/man1 /usr/local/wine/man/man5
/usr/bin/install -c  -m 644  wine.man /usr/local/wine/man/man1/wine.1
/usr/bin/install -c  -m 644  ./wine.conf.man /usr/local/wine/man/man5/wine.conf.5
cd `dirname library/__install__` && make install
../tools/mkinstalldirs /usr/local/wine/lib
/usr/bin/install -c   libwine.so.1.0 /usr/local/wine/lib/libwine.so.1.0
cd /usr/local/wine/lib && rm -f libwine.so && ln -s libwine.so.1.0 libwine.so
cd `dirname dlls/__install-lib__` && make install-lib
rm -f $(libdir)/libntdll.dll.$(LIBEXT)
cd /usr/local/wine/lib && if [ "/usr/local/wine/lib/wine" = "/usr/local/wine/lib/wine" ];  then  ln -s wine/ntdll.dll.so libntdll.dll.so;  else  ln -s /usr/local/wine/lib/wine/ntdll.dll.so libntdll.dll.so;  fi
rm -f advapi32.dll.so && ln -s advapi32/advapi32.dll.so advapi32.dll.so
cd `dirname advapi32/__install__` && make install
../../tools/mkinstalldirs /usr/local/wine/lib/wine
/usr/bin/install -c   advapi32.dll.so /usr/local/wine/lib/wine/advapi32.dll.so
rm -f avicap32.dll.so && ln -s avicap32/avicap32.dll.so avicap32.dll.so
cd `dirname avicap32/__install__` && make install
../../tools/mkinstalldirs /usr/local/wine/lib/wine
/usr/bin/install -c   avicap32.dll.so /usr/local/wine/lib/wine/avicap32.dll.so
rm -f avifil32.dll.so && ln -s avifil32/avifil32.dll.so avifil32.dll.so
cd `dirname avifil32/__install__` && make install
../../tools/mkinstalldirs /usr/local/wine/lib/wine
/usr/bin/install -c   avifil32.dll.so /usr/local/wine/lib/wine/avifil32.dll.so
*** Error code 2

Stop in /usr/home/longlong/soft/emulator/wine-20030115/dlls.
*** Error code 1

Stop in /usr/home/longlong/soft/emulator/wine-20030115.

不知道怎么回事。请指教。谢谢!

liuspider 发表于 2003-1-24 22:30

to longlong:
看不出有什么问题。 我想到的唯一可能性就是你的 /usr/local 没有空间了!
就一个 Error code 2 没有任何描述,觉得很奇怪

我没有用过 freebsd,不过觉得应该没有问题的。 你可以上 wine 的官方网站找找,看看有没有在 freebsd 下编译安装的指南。

to pk:
我就是没有注意到啊,呵呵,再去看看

别看只有4行的脚本,如果不运行那个命令的话,注册表中缺少必要的项目,就不能正常安装的

pk 发表于 2003-1-25 02:24

你那个 updatereg 脚本补的是原码吧,但你在装之前已经编译过了。这种后面的一系列工作还有什么关系哦?

longlong 发表于 2003-1-25 12:51

谢过了。编这个和gcc的版本有关吗。我是gcc-2.95。我到FreeBSD 5.0下去试试看。

pk 发表于 2003-1-25 13:57

这个和你的gcc版本有关的,他在里说已经说了,在Mandrake90,kde,gcc3.2环境下的。具体的情况你还是细看看他的安装过程的说明。

liuspider 发表于 2003-1-25 18:21

[quote:48cee9ac93="pk"]你那个 updatereg 脚本补的是原码吧,但你在装之前已经编译过了。这种后面的一系列工作还有什么关系哦?[/quote]

不是的,不是给源代码打补丁(那是 patch 的用处),那个 updatereg 就是来在安装完 wine 后,将wine 需要的一些“必须”的注册表表项添加到注册表中,所以你现在来做也是可以的(在 wine 的官方的安装说明中,也明确指出要在安装完后执行这个东东的)

liuspider 发表于 2003-1-25 18:22

GCC 是 3.x 的应该就可以的,但是 2.x 的就不敢说了,不过建议还是使用 GCC 3.2

BADKING 发表于 2003-2-2 21:54

WINE完成后安装了QQ,安体和DLL文件都考贝过去了,都很正常可是打开QQ的时候出现了奇怪的问题,就是图片中的现像,请高手帮我看看是什么原因

liuspider 发表于 2003-2-2 22:29

这是wine crash 掉了,看看你的 konsole 中最后一行

应该是 dll 的问题,这样运行 qq 看输出:

wine qq -debugmsg +loaddll

确保 wine 是 20030115, qq 是 0835beta2 (最新的没试过,但是这个beta2 是没有问题的)

pk 发表于 2003-2-4 03:55

很正常吧。

liuspider 发表于 2003-2-4 12:20

?? 什么正常?

wwxg 发表于 2003-2-26 15:50

liuspider老兄
你那个网页里的winetools下载似乎不对了,能更新一下吗?
或者提供一个下载地址,万万分感谢

liuspider 发表于 2003-2-27 14:40

我刚刚看了,没有问题啊

pk 发表于 2003-2-27 15:21

我记得是你另存下就可以了。然后再cp需要的shell script。

ben7198 发表于 2003-3-6 05:19

我一切都按照教程作好了.QQ也安装成功了,可这个是运行结果........怎样解决?

[root@localhost Tencent]# wine qq.exe
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
fixme:string:GetLocaleInfoA 'IDEFAULTMACCODEPAGE' is not defined for your language (0804).
Please define it in dlls/kernel/nls/YourLanguage.nls
and submit patch for inclusion into the next Wine release.
fixme:font:WineEngCreateFontInstance just using first face for now
fixme:font:WineEngCreateFontInstance just using first face for now
fixme:font:WineEngCreateFontInstance just using first face for now
wine: Unhandled exception, starting debugger...
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
fixme:string:GetLocaleInfoA 'IDEFAULTMACCODEPAGE' is not defined for your language (0804).
Please define it in dlls/kernel/nls/YourLanguage.nls
and submit patch for inclusion into the next Wine release.
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
fixme:string:GetLocaleInfoA 'IDEFAULTMACCODEPAGE' is not defined for your language (0804).
Please define it in dlls/kernel/nls/YourLanguage.nls
and submit patch for inclusion into the next Wine release.
fixme:font:WineEngCreateFontInstance just using first face for now
fixme:console:SetConsoleCtrlHandler (0x405800f0,1) - no error checking or testing yet
fixme:font:WineEngCreateFontInstance just using first face for now
fixme:font:WineEngCreateFontInstance just using first face for now
err:win:WIN_FindWndPtr window 1002a belongs to other process
Terminated
[root@localhost Tencent]#

wangpeng123456 发表于 2003-3-9 23:19

我装了3天的wine,就是装不上啊
我的windows/c:在/mnt/win_c/,请帮我看看我的wine/config文件到底对不对,我想运行QQ该怎么改啊?

WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;; If you think it is necessary to show others your complete config for a
;; bug report, filter out empty lines and comments with
;; grep -v "^;" ~/.wine/config | grep '.'
;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; "Path"="xxx" (Unix path for drive root)
;; "Type"="xxx" (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; "Label"="xxx" (drive label, at most 11 characters)
;; "Serial"="xxx" (serial number, 8 characters hexadecimal number)
;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
;; This is the FS Wine is supposed to emulate on a certain
;; directory structure.
;; Recommended:
;; - "win95" for ext2fs, VFAT and FAT32
;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;; DON'T use "unix" unless you intend to port programs using Winelib !
;; "Device"="/dev/xx" (only if you want to allow raw device access)
;;
[Drive A]
"Path" = "/mnt/floppy"
"Type" = "floppy"
"Label" = "Floppy"
"Filesystem" = "win95"
"Device" = "/dev/fd0"

[Drive C]
"Path" = "/mnt/win_c"
"Type" = "hd"
"Label" = "Windows"
"Filesystem" = "win95"
"Device" = "/dev/hda1"

[Drive D]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom"

[Drive E]
"Path" = "/tmp/winetmp-${USER}"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive F]
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "e:\\"
"Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;"ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"

# <wineconf>

[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)" },
"Windows" = "win98"
; DOS version to imitate
;"DOS" = "6.22"

; Be careful here, wrong DllOverrides settings have the potential
; to pretty much kill your setup.
[DllOverrides]
"rpcrt4" = "builtin, native"
"oleaut32" = "builtin, native"
"ole32" = "builtin, native"
"commdlg" = "builtin, native"
"comdlg32" = "builtin, native"
"ver" = "builtin, native"
"version" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"shlwapi" = "builtin, native"
"shdocvw" = "builtin, native"
"lzexpand" = "builtin, native"
"lz32" = "builtin, native"
"comctl32" = "builtin, native"
"commctrl" = "builtin, native"
"advapi32" = "builtin, native"
"crtdll" = "builtin, native"
"mpr" = "builtin, native"
"winspool.drv" = "builtin, native"
"ddraw" = "builtin, native"
"dinput" = "builtin, native"
"dsound" = "builtin, native"
"opengl32" = "builtin, native"
"msvcrt" = "native, builtin"
"msvideo" = "builtin, native"
"msvfw32" = "builtin, native"
"mcicda.drv" = "builtin, native"
"mciseq.drv" = "builtin, native"
"mciwave.drv" = "builtin, native"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"msacm.drv" = "builtin, native"
"msacm" = "builtin, native"
"msacm32" = "builtin, native"
"midimap.drv" = "builtin, native"
; you can specify applications too
"notepad.exe" = "native, builtin"
; default for all other dlls
"*" = "native, builtin"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "640x480"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "N"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "N"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"

[fonts]
;Read the Fonts topic in the Wine User Guide before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"

;; default TrueType fonts with russian koi8-r encoding
;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;; default cyrillic bitmap X fonts
;"Default" = "-cronyx-helvetica-"
;"DefaultFixed" = "fixed"
;"DefaultSerif" = "-cronyx-times-"
;"DefaultSansSerif" = "-cronyx-helvetica-"

; the TrueType font dirs you want to make accessible to wine
[FontDirs]
;; standard ttf font dir
"dir1" = "/usr/X11R6/lib/X11/fonts/TTF"
;; this should be on most boxes
"dir2" = "/usr/share/fonts/ttf/western"
;; drakfont dir
"dir3" = "/usr/X11R6/lib/X11/fonts/drakfont/ttf"
;; empty add path to ttf fonts here
;"dir4" = " "

[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"

[parallelports]
"Lpt1" = "/dev/lp0"

[ppdev]
;; key: io-base of the emulated port
;; value : parport-device{,timeout}
;; timeout for auto closing an open device ( not yet implemented)
;"378" = "/dev/parport0"
;"278" = "/dev/parport1"
;"3bc" = "/dev/parport2"

[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile="/tmp/winetmp-${USER} -q -"
"LPT3:" = "/dev/lp3"

[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
;"write" = "0x779,0x379,0x280-0x2a0"

[Debug]
;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"RelayInclude" = "user32.CreateWindowA"
;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"SpyExclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
;; this has *nothing* to do with the windows version Wine returns:
;; set the "Windows" value in the [Version] section if you want that.
"WineLook" = "Win98"

[Console]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

; List of all directories directly contain .AFM files
[afmdirs]
"1" = "/usr/share/fonts/default/ghostscript"
;; provided by urw-fonts
"2" = "/usr/share/fonts/default/Type1"
;;provided by gnome-print
"3" = "/usr/share/fonts/afms/adobe"
;; provided by enscript
"4" = "/usr/share/enscript/afm"
;;provided by Openoffice
;"5" = "/usr/lib/openoffice/share/psprint/fontmetric"
;;provided by Abiword
;"6" = "/usr/share/AbiSuite/fonts"

[WinMM]
#"Drivers" = "wineoss.drv"
"Drivers" = "winearts.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[dsound]
;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
;"HELmargin" = "5"
;; HEL only: Number of waveOut fragments ahead to queue to driver.
;"HELqueue" = "5"
;; Max number of fragments to prebuffer
;"SndQueueMax" = "28"
;; Min number of fragments to prebuffer
;"SndQueueMin" = "12"

;; sample AppDefaults entries
[AppDefaults\\iexplore.exe\\DllOverrides]
"shlwapi" = "native"
"rpcrt4" = "native"
"ole32" = "native"
"shdocvw" = "native"
"wininet" = "native"
"shfolder" = "native"
"shell32" = "native"
"shell" = "native"
"comctl32" = "native"
;
;[AppDefaults\\setup.exe\\x11drv]
;"Desktop" = "800x600"
;
;[AppDefaults\\sol.exe\\Version]
;"Windows" = "nt40"
;
;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
;; You can add an AppDefault entry like this for such cases.
;[AppDefaults\\pickygame.exe\\dsound]
;"EmulDriver" = "N"

# </wineconf>

wangpeng123456 发表于 2003-3-9 23:20

我的windows/c:在/mnt/win_c/,请帮我看看我的wine/config文件到底对不对,我想运行QQ该怎么改啊?

WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;; If you think it is necessary to show others your complete config for a
;; bug report, filter out empty lines and comments with
;; grep -v "^;" ~/.wine/config | grep '.'
;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; "Path"="xxx" (Unix path for drive root)
;; "Type"="xxx" (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; "Label"="xxx" (drive label, at most 11 characters)
;; "Serial"="xxx" (serial number, 8 characters hexadecimal number)
;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
;; This is the FS Wine is supposed to emulate on a certain
;; directory structure.
;; Recommended:
;; - "win95" for ext2fs, VFAT and FAT32
;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;; DON'T use "unix" unless you intend to port programs using Winelib !
;; "Device"="/dev/xx" (only if you want to allow raw device access)
;;
[Drive A]
"Path" = "/mnt/floppy"
"Type" = "floppy"
"Label" = "Floppy"
"Filesystem" = "win95"
"Device" = "/dev/fd0"

[Drive C]
"Path" = "/mnt/win_c"
"Type" = "hd"
"Label" = "Windows"
"Filesystem" = "win95"
"Device" = "/dev/hda1"

[Drive D]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom"

[Drive E]
"Path" = "/tmp/winetmp-${USER}"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive F]
"Path" = "${HOME}"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

[wine]
"Windows" = "c:\\windows"
"System" = "c:\\windows\\system"
"Temp" = "e:\\"
"Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
"Profile" = "c:\\windows\\Profiles\\Administrator"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;"ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"

# <wineconf>

[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)" },
"Windows" = "win98"
; DOS version to imitate
;"DOS" = "6.22"

; Be careful here, wrong DllOverrides settings have the potential
; to pretty much kill your setup.
[DllOverrides]
"rpcrt4" = "builtin, native"
"oleaut32" = "builtin, native"
"ole32" = "builtin, native"
"commdlg" = "builtin, native"
"comdlg32" = "builtin, native"
"ver" = "builtin, native"
"version" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"shlwapi" = "builtin, native"
"shdocvw" = "builtin, native"
"lzexpand" = "builtin, native"
"lz32" = "builtin, native"
"comctl32" = "builtin, native"
"commctrl" = "builtin, native"
"advapi32" = "builtin, native"
"crtdll" = "builtin, native"
"mpr" = "builtin, native"
"winspool.drv" = "builtin, native"
"ddraw" = "builtin, native"
"dinput" = "builtin, native"
"dsound" = "builtin, native"
"opengl32" = "builtin, native"
"msvcrt" = "native, builtin"
"msvideo" = "builtin, native"
"msvfw32" = "builtin, native"
"mcicda.drv" = "builtin, native"
"mciseq.drv" = "builtin, native"
"mciwave.drv" = "builtin, native"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"msacm.drv" = "builtin, native"
"msacm" = "builtin, native"
"msacm32" = "builtin, native"
"midimap.drv" = "builtin, native"
; you can specify applications too
"notepad.exe" = "native, builtin"
; default for all other dlls
"*" = "native, builtin"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "640x480"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "N"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "N"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"

[fonts]
;Read the Fonts topic in the Wine User Guide before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"

;; default TrueType fonts with russian koi8-r encoding
;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;; default cyrillic bitmap X fonts
;"Default" = "-cronyx-helvetica-"
;"DefaultFixed" = "fixed"
;"DefaultSerif" = "-cronyx-times-"
;"DefaultSansSerif" = "-cronyx-helvetica-"

; the TrueType font dirs you want to make accessible to wine
[FontDirs]
;; standard ttf font dir
"dir1" = "/usr/X11R6/lib/X11/fonts/TTF"
;; this should be on most boxes
"dir2" = "/usr/share/fonts/ttf/western"
;; drakfont dir
"dir3" = "/usr/X11R6/lib/X11/fonts/drakfont/ttf"
;; empty add path to ttf fonts here
;"dir4" = " "

[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"

[parallelports]
"Lpt1" = "/dev/lp0"

[ppdev]
;; key: io-base of the emulated port
;; value : parport-device{,timeout}
;; timeout for auto closing an open device ( not yet implemented)
;"378" = "/dev/parport0"
;"278" = "/dev/parport1"
;"3bc" = "/dev/parport2"

[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile="/tmp/winetmp-${USER} -q -"
"LPT3:" = "/dev/lp3"

[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
;"write" = "0x779,0x379,0x280-0x2a0"

[Debug]
;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"RelayInclude" = "user32.CreateWindowA"
;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"SpyExclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
;; this has *nothing* to do with the windows version Wine returns:
;; set the "Windows" value in the [Version] section if you want that.
"WineLook" = "Win98"

[Console]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

; List of all directories directly contain .AFM files
[afmdirs]
"1" = "/usr/share/fonts/default/ghostscript"
;; provided by urw-fonts
"2" = "/usr/share/fonts/default/Type1"
;;provided by gnome-print
"3" = "/usr/share/fonts/afms/adobe"
;; provided by enscript
"4" = "/usr/share/enscript/afm"
;;provided by Openoffice
;"5" = "/usr/lib/openoffice/share/psprint/fontmetric"
;;provided by Abiword
;"6" = "/usr/share/AbiSuite/fonts"

[WinMM]
#"Drivers" = "wineoss.drv"
"Drivers" = "winearts.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[dsound]
;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
;"HELmargin" = "5"
;; HEL only: Number of waveOut fragments ahead to queue to driver.
;"HELqueue" = "5"
;; Max number of fragments to prebuffer
;"SndQueueMax" = "28"
;; Min number of fragments to prebuffer
;"SndQueueMin" = "12"

;; sample AppDefaults entries
[AppDefaults\\iexplore.exe\\DllOverrides]
"shlwapi" = "native"
"rpcrt4" = "native"
"ole32" = "native"
"shdocvw" = "native"
"wininet" = "native"
"shfolder" = "native"
"shell32" = "native"
"shell" = "native"
"comctl32" = "native"
;
;[AppDefaults\\setup.exe\\x11drv]
;"Desktop" = "800x600"
;
;[AppDefaults\\sol.exe\\Version]
;"Windows" = "nt40"
;
;; Some games (Quake 2, UT) refuse to accept emulated dsound devices.
;; You can add an AppDefault entry like this for such cases.
;[AppDefaults\\pickygame.exe\\dsound]
;"EmulDriver" = "N"

# </wineconf>

babo 发表于 2003-4-7 15:50

果然是wine的高手,我正在安装wine-20030318呢

LJ-silver 发表于 2003-4-7 21:45

有wine-20030318的中文输入法补丁吗?

wellinux 发表于 2003-4-10 11:17

为什么我的qq不能登陆啊,别的好像都没问题,

jiansuper 发表于 2003-5-9 21:13

各位高手,请问怎么将locale 改成gbk啊?
非常感谢!!!

kinsat 发表于 2006-11-4 11:19

我也打不开最上面的几个网址 最好更新下

morrith 发表于 2008-12-11 11:49

网址 打不开

页: 1 [2] 3

Powered by Discuz! Archiver 6.1.0F  © 2001-2007 Comsenz Inc.