-
Notifications
You must be signed in to change notification settings - Fork 2
/
tweaks.php
executable file
·282 lines (212 loc) · 11.2 KB
/
tweaks.php
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh" >
<!-- <!DOCTYPE html>
<html> -->
<head>
<title>附录D:如何解决常见的问题和错误</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="thumbnailviewer.css" type="text/css" />
<script src="thumbnailviewer.js" type="text/javascript">
/***********************************************
* Image Thumbnail Viewer Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
</head>
<body style="background-color: rgb(185, 185, 185);">
<!-- titel start -->
<div id="frame" class="normal">
<table width="100%">
<tr>
<td valign="top" style="padding-top: 5px" width="50%">
<div class="content-text">最后更新:2016年11月27日</div>
</td>
<td align="center" width="50%" valign="top">
<!-- start of freefind search box html -->
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;">
<form style="margin:0px; margin-top:0px;" action="http://search.freefind.com/find.html" method="get" accept-charset="utf-8" target="_self">
<input type="hidden" name="si" value="38829622" />
<input type="hidden" name="pid" value="r" />
<input type="hidden" name="n" value="0" />
<input type="hidden" name="_charset_" value="" />
<input type="hidden" name="bcd" value="÷" />
<input type="text" name="query" size="16" />
<input type="submit" value="search" />
<a href="http://www.freefind.com" class="content-text">by FreeFind</a>
</form>
</td>
</tr>
</table>
<!-- end of freefind search box html -->
</td>
<!--
<td align="right" width="25%" valign="top">
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'zh-CN',
autoDisplay: false,
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
</script><script type="text/javascript" src="http://translate.google.com.hk/translate_a/element.js?cb=googleTranslateElementInit"></script>
</td>
-->
</tr>
</table>
<table width="99%">
<tr>
<td width="67%" align="center"><img src="images/pics/title.png" alt="title" />
</td>
<td width="33%" align="center"><img src="images/pics/desktop-title.png" alt="?" class="pic" /></td>
</tr>
</table>
<!-- titel slut -->
<div id="topLeft">
<div class="content-title">开始</div>
<a href="index.php" class="content-text">1. 简介</a><br />
<a href="switching.php" class="content-text">2. 改用 GNU/Linux</a><br />
<a href="acquisition.php" class="content-text">3. 获取 openSUSE</a><br />
<a href="installation.php" class="content-text">4. 安装</a><br />
<div class="content-title">日常应用</div>
<a href="kde.php" class="content-text">5. KDE 桌面环境</a><br />
<a href="apps.php" class="content-text">6. 常用软件</a><br />
<a href="security.php" class="content-text">7. 安全设置</a><br />
<a href="command.php" class="content-text">8. 终端命令行</a><br />
<a href="yast.php" class="content-text">9. 管理员设置 (YaST)</a><br />
<a href="installpackage.php" class="content-text">10. 软件安装</a><br />
<a href="repositories.php" class="content-text">11. 软件源</a><br />
<a href="windows.php" class="content-text">12. 与Windows世界兼容</a><br />
<div class="content-title">设置</div>
<a href="codecs.php" class="content-text">13. 多媒体编解码器</a><br />
<a href="browserplugins.php" class="content-text">14. 浏览器插件</a><br />
<a href="3d.php" class="content-text">15. 显卡驱动</a><br />
<a href="wlan.php" class="content-text">16. 无线网</a><br />
<a href="develop.php" class="content-text">17. 开发环境</a><br />
<a href="obs.php" class="content-text">18. 软件打包服务OBS</a><br />
<a href="srvlamp.php" class="content-text">19. LAMP和LNMP</a><br />
<a href="srvother.php" class="content-text">20. 其他常见服务软件</a><br />
<div class="content-title">附录</div>
<a href="help.php" class="content-text">A: 帮助和文档</a><br />
<a href="games.php" class="content-text">B: 游戏</a><br />
<a href="under.php" class="content-text">C. 深入了解</a><br />
<a href="tweaks.php" class="content-text">D. 提示和解决方法</a><br />
<a href="history.php" class="content-text">E. 历史和背景</a><br />
<a href="contribute.php" class="content-text">F: 重在参与</a><br />
<a href="license.php" class="content-text">GNU自由文档许可证</a>
<!--
<hr align="center" width="99%" />
<center><script type="text/javascript" src="http://www.livewebstats.dk/counter.php?id=1959&mark="></script></center><br />
<br /><br />
<div align="center" class="content-title">openSUSE 12.1 coming soon:</div><br />
<center><a href="http://en.opensuse.org/Portal:12.1"><img src="http://counter.opensuse.org/12.1/small" border="0" alt="countdown" /></a></center><br />
-->
</div>
<div class="heading1">附录D:提示和解决方法</div>
在本附录中您将获悉如果解决或排查一些在这个特定的openSUSE版本中最常见的问题和错误。
<br /><br />
<b>
推荐阅读:<br />
<a href="https://zh.opensuse.org/%E6%96%B0%E6%89%8B%E6%9D%91" target="_blank">
openSUSE新手村
</a><br />
<a href="https://zh.opensuse.org/openSUSE:13.1%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98" target="_blank">
openSUSE:13.1常见问题
</a><br />
<a href="https://zh.opensuse.org/openSUSE:13.2%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98" target="_blank">
openSUSE:13.2常见问题
</a>
</b>
<br />
如果使用系统时遇到问题,一般先用搜索引擎查找是否有相关的解决方案,或者向中文论坛求助:
<br />
<a href="http://forum.suse.org.cn/" target="_blank"><b>https://forum.suse.org.cn/</b></a>
<br /><br />
<div class="heading3">1、为什么Fcitx中文输入法候选字不能翻页?</div>
Fcitx中文输入法的候选字翻页的快捷键是“-”和“+”按键(不需要按Shift),所以按PageUp和PageDown键是不能翻页的。可以自己配置Fcitx中文输入法翻页的快捷键。
<br /><br />
<div class="heading3">2、为什么开机时屏幕花屏/黑屏或无法正常启动到图形桌面?</div>
可能原因:默认的开源驱动对部分显卡支持得不够好,可能会花屏。
如果出现花屏,建议进入openSUSE高级启动界面里的openSUSE修复模式,
然后按照“显卡驱动”教程页面安装Nvidia或AMD对应的专有显卡驱动。<br/>
另外,如果之前在12.2版本系统安装了N卡或A卡的专有显卡驱动,
然后通过update在线升级到12.3版本,如果升级后出现无法启动到图形桌面的情况,
那么同样进入openSUSE修复模式,重新安装12.3版本的N卡或A卡的专有显卡驱动。
<br /><br />
<div class="heading3">3、为什么硬盘安装openSUSE时出错,提示 no repository found ?</div>
openSUSE 12.2 和 12.3 版本硬盘安装时都有这个 bug ,即使选了正确的磁盘分区和正确的路径文件名,还是会提示 no repository found 。解决方法:<br />
返回(Back)到Main Menu界面;<br />
找到 Expert 条目,进入;<br />
找到 Start Shell 条目,打开后进入命令行,执行:<br />
<div class="cl">cp /usr/bin/mount /bin</div><br />
再执行 exit ,返回到Main Menu界面,然后进行正常的硬盘安装。
<br /><br />
<div class="heading3">4、为什么打开Windows下的文本文件出现中文汉字乱码?</div>
因为Linux默认的中文文本是Unicode编码,
简体中文Windows默认中文文本编码是国标码GB2312和GB18030,
所以打开Windows下的文本文件可能出现汉字乱码。<br />
解决方法是设置编辑器的文本编码方式。以KWrite为例,打开windows下的xx.txt,
如果汉字乱码了,选择KWrite的菜单:<br />
“工具”---->“编码”---->“简体中文”---->“GB18030”,<br />
然后显示简体中文就正常了。<br />
如果要让编辑器默认就打开GB18030的文本,
选择菜单:“设置”---->“配置编辑器”,打开设置对话框,
在对话框左边一栏选“打开和保存”,
右边会看到“通用”项,里面“文件格式”---->“编码”,
从列表里选择“简体中文GB18030”,保存配置。
然后点击xx.txt,默认就是国标码打开,不会乱码了。
<br /><br />
<div class="heading3">5、为什么打开音乐文件MP3时播放器显示中文汉字乱码?</div>
原因是国内几乎所有MP3文件的内置标签文本是GB2312(GBK)编码的,
而Linux下播放器(Amarok、Audacious等)默认以Unicode编码(UTF-8、UTF-16)
打开MP3文件的内置标签文本,就会出现中文汉字乱码。<br />
解决方法是将MP3内置标签编码转换成Unicode。
Linux下可以用python-mutagen来转换:<br />
(1)首先在Linux下安装python-mutagen(audio metadata editing library)<br />
<div class="clroot">
zypper in python-mutagen
</div> <br />
(2)进行标签编码转换<br />
在当前目录和所有子目录搜索MP3文件并转换其标签编码:<br />
<div class="cl">
find . -iname "*.mp3" -execdir mid3iconv --remove-v1 -e gbk {} \;
</div> <br />
对应在Windows下也有软件(ConvertZ)可以转换标签编码,参考:<br />
<a href="http://jingyan.baidu.com/article/b2c186c8810535c46ef6ffd4.html" target="_blank">
批量转换mp3上的id3标签教程
</a>
<br /><br />
<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 50%;"><div style="text-align: center;"><a href="under.php"><img class="pic" style="width: 32px; height: 32px;" alt="prev" src="images/pics/prev.png" /></a></div></td>
<td style="width: 50%;"><div style="text-align: center;"><a href="history.php"><img class="pic" style="width: 32px; height: 32px;" alt="next" src="images/pics/next.png" /></a></div></td>
</tr>
</tbody>
</table>
<!-- stats start -->
<!--
<hr align="center" width="99%" />
<center><script type="text/javascript" src="http://www.livewebstats.dk/counter.php?id=1959&mark="></script></center><br />
-->
<!-- stats slut -->
<!-- sponsor start -->
<!--
<div style="text-align: center;">Hosting sponseret af:<br />
<a href="http://www.enavn.dk/"><img style="border: 0px" alt="liga" src="images/pics/enavn.gif" /></a></div><br />
-->
<!-- sponsor slut -->
<!-- <div class="lille" align="center">Send feedback to <a href="mailto:admin@opensuse-guide.org">admin [at] opensuse-guide.org</a></div> -->
<div class="small" align="center">
本文档翻译自 <a href="http://opensuse-guide.org/" target="_blank">http://opensuse-guide.org/</a> 不当之处,还望指正<br />
使用e-mail发送您的英文评论给 admin [at] opensuse-guide.org <br />
或发送意见和建议给中文译者:Libitum (hello[at]libitum.org);
Winland (winland0704[at]126.com)
</div>
</div>
</body>
</html>