Archive:Projects/KDE on Windows/Installation (zh TW): Difference between revisions

From KDE TechBase
No edit summary
No edit summary
Line 1: Line 1:
{{Template:I18n/Language Navigation Bar|Projects/KDE_on_Windows/Installation}}
{{Template:I18n/Language Navigation Bar|Projects/KDE_on_Windows/Installation}}


{{note_(zh_TW)|Perhaps actual developers should summarize status of KDE4 on Windows here, while we encourage users to describe their experiences on the [[Talk:{{PAGENAME}}|Talk page?]]}}
{{note_(zh_TW)|也許開發人員應該在這裡總結 KDE 4 在 Windows 的情況,但我們更鼓勵使用者談談他們的感想及經驗在[[Talk:{{PAGENAME}}|Talk page?]]}}


== KDE Installer for Windows ==
== KDE Installer for Windows ==
You can use this installer to download and install the
你可以用這個安裝程式下載並安裝許多在 MS Windows 上運行 KDE 程式必須的二進位檔。
various binary packages that you need to run KDE applications on MS Windows.
KDE 是自由並且開放原始碼的,因此你可以「從頭開始」用原始碼建構出所有應用程式;
KDE is free and open source so you can build all the applications "from scratch" from their source code;
但是為了方便他人,開發者們將這些原始程式碼編譯好,並且提供在網路上。
but as a convenience for others,
volunteers create these pre-compiled packages and make them available on the Internet.


'''Disclaimer''' These are early days for KDE4 on Windows,
'''Disclaimer''' These are early days for KDE4 on Windows,
Line 37: Line 35:
[[File:installer-003.png|600px]]
[[File:installer-003.png|600px]]
<br/>
<br/>
在下一個畫面,選擇你是一般使用者(End User)或是開發人員(Package Manger)。The End User installation installs only binary packages and libraries needed to run KDE application. Package Manager mode provides you also with the source code for all packages needed to build KDE from scratch. <br/> Then you need to decide what compiler to use - MinGW or MSVC.
在下一個畫面,選擇你是一般使用者(End User)或是開發人員(Package Manger)。一般使用者只安裝二進制檔和運行 KDE 應用程式必需的函式庫。Package Manger 模式還提供從頭建構 KDE 所有需要套件的原始碼。<br/>然後,你需要決定使用什麼編譯器 - MinGW 或 MSVC。
<br/>
<br/>
<br/>
<br/>
Line 47: Line 45:
[[File:installer-005.png|600px]]
[[File:installer-005.png|600px]]
<br/>
<br/>
The next screen will ask you to choose your internet connection type, particularly whether or not you're using a proxy. If you don't use a proxy server, just click 'Next'. If you are unsure of whether you're using proxy or if you have web browser configured to work with it properly, choose the second or the third option, according to your favourite web-browser. If you'd like to set all the settings manually - choose the last option and go ahead.
下一個畫面將要求您選擇您的網路連接類型,特別是您是否使用代理(proxy)。如果你未使用代理伺服器,只需點擊'Next'。如果您不確定您是否使用代理或者您有可以使用的網頁瀏覽器配置,根據你最喜愛的網頁瀏覽器,選擇第二個或第三個選項。如果您想手動設定 - 選擇最後一個選項,並前往下一頁。
<br/>
<br/>
<br/>
<br/>
Line 149: Line 147:
Native=false</tt><br/><br/>
Native=false</tt><br/><br/>
Either set Native to true or false.
Either set Native to true or false.
== Status ==
Using kdewin-installer-gui-0.9.3.exe to install 4.1.3 packages:
* starting a KDE program correctly starts dbus-daemon.exe
* many games run
* choosing File > Open correctly starts klauncher.exe, kioslave.exe and kded4.exe, and runs kbuildsycoca4.exe as needed.
* Full-text search in khelpcenter does not work because Perl scripts are disabled.
* Many applications have a generic icon in Windows Explorer.
* Multimedia support should work, although video support might be missing (from the backend)
General notes:
* There are many other KDE programs that are not part of KDE 4.0.0 and are not currently packaged for MS Windows.
* By design, KDE-windows does not provide the full-blown KDE desktop, a preview on the plasma shell replacement will be available in 4.1.2 - Nevertheless this does not rely on kwin/X11 which means that desktop effects are not available
* Some KDE programs use UNIX-specific features, such as konsole's use of pseudo-terminals, and thus are difficult (read: currently impossible) to port to MS Windows.
=== Package status and contents ===
{| border="0" cellpadding="2"
|-valign="top"
!package
!status
!contains applications
|-valign="top"
|amarok
|packaged
|Amarok music player
|-valign="top"
|Digikam
|packaged
|Photo management
|-valign="top"
|kdebase-apps
|packaged
|Konqueror, Dolphin, KWrite, folderview etc.
|-valign="top"
|kdebase-workspace
|packaged
|Plasma, Wallpapers, Solid, etc.
|-valign="top"
|kdeedu
|packaged
|Marble, Parley, KStars, KHangman, etc.
|-valign="top"
|kdegames
|packaged
|Kgoldrunner, Kpat, KMahjongg, etc.
|-valign="top"
|kdegraphics
|packaged
|Okular, kolourpaint, gwenview, etc.
|-valign="top"
|kdemultimedia
|packaged
|JuK, etc.
|-valign="top"
|kdenetwork
|packaged
|Kopete, KGet, etc.
|-valign="top"
|kdepim
|not packaged
|KMail, AKregator, etc.
|-valign="top"
|kdesdk
|packaged
|Kate, Umbrello, etc.
|-valign="top"
|kdetoys
|packaged
|KTeatime, etc.
|-valign="top"
|kdeutils
|packaged
|KGpg, KWallet, Okteta, etc.
|-valign="top"
|koffice
|packaged
|KWord, Krita, Karbon, etc. (Beta 3)
|-valign="top"
|ktorrent
|packaged
|the KTorrent utility
|-valign="top"
|konversation
|packaged
|the KDE IRC client (alpha 3)
|}


