pkcon refresh
pkcon install lipstick-qt5-tools

for notifications look at https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/

to make it work while locked you need this: https://github.com/nemomobile/nemo-keepalive

------ Исходное сообщение ------
От: "Gurvan Kervern" <gurva...@gmail.com>
Кому: devel@lists.sailfishos.org
Отправлено: 25.09.2015 0:49:44
Тема: [SailfishDevel] Problem installing lipstick-qt5-tools to get notification tool

Hi,



I hope I'm posting on the right list, if not please excuse me :)

I want to make a small notification tool for myself using bash/Python/Perl. This page mentions an already existing tool which seems interesting : https://together.jolla.com/question/78054/how-to-check-notifications-via-command-line/ . Unfortunately I can't install lipstick-qt5-tools, I get this error :

Resolving dependencies
Fatal error: lipstick-qt5-tools-0.27.20.5-1.61.3.armv7hl requires libdsme_dbus_if.so.0.2.0, but this requirement cannot be provided

If I search these libraries, I get :

Installed libdsme-0.64.1-1.5.1.armv7hl DSME dsmesock dynamic library Available libdsme-0.63.2-1.4.2.armv7hl DSME dsmesock dynamic library

Unfortunately the installed package provides the 3.0 version :

[root@Jolla ~]# find / -name 'libdsme_dbus_if*'
find: /home/nemo/android_storage/.aptoide/icons: Interrupted system call
/usr/lib/libdsme_dbus_if.so.0.3.0
/usr/lib/libdsme_dbus_if.so.0
/opt/alien/usr/lib/libdsme_dbus_if.so.0.3.0
/opt/alien/usr/lib/libdsme_dbus_if.so.0

What should I do?
1) Install libdsme-0.63.2-1.4.2.armv7hl? (coudl it break existing applications?) 2) make a symbolic link to a libdsme_dbus_if.so.0.2.0 from the existing libdsme_dbus_if.so.0.3.0? (doesn't seem very clean...)
3) Something else?

Otherwise, if someone found a good documentation on how to send yourself/a user notifications (sound, SMS, etc...) without making a full-feldged c++ Jolla application, I would be interested. I made a little tool sending me SMS a while ago, but it didn't work very well as it didn't send them while phone was locked and/or if the screen had gone black. I was using dbus-send : dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:"etc...

Regards,
Gurvan
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to