页次: 1
解决方法:安装dunst并在后台运行
sudo pacman -S dunst
dunst & # 可添加进 ~/.xinitrc 中
原问题描述:
官网上提供的x64的AppImage,以及AUR上的LinuxQQ都尝试过,都可以正常启动,但是一旦收到新消息就会闪退。在终端上打开看了一下输出了如下的报错,好像是通知发不出来导致的崩溃。
请教一下各位,有没有什么解决办法。
[44720:0204/211924.027006:ERROR:libnotify_notification.cc(49)] notify_notification_show: domain=211 code=2 message="GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files"
[2023-02-04 21:19:24.027] [ERROR] [Main] [MacTray] Notification error {
preventDefault: [Function: preventDefault],
sender: EventEmitter {
show: [Function: show],
close: [Function: close],
title: [Getter/Setter],
subtitle: [Getter/Setter],
body: [Getter/Setter],
silent: [Getter/Setter],
hasReply: [Getter/Setter],
timeoutType: [Getter/Setter],
replyPlaceholder: [Getter/Setter],
urgency: [Getter/Setter],
sound: [Getter/Setter],
actions: [Getter/Setter],
closeButtonText: [Getter/Setter],
toastXml: [Getter/Setter],
_events: [Object: null prototype] {
click: [Function (anonymous)],
failed: [Function (anonymous)]
},
_eventsCount: 2
}
}
[44720:0204/211924.032323:ERROR:libnotify_notification.cc(49)] notify_notification_close: domain=211 code=2 message="GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files"
[BuglyService.cpp][buglySignalHandler][460]buglySignalHandler info=0x7f107a1105b0 context=0x7f107a110480 crashed=0 signal=5
[BuglyService.cpp][handleSignal][322]in handleSignal get cond.
[BuglyService.cpp][handleSignal][333]Bugly NDK version:testbuildnum
[BuglyService.cpp][handleSignal][335]Old handler addresss 0x7f1079f1fdd0
[BuglyService.cpp][handleSignal][338]HandleSignal start 5
235,0000,Try to lock file: /home/kana/.config/QQ/crash_files//../files/native_record_lock
235,0001,Failed to create lock file for: No such file or directory.
[BuglyService.cpp][initEupInfo][110]Create a EupInfo object with size: 1288
[BuglyService.cpp][initEupInfo][132]Directory for recording: /home/kana/.config/QQ/crash_files/
[BuglyService.cpp][initEupInfo][141]Tomb path: /home/kana/.config/QQ/crash_files//tomb_1675516764033.txt
[BuglyService.cpp][initEupInfo][150]!!! error addr: (nil)
[BuglyService.cpp][initEupInfo][156]Signal number: 5
[BuglyService.cpp][initEupInfo][163]Signal name: SIGTRAP
[BuglyService.cpp][initEupInfo][169]Signal code: 128
[BuglyService.cpp][initEupInfo][187]Message of signal code: UNKNOWN_SIGTRAP
[BuglyService.cpp][initEupInfo][193]Error number of signal: 0
[BuglyService.cpp][initEupInfo][201]Message of error number: Success
[BuglyService.cpp][initEupInfo][206]PID of this process: 44720
[BuglyService.cpp][initEupInfo][210]TID of this thread: 44720
[BuglyService.cpp][initEupInfo][224]Name of this process: /tmp/.mount_qq3G8dks/qq --force-device-scale-factor=2.3 --no-sandbox --no-sandbox --enable-crashpad_44720
[BuglyService.cpp][initEupInfo][243]Name of this thread: main_44720
235,0002,Failed to get API level (will set to 21).
[BuglyService.cpp][initEupInfo][251]API level: 21
[BuglyService.cpp][initEupInfo][257]Successfully create a EupInfo object.
[CommonInfoManager.cpp][getPlatCustomizeInfo][426]getPlatCustomizeInfo customizeInfos:.
[BuglyService.cpp][initEupInfo][263]free ram:,
[BuglyService.cpp][initEupInfo][269]device id: unknown
[BuglyService.cpp][handleSignal][349]Create a pretty tomb stone for the damned native crash.
[BuglyService.cpp][handleSignal][354]Init all record files.
[crash_file_recorder.c][initCrashRecordFile][31]Init crash record file.
235,0000,Init of crash record file finished.
235,0000,Init register record file.
235,0001,Init of register record file finished.
[map_file_recorder.c][initMapRecordFile][21]Init register record file, dir:/home/kana/.config/QQ/crash_files/.
[map_file_recorder.c][initMapRecordFile][33]Init of map record file finished.
[BuglyService.cpp][handleSignal][359]Record header of tomb stone.
235,0003,create tombstone file: /home/kana/.config/QQ/crash_files//tomb_1675516764033.txt
235,0004,Record crash banner.
[BuglyService.cpp][handleSignal][364]Record Custom infos.
[CommonInfoManager.cpp][getPlatCustomizeInfo][426]getPlatCustomizeInfo customizeInfos:.
[BuglyService.cpp][recordCustomInfos][300]recordCustomInfos crashInfos:.
[BuglyService.cpp][handleSignal][369]Record register info.
235,0002,Record register info end
[BuglyService.cpp][handleSignal][375]Try to dump native stack.
235,0000,!!!!!! not define arm.
235,0001,!!!!!! define __x86_64__.
最近编辑记录 Kana_Meisa (2023-03-01 15:20:09)
离线
考虑一下 AUR 上那个QQ包?
离线
考虑一下 AUR 上那个QQ包?
试了下,一样会闪退
离线
好问题,我也是 DWM 桌面环境,插眼。
我的 QQ 也有问题,但我还不确定触发原因。
火狐浏览器有时候会打开若干个标签页,我怀疑和 QQ 有关。
另外,我使用 FlameShot 截图之后,无法粘贴图片到 QQ 上,我不知道这是我的问题还是漏掉了哪些工作。
离线
QQ 可能只接受 BMP 格式的图片粘贴,而 flameshot 是使用现代的 PNG 格式的。你可以用 convert 命令转一下。
离线
AUR上已经更新到了linuxqq-2:3.1.0_9332-1,问题依然存在
离线
我似乎找到一个原因,大概是 dwm 环境的消息通知出了问题。
据说和这些有关,但是我还没弄清楚具体怎么搞。
notify-send test
notifyserver
离线
已解决。
安装 dunst
sudo pacman -S dunst
后台启动 dunst
dunst &
完成
离线
已解决。
安装 dunst
sudo pacman -S dunst
后台启动 dunst
dunst &
完成
谢谢,问题解决了,icalingua是时候退休了。
离线
问题解决之后QQ收到新消息就会在右上角出现一个通知小窗口,这个窗口之前我用Manjaro-i3wm的时候见到过,可能是Manjaro已经预装dunst了,而ArchLinux没有(也不可能会预装),所以说以后还是得多摸索一下。
离线
页次: 1