[[Category: MS Windows]]
[[Category: MS Windows]]

Revision as of 16:00, 27 November 2009


Projects/KDE_on_Windows/Installation


Template:Note (zh TW)

KDE Installer for Windows

你可以用這個安裝程式下載並安裝許多在 MS Windows 上運行 KDE 程式必須的二進位檔。 KDE 是自由並且開放原始碼的,因此你可以「從頭開始」用原始碼建構出所有應用程式; 但是為了方便他人,開發者們將這些原始程式碼編譯好,並且提供在網路上。

Disclaimer These are early days for KDE4 on Windows, some programs work better than others and some fail to run altogether.

如果您遇到任何問題,請查看我們的郵件列表

你也可以用 KDE Installer for Windows 安裝原始碼和你需要在 Windows 上建構 KDE 4 的套件包(如果你正在 Windows 上建構 KDE 4,你可能會更喜歡用 emerge 系統來建構 KDE 和解決最新原始碼的需求);你可以參閱在 Windows 上建構 KDE 4

步驟摘要

  • 這裡下載並儲存最新版本的安裝程式,到任何一個目錄,比如C:\KDE4
  • 執行安裝程式,下載並安裝你所需要的(請見下載需要的套件包)。
  • 從 Windows 開始選單執行 KDE 應用程式(KDE x.x.x Release)

下載需要的套件包




當您第一次執行 KDE 安裝程式時,會看到歡迎畫面。Since it's your first launch leave the checkbox below unchecked.


進入下一個畫面,選擇 KDE 4 的安裝目錄。它可以是任何你喜歡的,例如 C:\KDE4。


在下一個畫面,選擇你是一般使用者(End User)或是開發人員(Package Manger)。一般使用者只安裝二進制檔和運行 KDE 應用程式必需的函式庫。Package Manger 模式還提供從頭建構 KDE 所有需要套件的原始碼。
然後,你需要決定使用什麼編譯器 - MinGW 或 MSVC。


進入下一個畫面,選擇儲存所有下載套件包的目錄。


