摘要: 首先在电脑C:\Windows\Fonts\目录找到qt使用的字体,拷贝到开发板/usr/share/fonts/目录下, 然后将三个.ttc文件转换为.ttf格式,使用如下命令: sudo apt install fontforge fontforge -lang=ff -c 'Open($1); 阅读全文
posted @ 2024-04-23 21:08 星苑 阅读(15) 评论(0) 推荐(0)
摘要: 第一步安装pyside2的必要组成 wget http://master.qt.io/archive/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.tar.xz 第二步配置并安装QT sudo apt-get install libxcb* sudo 阅读全文
posted @ 2023-12-27 21:38 星苑 阅读(81) 评论(0) 推荐(0)
摘要: sudo apt-get install xrdp 阅读全文
posted @ 2023-12-20 22:21 星苑 阅读(6) 评论(0) 推荐(0)
摘要: 安装 mariadb-server sudo apt install mariadb-server 配置 mariadb-server 进入数据服务器 sudo mysql 为root用户设置密码: ALTER USER 'root'@'localhost' IDENTIFIED BY 'your_ 阅读全文
posted @ 2023-04-23 21:50 星苑 阅读(121) 评论(0) 推荐(0)
摘要: 在finalshell安装目录下找到coon文件夹,下面有许许多多的json文件,在这些文件中找到password {"forwarding_auto_reconnect":false,"custom_size":false,"delete_time":0,"secret_key_id":"","u 阅读全文
posted @ 2023-04-23 20:25 星苑 阅读(224) 评论(0) 推荐(0)
摘要: ssh远程连接后输入以下命令 sudo apt-get install xrdp 安装完毕后,就可以使用windows的远程桌面连接了,个人感觉比vnc好用 ,输入ip和用户名连接就行 阅读全文
posted @ 2023-04-23 08:54 星苑 阅读(31) 评论(0) 推荐(0)
摘要: 报错: E: Package ‘vnc4server’ has no installation candidate. 解决: sudo vim /etc/apt/sources.list 在最下面添加这句 deb http://cn.archive.ubuntu.com/ubuntu/ bionic 阅读全文
posted @ 2023-04-22 21:20 星苑 阅读(681) 评论(0) 推荐(0)
摘要: Ubuntu在更新软件源时,出现E: Could not get lock /var/lib/apt/lists/lock问题 查看哪些进程在占用资源 ps -e | grep apt 3231 ? 00:00:00 apt.systemd.dai 3235 ? 00:00:00 apt.syste 阅读全文
posted @ 2023-04-22 21:11 星苑 阅读(78) 评论(0) 推荐(0)
摘要: 代码如下 import os folder_path = './' # 指定文件夹路径 counter = 30 # 起始计数器 # 遍历文件夹中的所有文件 for filename in os.listdir(folder_path): if filename.endswith('.jpg') o 阅读全文
posted @ 2023-04-13 10:20 星苑 阅读(145) 评论(0) 推荐(0)
摘要: html文件如下 <div class="wt03"> <p class="wecss">气&nbsp;&nbsp;&nbsp;温:<span id="temperature_min"></span> ~ <span id="temperature_max"></span></p> <p class 阅读全文
posted @ 2023-04-09 22:02 星苑 阅读(176) 评论(0) 推荐(0)