forked from fcitx/handbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautostart.html
61 lines (61 loc) · 2.57 KB
/
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
<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="installation.html" title="部分 II. 安装配置">
<link rel="prev" href="config-env.html" title="第 2 章 配置环境变量">
<link rel="next" href="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="config-env.html">上一页</a> </td>
<th width="60%" align="center">部分 II. 安装配置</th>
<td width="20%" align="right"> <a accesskey="n" href="config.html">下一页</a>
</td>
</tr>
</table>
<hr>
</div>
<div class="chapter" title="第 3 章 跟随桌面环境自动启动">
<div class="titlepage"><div><div><h2 class="title">
<a name="autostart"></a>第 3 章 跟随桌面环境自动启动</h2></div></div></div>
<p>
如果你使用 startx 启动桌面,那么你可以在 <code class="filename">~/.xinitrc</code> 里添加 fcitx。
</p>
<p>
对于支持 xdg 标准的桌面环境,例如 gnome,kde,xfce,
可以将文件 <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>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="config-env.html">上一页</a> </td>
<td width="20%" align="center"><a accesskey="u" href="installation.html">上一级</a></td>
<td width="40%" align="right"> <a accesskey="n" href="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>