下一個畫面將要求您選擇您的網路連接類型,特別是您是否使用代理(proxy)。如果你未使用代理伺服器,只需點擊'Next'。如果您不確定您是否使用代理或者您有可以使用的網頁瀏覽器配置,根據你最喜愛的網頁瀏覽器,選擇第二個或第三個選項。如果您想手動設定 - 選擇最後一個選項,並前往下一頁。


列出可用的伺服器,你可以選擇台灣的伺服器(Asia & Oceania, Taiwan)。


When you click 'Next', a list of available releases on the selected server will be shown. Depending on the server there may be stable and/or unstable release available. Some unstable releases may only be available from www.winkde.org because the kde mirrors provides only a limited range of unstable releases.


After selecting a release an a click on the 'Next' button, the list of all available packages will be loaded and processed, providing you with the list of package groups you can select for further installation. The short description next to each group of packages should make your choice easier. Select the packages you need. Proceed to the next screen.


Here you can see all the required dependencies, or software necessary to support the choices you've made. Click 'Next' to download them all.



After all the packages are downloaded they'll be unpacked and processed by the installer.


最後的視窗會告訴你 KDE 已經安裝完成。

Issues with KDE Installer for Windows

If something goes wrong during installation, for example a file can't be replaced because it is still in use, the installer may still report successful completion. If you see any alert or failure message from the installer, when it completes, quit and re-run it.
If that didn't help and you think it's a bug, please report to [1]

測試安裝

Navigate to the bin directory.

See if you can run the Qt program assistant.exe. Qt programs have fewer dependencies than a full-blown KDE application.

If that works, try running a simple KDE application, such as lskat.exe from the kdegames package.

Look into your start menu: there will be a new entry KDE 4.XX.XX Release. Below that folder you can find all the apps you installed.

Startup, shutdown, and diagnosing problems

The first KDE program you run should automatically invoke kdeinit4.exe, the KDE initialization app, which starts background KDE applications and services like dbus-daemon, klauncher and kded4.

The first time you save or open, another background application, kioslave, will start.

These background KDE applications and services remain running after you close KDE applications. If you want you can shut them down by running kdeinit4 --terminate from a command prompt.

You can run kdeinit4 --list from a command prompt to see what processes are running. kdeinit4 has other useful options documented elsewhere.

微調

Common step: editing the kdeglobals file

Unless otherwise stated you make all the setting changes below by editing the kdeglobals file in the directory %APPDATA%\.kde\share\config\ with any text editor (such as kwrite). (Note that for versions older than 4.0.85 the file is in %USERPROFILE%\.kde\share\config\kdeglobals.) %APPDATA% (and %USERPROFILE%) is different for different Windows users/versions/locales; in a command prompt, entering the command cd %APPDATA% will switch to it, effectively telling you what it is.

Set Oxygen style for widgets

The default KDE widget style on Windows is the native one. The Oxygen style installs with basic KDE installation (as a plugin library %KDEROOT%\lib\kde4\plugins\styles\oxygen.dll), so it can be used as well. To set it for a single user:

  1. edit kdeglobals
  2. locate the General section (a line containing the text "[General]"). If there is no General section, create one.
  3. Within the General section ([General]), edit the line containing widgetStyle=.... so that it reads widgetStyle=oxygen. If there is no such widgetStyle=... line, create it.

Newly started applications should be displayed with the Oxygen style now.

Set Tahoma (Windows default font) for widgets

To set it for a single user:

  1. edit kdeglobals
  2. locate the General section (a line containing the text "[General]"). If there is no General section, create one.
  3. Within the General section ([General]), add these two lines:

font=Tahoma
menuFont=Tahoma

Newly started applications should use this font now. Note: this works for any font you have installed.

Change the mouse to Double Click

To change the mouse to use double click:

  1. Add a new section with a line:

[KDE]
SingleClick=false


Newly started applications (Dolphin and Konqueror) should use double click now.

Change locale and country settings

To change locale setting:

  1. Add a new section with the line:

[Locale]
Country=**
Language=**


Replace ** with your lowercase alpha-2 country code, e.g. pl for Poland; of course, you need to install your language localization package.

Change native/KDE file dialogs

To chose native or KDE file dialog:

  1. Add a new section with the lines:

[KFileDialog Settings]
Native=false


Either set Native to true or false.