免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 11294 | 回复: 2

[OpenBSD] OpenBSD xfce firefox scim中文桌面安装 [复制链接]

论坛徽章:
0
发表于 2013-09-07 11:19 |显示全部楼层
本帖最后由 f5b 于 2016-06-08 17:32 编辑

自己的笔记,保留在互联网上

OpenBSD xfce firefox scim中文桌面安装

1. 按OpenBSD FAQ安装了含x界面OpenBSD
还有,以下操做均在root用户下完成

2. pkg_add xfce firefox-i18n-zh-CN zh-wqy-zenhei-ttf scim-fcitx

3. 仔细阅读 /usr/local/share/doc/pkg-readmes/ 目录下的相关文文件,根据需要做相应设置

4. 编辑 vi ~/.xinitrc,内容如下

  1. # Chinese support

  2. # input support
  3.     export GTK_IM_MODULE="scim"
  4.     export QT_IM_MODULE="scim"
  5.     export XMODIFIERS="@im=SCIM"
  6.     /usr/local/bin/scim -d



  7. # character display & encoder in terminal and other app

  8.   export LC_CTYPE=zh_CN.UTF-8
  9.   export LC_MESSAGES=zh_CN.UTF-8


  10. # startxfce4
  11. /usr/local/bin/startxfce4

复制代码
5.
# startx就可以启动xfce桌面啦
如果需要开机自动启动login窗口,rc.conf.local应该添加以下代码。

  1. xdm_flags=    #用户目录下面还得有.xsession文件,内容与.xinitrc相同
  2. pkg_scripts="dbus_daemon"
复制代码
# reboot,搞定。

想要更漂亮的login窗口,可安装slim



6. 非root用户在xfce桌面中的关机问题
非root用户暂时只能用电脑的电源按钮关机(按1下),无法通过xfce的shutdown helper实现。不知道到其他同学如何实现?


7. 需要更多程序?
请# pkg_add  xfce-extras


参看 11 - The X Window System
http://www.openbsd.org/faq/faq11.html

评分

参与人数 1可用积分 +10 信誉积分 +2 收起 理由
ulovko + 10 + 2 赞一个!

查看全部评分

论坛徽章:
0
发表于 2013-09-07 14:01 |显示全部楼层
回复 1# f5b


    想在线看视屏,flash怎么解决啊

论坛徽章:
0
发表于 2013-09-07 14:34 |显示全部楼层
本帖最后由 f5b 于 2013-09-08 18:10 编辑

回复 2# 楠释


gnash能看部分在线flash

国内大多视频网站都不兼容gnash

有些网站可以通过下载flash再本地播放



另外还可以考虑
http://openports.se/multimedia/livestreamer

Livestreamer is a Command Line Interface that pipes video streams from
various services into a video player, such as VLC. The main purpose of
Livestreamer is to allow the user to avoid buggy and CPU heavy flash
plugins but still be able to enjoy various streamed content.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP