关于xfce4-pulseaudio-plugin中文翻译的bug

背景 系统从debian 12升到debian 13后,一直有个地方很不爽:鼠标放到状态栏的音量图标上时无法显示当前的具体音量。但是,由于升级过程出了点状况(详见Debian从12升到13的翻车记),一时不确定是自己搞出来的问题还是本来就有bug。 过程 新发现 今天无意间查看~/.xsession-errors内容时,看到大段如下重复的内容: 1 2 (wrapper-2.0:1621): Gtk-WARNING **: 21:29:52.802: Failed to set text '音量 30% </b><small>内置音频 模拟立体声</small>' from markup due to error parsing markup: 第 2 行第 5 个字符出错: 元素“b”已经闭合,当前仍开放的元素是“markup” 然后瞬间就觉得这可能是个bug!查看插件的关于信息:xfce4-pulseaudio-plugin 0.4.9,卸载并重装插件: 1 2 3 4 5 6 # 卸载 sudo apt purge xfce4-pulseaudio-plugin # 重新安装 sudo apt install xfce4-pulseaudio-plugin # 重启面板 xfce4-panel -r 重启后,问题仍在。全盘搜索相关文件: 1 2 3 4 5 6 7 8 9 10 11 12 13 sudo find / -name "*xfce4-pulseaudio-plugin*" # 部分结果如下 /usr/share/icons/hicolor/48x48/apps/xfce4-pulseaudio-plugin....

2025-10-10 22:46:05 · 1 分钟 · 慢步道人

Xfce4自定义用户文件夹

背景 在Linux上,一直使用的是xfce桌面环境,要的就是一个简洁、轻量、稳定,够用却又不算丑。 但是,在中文环境下,默认的下载目录名字就是下载,在命令行下使用时还要切换输入法,麻烦,虽然可以建立软链接解决,但还是想知道有没有更直接的方法。 解决方案 一番折腾后,发现了$HOME/.config/目录下的user-dirs.dirs文件,内容如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 # This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line you're # interested in. All local changes will be retained on the next run. # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path....

2025-07-13 10:26:19 · 1 分钟 · 慢步道人