Patch: Shutdown screen

Your rating: None Average: 5 (8 votes)

Change the "Goodbye!" and "One moment..." texts on shutdown/reboot screens to your prefered custom text.
Thanks to Markkyboy & Eatdirt for finding a correct place for changing.

Translation you can do here:

* If fields is empty, the original message "Goodbye!" or "One moment..." will stay.
* For Phone & Tablet

* v0.1-2.5 for version
* v0.1-4 for version
* v0.1-8 for version and above
* v0.2-1 for version and above

- For v2.1.0.9.

- Added Portuguese translation.

- Setting moved to Display setting.
- Added Russian translation.

- For v2.0.2.51 and above.

- Added icons for z1.25 and z2.0.
- Added About page.
- For v2.0.3.14 ONLY.

- For v2.0.3.14 ONLY.

- For v2.0.3.11 ONLY.

- Small changes in QML.
- For v2.0.2.45 ONLY.

- Small fixes in .spec file.
- For v2.0.1.11 ONLY..

Beware, use it on your own risk !!!

Donation are welcome :)

Application versions: 

- For


objectifnul's picture

Do not install in SFOS3.2.0.12. This would break jolla-settings-system (settings => display page no longer available).

Same issue (and probably same workaround) as coderus' "Sneak peek option" patch (

Kelmi's picture

Hey! This patch does not work anymore with new sailfish system. I already restarted lipstick and also tried to reboot device without success.

When I trying to enter Sailfish settings > Screen. I got following error in screen: "Page loading failed".

My device is xperia X (f5121). I also mention that I just recently reinstalled sailfish to my device.

objectifnul's picture

@Kelmi Temporary workaround (at least for me and both Jolla phone &  XperiaX + SFOS

(i) disable all patches, uninstall this one

(ii) <devel-su + version --dup>

(iii) <devel-su + pkcon install jolla-settings-system --allow-reinstall>

(iv) reboot

Schturman's picture

Hi. I didn't update to latest version yet, it will take time.
Did you unapplied patch before update the system ?

Kelmi's picture

Hey thanks for quick respond! Well I flashed sailfish again to my device. So yes. My phone was totally messed, very unstable. Everything works nicely now. I can't say did this patch work with lemmenjoki because I was already messed up my device.

Will see does this issue exsist only for
me or does this patch need update.
Anyway nice patch ;)

Schturman's picture

Did you tried to install and apply after fixing your phone ?
If it not compatible with system it shouldn't allow you to apply.
What version of PM you use ?

Kelmi's picture

Oh sorry I didn't explain everything that is recuired. So yes I already tried that. Yeah true, but somehow I can enable this patch. I also disabled following patch "settings cover" just for make sure it not conflicts with your patch(without success). For now I'm using newest version of pm3. When I countered this issue I had one step previous version of pm3.

Next step could be; take some logs. I'm not sure how I can collect some logs of patchmanager. Journalctl? Some instructions needed, otherwise I afraid to take risk, that can mess up my device again.

olf's picture

I can confirm this issue:

Unfortunately under SFOS 3.0.2 (and 3.0.1 according to the report above), Patch: Shutdown screen 0.2-1 causes Settings -> Display to emit "Could not load page" when entering this settings page. Observed on an Xperia X with Patchmanager 3.0.57. Unapplying Shutdown screen lets the Display settings page work again, re-applying breaks it again, reproducibly.

P.S.: As I have not used this Xperia X much early this year, this issue may have appeared under SFOS 3.0.1 (apparently so, see above) or 3.0.0 (but above report sounds as if this issue appeared when upgrading from 3.0.0 to 3.0.1), already (but I missed to observe it).

olf's picture

Exactly the same effects are observed with SailfishOS 3.0.3 (on my Xperia X) and 3.2.0 (reported by @objectifnul), hence presumably also 3.1.0.

olf's picture

Described in detail (including PM3 log) in the second to fourth paragraph of PM issue #42.

Schturman's picture

German language is allowed for translation. Who asked, can translate it...

bomo's picture

I tried my best...please review.

Schturman's picture

Added option to do translation, link in description description...

Maledictus's picture

I think it is better to move settings from general category to Display

Schturman's picture

Also Lock Screen we can move to Display ;)

shults's picture

what about ?

Schturman's picture

v0.1-8 compatible with

explit's picture

Hi Shturman. I have a problem to remove the package

sailfishos-shutdown-screen patch


Get this error:

Subprocess failed:

Error: RPM failed /var/tmp/rpm-tmp.kHhpOY: line 2: //is a directory

error: 0x448dd228reun(sailfishos-shutdwon-screen-0.1.2.noarch) scriplet failed, exit status 2

