分类标签归档:debian

[ linux安装qq音乐闪退问题 ]


sudo vim /usr/share/applications/qqmusic.desktop

[Desktop Entry]

Name=QQMusic

Exec=/opt/qqmusic/qqmusic %U --no-sandbox

Terminal=false

Type=Application

Icon=qqmusic

StartupWMClass=qqmusic

Comment=Tencent QQMusic

Categories=AudioVideo;Audio;Player;

MimeType=application/x-ogg;application/ogg;

< Read more >

[ debian12中appimage的使用 ]


使用插件管理appimageLauncher官方网站、

Release filename Build system Compatible distributions (版本兼任选择)
appimagelauncher-.xenial(amd64,i386).deb Ubuntu Xenial Ubuntu Xenial (16.04), Debian Stretch (9), Netrunner 17.01
appimagelauncher- bionic_(amd64,i386).deb Ubuntu Bionic Ubuntu Bionic (18.04), Ubuntu

< Read more >

[ debian截图工具 ]


安装

sudo apt install flameshot

设置快捷键

设置->键盘->自定义快捷键

命令是, 启动截图

flameshot gui

设置完成快捷键后无法截图问题

vi /etc/gdm3/daemon.conf

WaylandEndble=false

!!!最新版本系统

官网使用deb安装[https://github.com/flameshot-org/flameshot]

debian13配置方案(主要问题是wayland默认是true情况下可能是开启了硬件加速之类的问题)导致无法打开

步骤 1:彻底卸载当前 Flameshot(清理所有配置 +

< Read more >

[ systemctl任务管理使用 ]


systemctl任务管理使用(守护进程运行...)

test_example.py文件

import time
import logging

# 这个文件夹需要提前存在
logging.basicConfig(filename='/home/chf/python_obj/python_test/systemctl-test/test_example.log', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')

while True:
    try:
      

< Read more >