Projects/KDE on Windows/Fine-tuning: Difference between revisions

From KDE TechBase
(Created page with "=== Common step: editing the kdeglobals file === Unless otherwise stated you make all the setting changes below by editing the <tt>kdeglobals</tt> file in the directory <tt>%A...")
 
(Replaced content with "{{Moved To Community|Windows/Imported From TechBase/{{#titleparts:{{PAGENAME}}||3}}}}")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
=== Common step: editing the kdeglobals file ===
{{Moved To Community|Windows/Imported From TechBase/{{#titleparts:{{PAGENAME}}||3}}}}
Unless otherwise stated you make all the setting changes below by editing the <tt>kdeglobals</tt> file in the directory <tt>%APPDATA%\.kde\share\config\</tt> with any text editor (such as kwrite).
(Note that for versions older than 4.0.85 the file is in <tt>%USERPROFILE%\.kde\share\config\kdeglobals</tt>.)
%APPDATA% (and %USERPROFILE%) is different for different Windows users/versions/locales; in a command prompt, entering the command <b><tt>cd %APPDATA%</tt></b> 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:
# edit kdeglobals
#locate the General section (a line containing the text "[General]"). If there is no General section, create one.
#Within the General section ([General]), edit the line containing <tt>widgetStyle=....</tt> so that it reads <tt>widgetStyle=oxygen</tt>.  If there is no such <tt>widgetStyle=...</tt> 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:
# edit kdeglobals
#locate the General section (a line containing the text "[General]"). If there is no General section, create one.
#Within the General section ([General]), add these two lines:
<tt>font=Tahoma<br/>
menuFont=Tahoma</tt>
 
Newly started applications should use this font now.
<b>Note</b>: this works for any font you have installed.
 
===Change the mouse to Double Click===
To change the mouse to use double click, add a new section with a line:
<syntaxhighlight lang="ini">
[KDE]
SingleClick=false
</syntaxhighlight>
Newly started applications (Dolphin and Konqueror) should use double click now.
===Change locale and country settings===
From KDE Release 4.5.4 onwards KDE should automatically detect the correct country and language to use.  If it detects the wrong country or language, or you want your KDE apps to use a different locale than your Windows system, then you will need to manually set the country by either installing the kdebase-workspace package and running SystemSettings, or by manually editing your kdeglobals file.
 
For earlier versions you will need to manually set the country and locale in your kdeglobals file.
 
To manually change your locale settings in your kdeglobals file, add a new section with the lines:
 
<syntaxhighlight lang="ini">
[Locale]
Country=xx
Language=zz
</syntaxhighlight>
 
Replace xx with your lowercase [http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1  alpha-2 Country Code], e.g. pl for Poland.  Replace zz with your lowercase [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1 alpha-2 Language Code], e.g. pl for Polish.  You also need to install your selected KDE language localization package.
 
===Change native/KDE file dialogs===
To choose native or KDE file dialog, add a new section with the lines:
<syntaxhighlight lang="ini">
[KFileDialog Settings]
Native=false
</syntaxhighlight>
Either set Native to true or false.
 
[[Category: MS Windows]]

Latest revision as of 14:13, 11 March 2016

This page is now on the community wiki.