桌面小技巧
上一页

桌面小技巧

本节将会详细介绍一些使用和定制桌面的小技巧。

KDE启动时自动运行程序

  1. KDE启动后,会话管理功能是最简单得设置自动运行程序的方法。可以使KDE在每次登录时都完全按照配置方案启动。

  2. Choose Application LauncherSystem SettingsAdvancedSession Manager from the Advanced tab on the top and then under Advanced User Settings section. Click the Session Manager button on the right. Ensure that the Restore manually saved session checkbox is enabled.

  3. Launch all the applications you want running everytime you log in. Once you have everything set to your satisfaction, click choose Application LauncherSave Session. Every time you start KDE, you will return to this configuration.

  4. 另外的一种方法是将你想要自动启动的应用程序的桌面连接从/usr/share/applications 复制到 ~/.kde/Autostart目录。

当计算机启动后自动登陆到KDE

系统允许计算机启动后自动登录到一个特定帐户。由于该操作可能允许其他用户访问你的信息,所以对绝大多数的计算机,不建议进行该操作

  1. Go to System Settings by going to Application LauncherFavoritesSystem Settings. Under the Advanced tab select the Login Manager.

  2. 单击管理员模式...,然后输入你的用户密码以获得管理员权限。

  3. 选择便利 标签。激活启用自动登陆,然后从下拉菜单中选择自动登陆用户并选择合适的延迟时间。

重启KDE而不需要重启电脑

过程 1. 用键盘重新启动KDE

  1. 确保你的系统可以使用键盘重新启动KDE

    1. Open System Settings by going to Application LauncherFavoritesSystem Settings.

    2. 选择显示图标

    3. Select the checkbox that is labeled "Ctrl+Alt+Backspace restarts the xserver".

    4. 按下应用按钮,并退出系统设置

  2. 保存并关闭所有打开的应用程序。

  3. 按下Ctrl+Alt+Backspace

过程 2. 通过命令行重启 KDE

  1. 保存并关闭所有打开的应用程序。

  2. Open Konsole by going to Application LauncherSystemTerminal (Konsole). 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
    

手动启动一个程序

Sometimes it can be useful to start a program manually, for example when the program does not have an entry in the menu. This is easy to do with the KRunner application.

  1. 按下Alt+F2,打开KRunner程序

  2. 输入您要运行的程序名,然后按下Enter键。

当KDE启动时自动打开NumLock建

  1. Open System Settings by going to Application LauncherFavoritesSystem Settings. In the System Settings window select the Keyboard & Mouse option.

  2. Keyboard片段,找到子片段NumLock on KDE Startup,选中Turn On复选框。点击Apply保存你的设置。

在你下次登录KDE后,你的更改将会生效。如果你想现在就测试它,关掉NumLock并重启KDE(见“重启KDE而不需要重启电脑”一节)。

Handle help:/ links in Firefox like Konqueror

Firefox没有被默认安装,所以如果想要它工作,你不得不首先安装Firefox。请参考Adding Applications文档以获取更多的安装程序信息。

Konqueror能默认帮助处理help:/ URLs。help:/ URLs也可以被用来处理这个,只不过要求你手动编辑Firefox的配置。要手动编辑它,以下的步骤会帮助你完成这些配置。

  1. Start Firefox by choosing left Application LauncherInternetWeb Browser.

  2. 在地址栏输入about:config,按下Enter键。

  3. Right单击列表选择NewBoolean。输入NewBoolean作为Preference Nametrue 作为Value。完成之后按下OK按钮。

  4. Right再次单击列表,选择NewString。在Preference Name中输入network.protocol-handler.app.help,在Value中输入khelpcenter。完成之后按下OK按钮。

编辑程序启动器

Kubuntu以KDE Menu Editor开始,然后你可以自定义你的菜单并且为安装后没有自动出现在菜单中的程序添加快捷方式。要添加、删除或者修改快捷方式,参考以下步骤。

  1. Open KDE Menu Editor by right clicking on Application Launcher icon (the KDE Menu) and choosing Menu Editor. If you have locked your Kicker, you can also open KDE Menu Editor by pressing Alt+F2 and typing kmenuedit followed by pressing the Enter key.

  2. KDE菜单编辑器 Menu Editor的左边面板,选择要添加新项目的子菜单。

  3. 选择FileNew Item或者按下New Item按钮。在New Item窗口,选择Name。然后添加DescriptionComment, 和Command. 单击Icon选择图标。Command通常都是包的名字,Name是菜单中显示的名字,Comment则是会在快捷方式中出现的工具提示。Icons会默认从/usr/share/icons/icon_theme目录中选择,或者可以从你的任意文件中选择。

KDE菜单编辑器中,拖动项目,可以改变登录的顺序。

安装额外的字体

本节介绍如何从Kubuntu包中安装额外的字体。

  1. 要使用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

  2. 要使用Microsoft TrueType core fonts,安装msttcorefonts包(请参考Adding Applications文档以获取安装额外的应用程序的信息)。

  3. 要使用Ghostscript fonts,安装gsfonts-x11包(请参考Adding Applications文档以获取安装额外的应用程序的信息)。

如果你想手动下载个人字体,你可以很容易的通过打开gsfonts-x11并输入在定位栏中输入fonts:/来安装它们。然后你可以安装字体,通过将文件拖拉进各自的目录来获取系统范围的或者是个人应用。

上一页
起始页