lubuntuのnotify-sendがセッションで開始されない

lubuntuのnotify-sendがセッションで開始されない

lubuntu 20.04 でテキスト リマインダーを送信してみます。自動起動 ($HOME/.config/autostart) に 2 つ設定していますが、1 つは機能しますが、2 つ目は機能しません。

作業は、2番目に/usr/local/bin/に配置されているbashスクリプトを実行し、$HOME/.config/autostart/の下にデスクトップファイルを作成します。

cat .config/autostart/firefox-hold.desktop 
[Desktop Entry]
Exec=/usr/bin/notify-send "firefox auf hold gesetzt"
Name=firefox-hold
Type=Application
OnlyShowIn=LXQt;
Version=1.0

私はそれを活性化する

lxqt-config-session

.xsession-errorsを調べる

+ /usr/bin/notify-send -i /usr/share/icons/gnome/48x48/status/dialog-warning.png Warnung 'home voll' # the working one

2番目から

notify-send \"firefox auf hold gesetzt\" #looks strange

ターミナルではコマンドがnotify-send "firefox auf hold gesetzt"機能します。

答え1

ファイルを次のように変更した後、なぜ動作するようになったのか説明できません。

cat .config/autostart/firefox-hold.desktop 
[Desktop Entry]
Exec=/usr/bin/notify-send "firefox auf hold gesetzt"
Name=firefox-hold
Type=Application
Version=1.0
#OnlyShowIn=LXQt 
X-LXQt-Need-Tray=true

今、リマインダーが届きました

[2022-01-18-13-08-34-593]
Actions=@Invalid()
Application=notify-send
Body=
Hints=@Variant(\0\0\0\b\0\0\0\x1\0\0\0\xe\0u\0r\0g\0\x65\0n\0\x63\0y\0\0\0\x86\x1)
Icon=
Summary=firefox auf hold gesetzt
TimeOut=5000

バブルとして、そしてlxqt-notificationdとして

関連情報