This page is a translated version of the page Tutorials/Modify KDE Software Defaults and the translation is 71% complete.

Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎français • ‎italiano • ‎português do Brasil • ‎українська • ‎中文(中国大陆)‎ • ‎中文(台灣)‎ • ‎日本語


  • 您是系统管理员,每天增加12个新用户。 你希望新用户拥有相同的设定但KDE Plasma桌面的默认值不符合
  • 您是系统管理员,需要修改所有用户的桌面或系统设定。 登入为该用户再用系统设置修改并不是一种好选择。
  • 你有几台KDE 桌面的机器,也许在工作中的计算机在proxy内,一台在家里和一些进行测试的虚拟机。您要频繁地重新安装计算机,希望您的设定将再次套用。

不管怎样,你反正都是要修改 ~/.kde 或 ~/.kde4 或 /usr/local/share 或 /usr/share的配置文件案的。


当创建一个新的用户时复制 /etc/skel目录的内容到他的家目录。如果今后您要想修改所有用户的设定,只需要修改/etc/skel目录中的档案。


To change the default browser, use the program System Settings. However, there are situations where you cannot call kcmshell5 to open System Settings. In this case you can use the following script. It changes the default browser to Firefox:

# This file sets up a computer as tstaerk likes it. Call it after you have performed the OS installation.
# 1. set default browser to firefox # 1.1. for SUSE Linux, where we have to look in .kde4 instead of .kde # The key for default browser is BrowserApplication. cd cd .kde4/share/config # first delete all the old entries for BrowserApplication sed -i 's/BrowserApplication\[\$e\]=.*//g' kdeglobals # add BrowserApplication to the General section if a General section exists sed -i 's/\[General\]/\[General\]\nBrowserApplication\[\$e\]=!firefox/g' kdeglobals # add a General section and the key BrowerserApplication if no General section exists grep "\[General\]" kdeglobals || echo -e "\n[General]\nBrowserApplication[\$e]=!firefox" >> kdeglobals

This page was last edited on 26 March 2017, at 12:20. Content is available under Creative Commons License SA 4.0 unless otherwise noted.