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

Hidden features

asked 2015-02-15 23:04:29 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-02-17 01:46:34 +0200

kuzeyron gravatar image

I think I found a easter egg on my phone. A handy tool indeed! It's with the Alarm Clock.

First you need a text tool like nano. Example will be nano. To install nano:

pkcon install nano

And then you'll open up the terminal and login as devel-su.

Then run this one in case of broken codes and so:

cp /usr/share/jolla-clock/clock.qml /usr/share/jolla-clock/clock.qml.backup

File to open:

nano /usr/share/jolla-clock/clock.qml

and change onlyCountdown to false.

Now, have a look at your Alarm Clock (Scroll down in the list if you got more than 20 alarms?!)

Thanks Jolla for that one! :)

If you got any easter eggs to share feel free to add it in a post or edit this text!

edit retag flag offensive close delete

Comments

2

Looks fun but not that useful :)

juiceme ( 2015-02-15 23:31:33 +0200 )edit

For me it's more handy to use :)

kuzeyron ( 2015-02-15 23:33:30 +0200 )edit
6

so what happens?

misc11 ( 2015-02-16 00:44:25 +0200 )edit

You bastard, now clock app doesn't turn on at all! And I can't reverse it! The screen becomes white and that's all. Hope alarm will activate in the morning.

Show me how whole file should look like, please.

MrDoctor ( 2015-02-16 00:47:58 +0200 )edit
8

@MrDoctor starting with "You bastard" and ending with "show me [...] please". awesome!

misc11 ( 2015-02-16 00:54:51 +0200 )edit

3 Answers

Sort by » oldest newest most voted
7

answered 2015-02-16 21:49:02 +0200

cvp gravatar image

updated 2015-02-17 00:28:12 +0200

leszek gravatar image

for the next modifications.... try in your "how to" every time with "Backup your files" like

cp /usr/share/jolla-clock/clock.qml /usr/share/jolla-clock/clock.qml.backup

if someone goes wrong, you can delete the broken file and copy/past the working backup back

edit flag offensive delete publish link more

Comments

@cvp isn't it a cp command? maybe you could add it ;-)

cemoi71 ( 2015-02-17 00:03:50 +0200 )edit

Thanks! Did add this one :)

kuzeyron ( 2015-02-17 01:47:10 +0200 )edit
6

answered 2015-02-17 23:03:52 +0200

foss4ever gravatar image

updated 2015-02-18 00:26:11 +0200

You don't need to install nano or any other tool to edit text-files on this Linux device, there is already vi installed by default (as many distros do).. To edit a file, just type:

vi file.txt

Help on how to use it with

vi --help

and lots of resources on the web to familiarize onself with vi's (admittedly quite peculiar) commands for changing modes and editing and saving files.. some examples:

to sart editing type i

to save the changes type ESC :w

and to exit from vi type ESC :q

edit flag offensive delete publish link more

Comments

Yeah, I knew about vi/m. But for a beginner like me i suggest nano instead :)

kuzeyron ( 2015-02-17 23:16:51 +0200 )edit
1

Well, you have to know and learn the nano command syntax too even if some of the most used key commands are visble in the UI (but not all).

foss4ever ( 2015-02-17 23:24:24 +0200 )edit
0

answered 2015-02-18 00:18:18 +0200

Nokius gravatar image

This alarms are not working for me may this is why the are disabled by default.

edit flag offensive delete publish link more

Comments

Yeah I noticed it too. Setting the time for one minute. And the real time would be 12 hours and 1 minute :P

kuzeyron ( 2015-02-18 11:23:26 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2015-02-15 23:04:29 +0200

Seen: 1,660 times

Last updated: Feb 18 '15