![]() |
Adding More Shortcuts (Actions) to Lockscreen? (So Not Only Apps)
With the introduction of the 1.0.7.16 update, we're able to add shortcuts to the lockscreen.
But we're only able to add shortcuts to apps on the lockscreen. I want to add an 'action' to the lockscreen. The action is Called "Connect to Internet". This menu already exist: Settings > WLAN > Pulley menu > Connect to Internet (As you can see, it's a pain the *ss to go to that menu everytime...) This would bring up a screen like we're used to on Fremantle and Harmattan: https://together.jolla.com/upfiles/1388695991866559.png EDIT: You can download this at Openrepos now. TMO Thread: http://talk.maemo.org/showthread.php?p=1429367 |
Re: Adding More Shortcuts (Actions) to Lockscreen? (So Not Only Apps)
if this screen can be called using a command i suppose this will be easier (:
Did a quick hack out or boredom for this. First as this is a hack, you would need developer access to the device. Then run devel-su to continue as root. Then use vi/whatever editor you fancy to create a file named settings-wifi-connect.desktop in /usr/share/applications with the following config Code:
[Desktop Entry]EDIT: actual hack EDIT2: cross posted to my blog |
Re: Adding More Shortcuts (Actions) to Lockscreen? (So Not Only Apps)
The connection dialog is simply appearing when trying to make a network connection (at least with Qt) while there is no network connectivity. You could make a simple window-less Qt program that tries to load from some URL, and the dialog should popup.
Then add a .desktop file for it and you should be able to put it into the shortcuts menu. |
Re: Adding More Shortcuts (Actions) to Lockscreen? (So Not Only Apps)
1 Attachment(s)
Quote:
Code:
[Desktop Entry] |
Re: Adding More Shortcuts (Actions) to Lockscreen? (So Not Only Apps)
I've uploaded it to Openrepos guys.
Have fun! https://openrepos.net/content/htheb/connect-internet TMO Thread: http://talk.maemo.org/showthread.php?p=1429367 |
| All times are GMT. The time now is 08:20. |
vBulletin® Version 3.8.8