树莓派初次使用

来源:互联网 发布:600756浪潮软件腾讯网 编辑:程序博客网 时间:2024/06/06 04:06

树莓派初次使用

中文支持,vnc远程,小霸王学习机


设置中文支持

首先,因为树莓派默认使用的是英文库,系统里面没有预装中文字库的。所以要手动来搞事情了:

安装中文字库

sudo apt-get install ttf-wqy-zenhei

安装中文输入法

sudo apt-get install scim-pinyin

进行系统配置

sudo raspi-config  --出现配置东东1. 选择Internationalisation Options 【回车进入】2. 选择 Change Locale 3. 查找选项”en_GB.UTF-8 UTF-8”,”en_US.UTF-8 UTF-8“,”zh_CN.UTF-8 UTF-8“,”zh_CN.GBK GBK“ 这四个选项。使用空格打上*号。然后TAB->ok4. 再选择zh_CN UTF-8  作为默认  回车 搞定

然后重启下就可以了。

参考:http://jingyan.baidu.com/article/456c463b5e2e4a0a583144fe.html


设置VNC远程

安装vnc服务

sudo apt-get install vnc4server

安装 GNOME桌面的任务栏

sudo apt-get install gnome-panel  【确实可以不用安装的,一样可以用(ノ`Д)ノ】

启动服务

# vncserver##好像有什么配置文件啥的不知道了。。。You will require a password to access your desktops.Password: 123456            #输入vnc 连接密码Verify: 123456                 #确认vnc密码xauth: creating new authority file /root/.XauthorityNew ‘localhost.localdomain:1 (root)’ desktop is localhost.localdomain:1Creating default startup script /root/.vnc/xstartupStarting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/localhost.localdomain:1.log

配置文件和关闭服务

# vi /root/.vnc/xstartup# vi /etc/sysconfig/vncservers#vncserver -kill :1#vncserver -kill :2#service vncserver restart //重启-------------------------------------1、防火墙开启  不能连接关闭防火墙    service  iptables  stop查看防火墙状态   service iptables status查看进程     ps axf | grep vnc/iptables

客户端使用

1. 打开vnc客户端输入 服务器IP+:12. 密码为设置的服务密码3. 木有了

参考:https://www.kafan.cn/edu/5988902.html


小霸王学习机FC(nes)游戏

安装FCEUX模拟器

sudo apt-get updatesudo apt-get install fceux

开始玩

打开模拟器,【应用中心或者目录usr/game/fceux】加载下载好的nes游戏文件就可以了有需要,先配置下键位

参考:http://jingyan.baidu.com/article/b24f6c82301ba186bfe5da25.html


20170913
小杭


原创粉丝点击