1 Star 0 Fork 4

Admin / opencc-ovirt-pro-rpi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

opencc-ovirt-pro-rpi

介绍

面向企业用户的 oVirt 开源云桌面客户端树莓派版本,树莓派是一款开源的 ARM 终端。

运行环境

cat /etc/os-release

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

lscpu

Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               3
Model name:          Cortex-A72
Stepping:            r0p3
CPU max MHz:         1500.0000
CPU min MHz:         600.0000
BogoMIPS:            108.00
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

客户端运行

git clone https://gitee.com/cnovirt/opencc-ovirt-pro-rpi.git

cd opencc-ovirt-pro-rpi/opencc-ovirt-pro

# 解决npm下载electron包太慢问题
# 将文件夹中的 electron-v2.0.18-linux-armv7l.zip 压缩包拷贝到 /root/.cache/electron/ 文件夹下
# 如果没有使用 sudo 命令, 文件夹地址 ~/.cache/electron/
sudo yarn install sudo npm install

sudo npm run dev

树莓派环境配置

如果下载太慢, 可以使用国内镜像源

# 安装 startx
sudo apt install xinit

# 安装 openbox
sudo apt install openbox

# 安装 hsetroot
sudo apt install hsetroot

# 开启wifi设备
rfkill unblock all

# 安装 remote-viewer
sudo apt install ovirt-viewer
ln -s /usr/bin/remote-viewer /usr/bin/window

# 客户端打包
cd opencc-ovirt-pro-rpi/opencc-ovirt-pro
sudo yarn install
sudo npm run build

# 将打包的文件夹移动
mv ./build/opencc-ovirt-pro-linux-armv7l/ ../

# 配置无密码登录
# 运行此目录脚本 run_override.sh
cd opencc-ovirt-pro-rpi
./run_override.sh

# 重启客户端
reboot

opencc-ovirt-pro-rpi/opencc-ovirt-pro/.electron-vue/build.config.js

# 将参数 x86 修改成arm架构的 armv7l, 就能在树莓派成功打包
arch: 'armv7l'

树莓派的问题

图形界面黑边

# vim /boot/config.txt

# 放开此参数, 重启树莓派 reboot
disable_overscan=1

# 检查 margin参数
cat /proc/cmdline

键盘布局

sudo raspi-config

不显示中文字体

sudo apt-get install ttf-wqy-zenhei
MIT License Copyright (c) 2020 井达 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

面向企业用户的oVirt开源云桌面客户端树莓派版本,树莓派是一款开源的ARM终端。 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/bjlechi_xulong6302475/opencc-ovirt-pro-rpi.git
git@gitee.com:bjlechi_xulong6302475/opencc-ovirt-pro-rpi.git
bjlechi_xulong6302475
opencc-ovirt-pro-rpi
opencc-ovirt-pro-rpi
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891