ubuntu20下xfce设置root自动登录

新建文件 /etc/lightdm/lightdm.conf 添加以下内容 [Seat:*] autologin-guest=false autologin-user=root autologin-user-timeout=0

ConstStar ConstStar 发布于 2024-01-25

ubuntu20下xfce关闭息屏(屏幕常量)

1、修改电源管理 在设置中打开【Power Manager】->【Display】,将【Blank after】、【Put to sleep after】、【Switch off after】设置为0 2、修改屏保 在设置中打开【Screensaver】->【Screensavert】关闭Enabl

ConstStar ConstStar 发布于 2024-01-25

ubuntu20下xfce用户登录桌面后自动运行程序

在设置中打开【Session and Startup】->【Application Autostart】 添加name为xxx,Command为自己需要运行的程序 在~/.config/autostart 文件夹下修改文件 xxx.desktop [Desktop Entry] Encoding=U

ConstStar ConstStar 发布于 2024-01-25

ubuntu20下xfce隐藏鼠标

1. 安装unclutter-xfixes sudo apt-get install unclutter-xfixes 2. 设置隐藏鼠标 unclutter -b --timeout 5 -b:后台运行 --timeout 5:鼠标静止5秒隐藏 3.设置开机启动 在~/.bashrc文件尾部追

ConstStar ConstStar 发布于 2024-01-25

Linux旋转触摸屏

1. 安装xinput sudo apt-get install xinput 2. 查看触摸屏驱动 xinput list root@lubancat:~# xinput list ⎡ Virtual core pointer id=2

ConstStar ConstStar 发布于 2024-01-25

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

ubuntu root用户开机开机没有声音

配置root用户下可以自动重启pulseaudio 1. 编辑pulseaudio.service 服务文件 vim /usr/lib/systemd/user/pulseaudio.service 注释掉 ConditionUser=!root 2. 编辑 pulseaudio.socket 文

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

Ubuntu安装最新版本Python

sudo apt update #ppa源工具 sudo apt install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt search python3.11 sudo apt ins

ConstStar ConstStar 发布于 2023-11-16