We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

Enter a calendar event from terminal

asked 2019-09-05 13:05:11 +0200

remote gravatar image

updated 2019-09-09 12:58:20 +0200

jiit gravatar image

How to do it? Just the description + time&date + set notify time

edit retag flag offensive close delete

Comments

I'm just curious...
why do you want to make such things?
are you a dev? maybe there are some other interface for this
Or do you want to propose a new minimalist view cli-like lol ;-)

cemoi71 ( 2019-09-05 13:09:16 +0200 )edit
1

Not really an answer for the terminal part but: this thread is providing some information.

Besides, you may use icalconverter from nemo-qml-plugin-calendar-qt5-tools which allows to import ICS data from command-line into the local calendar. You will need to run it with devel-su -p to get right access to the local calendar though.

Damien Caliste ( 2019-09-05 13:11:15 +0200 )edit
1

cemoi71 It's easier to create an event from my computer typeing on a big keyboard, while connected via ssh

remote ( 2019-09-05 14:38:27 +0200 )edit
1

Damien Caliste icalconverter seems to work, but in my case it doesn't create an alarm for the entry, although it is in the file...

BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTAMP:20190912T180000
CREATED:20190912T180000
SUMMARY:test vcal
DTSTART;TZID=Asia/mycity:20190912T180000
DTEND;TZID=Asia/mycity:20190912T190000
TRANSP:OPAQUE
BEGIN:VALARM
DESCRIPTION:
ACTION:DISPLAY
TRIGGER:PT0S
X-KDE-KCALCORE-ENABLED:TRUE
END:VALARM
END:VEVENT
END:VCALENDAR
remote ( 2019-09-05 15:04:28 +0200 )edit

@remote hmmm... you need a direct access with your computer...
not interested on an mail account with calendar sync with caldav or account like memotoo or fruux etc...
maybe own owncloud server...
You may seat for your computer with big keyboard. you have it on internet and will be synced with your device automatically... personally i use fruux, and it works fine. Before i used it with netc (mail provider) with caldav or ms exchange (don't know anymore).
Seems to me that you still want make something complicated (ux experiment side) ...

cemoi71 ( 2019-09-05 15:14:22 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-09-05 13:28:29 +0200

juiceme gravatar image

updated 2019-09-05 13:29:00 +0200

You can do it via sqlite3 command line tool but it'd require a nice wrapper to be really useful. Nothing fancy, few lines of shell commands could do it.

The database you want to manipulate is .local/share/system/privileged/Calendar /mkcal/db

edit flag offensive delete publish link more

Comments

1

will it really work? since I've asked earlier about sms db changes not applied at all.

link text

remote ( 2019-09-05 14:37:07 +0200 )edit
1

@remote please elaborate? What does not work related to SMS database?

---- edit ----

Ah I think you mean your question https://together.jolla.com/question/208700/how-to-commit-changes-to-commhistorydb-since-wal-file-exists/ ?

Weel there's no .wal file there so the calendar applicaton works directly off the database I think.

juiceme ( 2019-09-05 14:44:26 +0200 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-09-05 13:05:11 +0200

Seen: 216 times

Last updated: Sep 05 '19