The same error i get, if i try to remove via terminal:

zypper rm sailfishos-shutdown-screen
PackageKit is blocking zypper. This happens if you have an updater applet or other software management application using PackageKit running.
Tell PackageKit to quit? [yes/no] (no): yes
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following package is going to be REMOVED:

1 package to remove.
After the operation, 6.8 KiB will be freed.
Continue? [y/n/?] (y): y
Removing sailfishos-shutdown-screen-0.1-2 .....................................................[error]
Removal of (7830)sailfishos-shutdown-screen-0.1-2.noarch(@System) failed:
Error: Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.CZf9iX: line 2: //: is a directory
error: %preun(sailfishos-shutdown-screen-0.1-2.noarch) scriptlet failed, exit status 2
error: sailfishos-shutdown-screen-0.1-2.noarch: erase failed

Abort, retry, ignore? [a/r/i] (a): r
Removing sailfishos-shutdown-screen-0.1-2 .....................................................[error]
Removal of (7830)sailfishos-shutdown-screen-0.1-2.noarch(@System) failed:
Error: Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.ekZS2s: line 2: //: is a directory
error: %preun(sailfishos-shutdown-screen-0.1-2.noarch) scriptlet failed, exit status 2
error: sailfishos-shutdown-screen-0.1-2.noarch: erase failed

Abort, retry, ignore? [a/r/i] (a): i
There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs.
[root@Sailfish nemo]#



Any ideas?


Schturman's picture

1. What SailfishOS version you have ?
2. Do you have Patchmanager installed ?
3. Did you do any manual modification to this file:

I don't have any problem with installing, applying or removing this package even without UNapplying:
[root@Jolla ~]# pkcon remove sailfishos-shutdown-screen
Waiting in queue
Removing packages
Resolving dependencies
Removing packages
Waiting in queue
Waiting for authentication
Waiting in queue
Removing packages
Resolving dependencies
Removing packages
[root@Jolla ~]#

From your output I see it complained on "%preun" this section in spec file have only one command for unapply patch before removing:
/usr/sbin/patchmanager -u sailfishos-shutdown-screen
Try to install this package again, apply and unappy patch and try to remove with pkcon command.
If you did any manual modification to this file:
DON'T reboot your phone and DON'T restart lipstick it can kill your phone!.
Here is content of original file:
And here is patched:

explit's picture

Thanks Shturman for the answer.

I am on the new leaked Sailfish.

First i deactivated all patches, but that was not enough, your patch is not compatible with the new, as they changed something....

reinstalling is not possible, bacause i'm alredy on the new sailfish :-)

and your patch has a dependency to

So i cant uninstall it, because the pacth couldnot be disabled.

Maybe you can tell me, which files i should edit to remove the package and manually remove the patch from patchmanager?



Schturman's picture

Ohhh.. But I wrote it for :)
To restore ShutDownItem.qml file for your version, just reinstall this package: lipstick-jolla-home-qt5-components

explit's picture

Thanks, ShutDownItem.qml is alredy overwritten by the update, but i still can't deactivate your patch and can#t remove it

So there is no other way, as remove all patches and patchmanager?


Schturman's picture

You can manually remove all files related to my package or just wait for update...
Here is a files in my package:
/bin/rm -f /usr/share/jolla-settings/entries/shutdownscreen.json
/bin/rm -rf /usr/share/jolla-settings/pages/shutdownscreen
/bin/rm -rf /usr/share/patchmanager/patches/sailfishos-shutdown-screen
/bin/rm -f /usr/share/themes/sailfish-default/meegotouch/z1.0/icons/icon-m-screenshutdown.png
/bin/rm -f /usr/share/themes/sailfish-default/meegotouch/z1.5-large/icons/icon-m-screenshutdown.png

explit's picture

Thanks Shturman!

I removed all files, that you wrote, but it is still not possible to remove the package sailfishos-shutdown-screen

I will wait for your update!

Thank you very much!

Schturman's picture

Ohhh, I forgot... You probably can remove this package with:
rpm -e --noscripts sailfishos-shutdown-screen

explit's picture

You made my day Shturman, now it works !

velox's picture

Nice work! I really like "useless" stuff like this with little or no influence on performance. Works beautifully and makes me smile a bit while waiting for a reboot. It's the little things.

Schturman's picture

Yep, make me smile too with my stupidity sentences ;) Haaa...

DameCENO's picture

So I guess the author of the complaint about this goodbye message on TJC actually achieved something with that, nothing is useless in life I now fully beleive that.

Nice work @Schtruman

Downloading for testing asap


Schturman's picture

Yep.. Thanks ;)