This repository was archived by the owner on Jun 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathchapter-autostart.html
63 lines (63 loc) · 2.9 KB
/
chapter-autostart.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>第 3 章 跟随桌面环境自动启动</title>
<link rel="stylesheet" href="docbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="小企鹅输入法(fcitx)">
<link rel="up" href="part-installation.html" title="部分 II. 安装配置">
<link rel="prev" href="chapter-config-env.html" title="第 2 章 配置环境">
<link rel="next" href="chapter-global-config.html" title="第 4 章 全局配置文件说明">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr><th colspan="3" align="center">第 3 章 跟随桌面环境自动启动</th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="chapter-config-env.html">上一页</a> </td>
<th width="60%" align="center">部分 II. 安装配置</th>
<td width="20%" align="right"> <a accesskey="n" href="chapter-global-config.html">下一页</a>
</td>
</tr>
</table>
<hr>
</div>
<div class="chapter" title="第 3 章 跟随桌面环境自动启动">
<div class="titlepage"><div><div><h2 class="title">
<a name="chapter-autostart"></a>第 3 章 跟随桌面环境自动启动</h2></div></div></div>
<p>
对于支持 xdg 标准的桌面环境,例如 gnome,kde,xfce,lxde,
可以将文件 <code class="filename">安装目录/share/applications/fcitx.desktop</code>
建立符号链接或者复制到
<code class="filename">~/.config/autostart/</code>
或者 <code class="filename">/etc/xdg/autostart</code>(<code class="filename">/usr/local/etc/xdg/autostart/</code>) 目录里:
</p>
<pre class="synopsis">ln -s 安装目录/share/applications/fcitx.desktop ~/.config/autostart/fcitx.desktop</pre>
<p>
</p>
<p>
如果你采用独立的窗口管理器,例如Openbox,XMonad,等等。
不建议在~/.xinitrc 当中直接执行fcitx,而建议是采用这些窗口管理器的自动启动机制。
如果你希望使用IM Module,但是无法正确初始化DBus(IM Module依靠DBus进行通信),那将可能导致无法在GTK和QT程序中启用输入法。
</p>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="chapter-config-env.html">上一页</a> </td>
<td width="20%" align="center"><a accesskey="u" href="part-installation.html">上一级</a></td>
<td width="40%" align="right"> <a accesskey="n" href="chapter-global-config.html">下一页</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">第 2 章 配置环境 </td>
<td width="20%" align="center"><a accesskey="h" href="index.html">起始页</a></td>
<td width="40%" align="right" valign="top"> 第 4 章 全局配置文件说明</td>
</tr>
</table>
</div>
</body>
</html>