xinit/startx启动界面程序显示不完整、不能全屏

问题 在命令行模式(init3)下使用xinit或者startx启动界面程序,只显示一半的屏幕 如: startx chromium 解决方法 修改/etc/X11/xorg.conf的Device中的FlipFB为"none" 完整配置内容: Section "Device" Ident

ConstStar ConstStar 发布于 2024-03-15

Pycharm ssh远程调试GUI报错: cannot connect to X server

1. 先在终端输入 echo $DISPLAY 得到 localhost:10.0 2. 再在pycharm中设置环境变量 Run->Edit,打开Edit Configuration settings,在Environment的Environment variables中追加新的环境变量:DI

ConstStar ConstStar 发布于 2024-01-25

Qt 使用WebEngineView报错Running as root without --no-sandbox is not supported

方法1 添加运行参数--no-sandbox 方法2 添加环境变量QTWEBENGINE_DISABLE_SANDBOX=1

ConstStar ConstStar 发布于 2024-01-25

qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found.

问题 pyside6在linux中运行提示 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start beca

ConstStar ConstStar 发布于 2023-11-17

PySide6/PyQT 使用QThread

相对通用的一个模板 # -*- coding: utf-8 -*- import time import requests from PySide6.QtCore import (QThread, Signal, Slot, QSize) from PySide6.QtWidgets impo

ConstStar ConstStar 发布于 2023-11-16

使用pyside6-uic会自动删除py文件

使用Pycharm创建External Tools时候,pyside6-uic后面的参数名千万别和py文件一样,否则不小心选错文件,在py文件上运行pyside6-uic会导致删除py文件。

ConstStar ConstStar 发布于 2023-11-14