|
2014-02-12
, 09:43
|
Posts: 20 |
Thanked: 17 times |
Joined on Nov 2011
@ Zagreb, Croatia
|
#3
|
The Following User Says Thank You to kskoda For This Useful Post: | ||
|
2014-02-18
, 00:30
|
Posts: 20 |
Thanked: 17 times |
Joined on Nov 2011
@ Zagreb, Croatia
|
#4
|
nemo ALL=(ALL) NOPASSWD: ALL
|
2015-02-15
, 08:32
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#6
|
Just uploaded version 0.3, in which contact names, mobile type and phone number are shown.
Unfortunately, this version needs sudo command/package installed because Contacts database needs privileged user. I downloaded mine from OpenRepos at https://openrepos.net/content/nieldk/sudo
After installation of "sudo", we need to add "nemo" to privileged user in /etc/sudoers with "visudo" command:
Code:nemo ALL=(ALL) NOPASSWD: ALL
The Following 3 Users Say Thank You to Saturn For This Useful Post: | ||
|
2015-02-15
, 11:34
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#7
|
visudo -f /etc/sudoers.d/callLogHelper
ALL ALL = (root) NOPASSWD: /usr/share/call-log/callLogHelper.sh
sudo /usr/share/call-log/callLogHelper.sh
The Following 3 Users Say Thank You to Saturn For This Useful Post: | ||
|
2015-02-15
, 19:02
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#8
|
... If you allow me to suggest a small improvement; instead of giving more rights to nemo (which is kind of a security leak), you could give only to the script the elevated rights.
... split all the sudo actions into a second script and call it from inside your main script that is executed as user.
nemo ALL=(ALL) NOPASSWD: /usr/share/call-log/callLog.sh
|
2015-02-16
, 09:21
|
Posts: 20 |
Thanked: 17 times |
Joined on Nov 2011
@ Zagreb, Croatia
|
#9
|
The Following User Says Thank You to kskoda For This Useful Post: | ||
|
2015-02-16
, 12:53
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#10
|
nemo ALL=(ALL) ALL
Tags |
call log, sailfish os |
|
Util we get official call log from Jolla and inspired by answer from kortsi at https://together.jolla.com/question/...lete-call-log/ I decided to create simple script which creates a html table and invokes browser to show it.
Also, I packed everything into tar file, so you can use it as application to show full call log. Icon I used to show this "application" was from my Nokia 808.
To use tar from attachment in this post, copy it to root directory (/) and un-tar as root:
Of course, as usual, use it at your own risk
18.02.2014. added new version 0.3.
Last edited by kskoda; 2014-02-18 at 08:01.