本节将会详细介绍一些使用和定制桌面的小技巧。
KDE启动后,会话管理功能是最简单得设置自动运行程序的方法。可以使KDE在每次登录时都完全按照配置方案启动。
从顶端的高级标签中,在高级用户设置段,在右边依次选择 → → 。确认还原手动保存的会话选择框已开启。
确定您每次登录都想运行的程序,设计好后,单击 → 。完成后,每次启动KDE,您都会得到相同的配置。
另外的一种方法是将你想要自动启动的应用程序的桌面连接从/usr/share/applications
复制到 ~/.kde/Autostart
目录。
系统允许计算机启动后自动登录到一个特定帐户。由于该操作可能允许其他用户访问你的信息,所以对绝大多数的计算机,不建议进行该操作
从启动菜单 → 中打开系统设置s。在高级标签下面选择登录管理器。
单击管理员模式...,然后输入你的用户密码以获得管理员权限。
选择便利 标签。激活启用自动登陆,然后从下拉菜单中选择自动登陆用户并选择合适的延迟时间。
保存并关闭所有打开的应用程序。
按下Ctrl+Alt+Backspace 重启KDE或X-Windows.
If Ctrl+Alt+Backspace is disabled, open Konsole by going to → → . At the command prompt type the following and press the Enter key (if asked for a password, type in your user password followed by the Enter key):
sudo /etc/init.d/kdm restart
(请参考“禁止Ctrl-Alt-Backspace 组合键重启X”一节以禁用Ctrl+Alt+Backspace组合键。)
Make a backup copy of your existing /etc/X11/xorg.conf
file. To do so, open Konsole by going to
→ → . At the command prompt type the following and then press the
Enter key (if asked for a password, type in your user password
followed by the Enter key):
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
要打开/etc/X11/xorg.conf
文件进行编辑,按下Alt+F2在Run Command对话框输入以下字符并按下OK键(如果要求密码,输入你的用户密码,接着按下OK按钮):
kdesu kwrite /etc/X11/xorg.conf
将下面的行加入到文件结尾:
Section "ServerFlags" Option "DontZap" "yes" EndSection
保存已修改的文件并关闭KWrite。
在你下次登录KDE后,你的更改将会生效。如果你想使更改立即生效,可以手动重启KDE.(见“重启KDE而不需要重启电脑”一节.)
有时它可以用于手动开启一个程序,例如当某个程序在桌面上没有快捷方式的时候。使用Run Command对话框很容易就能完成这个。
使用组合键 Alt+F2打开运行应用程序对话框
输入您想要运行的程序名,并按确定键。
通过 → 打开System Settings。在System Settings窗口选择Keyboard & Mouse选项。
在Keyboard片段,找到子片段NumLock on KDE Startup,选中Turn On复选框。点击Apply保存你的设置。
在你下次登录KDE后,你的更改将会生效。如果你想现在就测试它,关掉NumLock并重启KDE(见“重启KDE而不需要重启电脑”一节)。
Firefox没有被默认安装,所以如果想要它工作,你不得不首先安装Firefox。请参考Adding Applications文档以获取更多的安装程序信息。
Konqueror能默认帮助处理help:/ URLs。help:/ URLs也可以被用来处理这个,只不过要求你手动编辑Firefox的配置。要手动编辑它,以下的步骤会帮助你完成这些配置。
选择左边的 → → 开始Firefox 。
在地址栏输入about:config
,按下Enter键。
→ 。输入 → 作为Preference Name和true
作为Value。完成之后按下OK按钮。
→ 。在Preference Name中输入network.protocol-handler.app.help
,在Value中输入khelpcenter
。完成之后按下OK按钮。
Kubuntu以KDE Menu Editor开始,然后你可以自定义你的菜单并且为安装后没有自动出现在菜单中的程序添加快捷方式。要添加、删除或者修改快捷方式,参考以下步骤。
通过KMenu,选择打开KDE Menu Editor。如果你锁定了你的Kicker,你也可以通过按下Alt+F2,输入kmenuedit
,按下OK按钮来打开KDE Menu Editor。
在KDE菜单编辑器 Menu Editor的左边面板,选择要添加新项目的子菜单。
选择 → 或者按下New Item按钮。在New Item窗口,选择Name。然后添加Description,Comment, 和Command. 单击Icon选择图标。Command通常都是包的名字,Name是菜单中显示的名字,Comment则是会在快捷方式中出现的工具提示。Icons会默认从/usr/share/icons/icon_theme
目录中选择,或者可以从你的任意文件中选择。
在KDE菜单编辑器中,拖动项目,可以改变登录的顺序。
SuperKaramba是一个能在桌面上使用迷你程序(desklets)如天气预报,新闻显示条,系统信息显示,或者音乐播放控制的系统;以图标的形式显示出来,既养眼又实用。
安装superkaramba包。要获取更多关于安装额外程序的信息,请参考Adding Applications文档。
一旦安装完成,通过 → → 打开SuperKaramba。
要为SuperKaramba下载更多额外的小应用程序,可以在主窗口中选择New Stuff...或者到KDE-Look.org中选择Karamba链接。
本节介绍如何从Kubuntu包中安装额外的字体。
要使用international fonts,安装以下的包(请参考Adding Applications文档以获取安装额外的应用程序的信息):
xfonts-intl-arabic
xfonts-intl-asian
xfonts-intl-chinese
xfonts-intl-chinese-big
xfonts-intl-european
xfonts-intl-japanese
xfonts-intl-japanese-big
xfonts-intl-phonetic
要使用Microsoft TrueType core fonts,安装msttcorefonts包(请参考Adding Applications文档以获取安装额外的应用程序的信息)。
要使用Ghostscript fonts,安装gsfonts-x11包(请参考Adding Applications文档以获取安装额外的应用程序的信息)。
如果你想手动下载个人字体,你可以很容易的通过打开gsfonts-x11并输入在定位栏中输入fonts:/
来安装它们。然后你可以安装字体,通过将文件拖拉进各自的目录来获取系统范围的或者是个人应用。
Compiz Fusion is a project that uses 3D graphics acceleration to bring new graphical effects and features to your desktop. The project resulted from the mergence of Compiz and Beryl (a previous project based on Compiz). This section describes how to install Compiz Fusion on Gutsy Gibbon.
Before installing Compiz Fusion, you may need to check whether you have the correct drivers installed for your graphics card. Please refer to http://www.compiz.org/NVidia, http://www.compiz.org/ATI and http://www.compiz.org/Intel for information about nVidia, ATI and Intel graphics card drivers respectively.
Go to → → (when prompted for a password at the Run as root - KDE su dialog, type in your password and press the OK button).
Install the following packages:
compiz-kde
compiz-fusion-plugins-main
compiz-fusion-plugins-extra
compiz-config-settings-manager
After the installation finishes, you can run Compiz Fusion by pressing Alt+F2 and typing the following at the Run Command dialog followed by pressing the OK button:
compiz --replace
The following procedure describes how to configure Compiz Fusion to run at start-up.
Go to ~/.kde/Autostart
using
Konqueror.
Right click the content area and choose → . This opens a properties tabbed window.
In the General tab, provide a descriptive name for the program e.g. Compiz-Fusion.
Click the Application tab and type the following at the Command text box followed by pressing the OK button to finish and close the tabbed window:
compiz --replace
From now on, when you start KDE, Compiz Fusion should start up automatically.
To configure Compiz Fusion, go to → → .