lubuntu 20.04에서 문자 알림을 보내도록 노력하겠습니다. 자동 시작($HOME/.config/autostart)에 2개가 있는데 하나는 두 번째로 작동하지 않습니다.
작업은 $HOME/.config/autostart/ 아래에 데스크탑 파일을 생성하는 두 번째로 /usr/local/bin/에 있는 bash-skript를 실행합니다.
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
두 번째부터
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 알림으로