![]() |
2011-07-07
, 21:58
|
|
Posts: 92 |
Thanked: 92 times |
Joined on May 2011
@ Stellenbosch, South Africa
|
#52
|
Name=App Name, if you want to override it, otherwise leave this out DesktopFile=app.desktop [DBus] AppName_Shortcut=<dbus-monitor watch expression> AppName_Keypress=<dbus-monitor watch expression> AppName_somethingelse=<dbus-monitor watch expression> [Bin] AppName_EXE=/path/to/exe AppName_EXE2=/path/to/second/exe
type='method_call',interface='com.nokia.CallUI',member='top_application'
![]() |
2011-07-09
, 13:29
|
Posts: 96 |
Thanked: 51 times |
Joined on Jul 2010
@ India
|
#53
|
Version 0.3.0 released
Just finished working on the UI and getting it more or less stable. There are a few small problems which still need to be fixed but for the most part it is usable.
New Features
- A UI, obviously, all written in QML
- Application Override files to allow specific applications to provide their own lock information. Useful for apps which require more than 1 DBus monitor.
- Default overrides provided for Contacts, Phone and Terminal which make use of shortcuts or other functions that need monitoring.
- Supports localisation information used in certain .desktop files (will support changing your language soon)
- Phone is locked as soon as the UI is opened to prevent people from unlocking your apps...
Known Problems
- Removing a DBus monitored application that has been locked takes some time (up to 20 seconds) during which time the UI is unresponsive.
- Adding a DBus monitored application does not take effect until you click on the menu and choose "Refresh Daemon"
- Substitution files are not used for command line adds just yet (Will be fixed in v0.3.1)
Creating AppOverride files
AppOverride files use a basic INI structure, they are formatted in the following way:
You can specify as many DBus monitors and paths as you like, though they should all have unique names.Code:Name=App Name, if you want to override it, otherwise leave this out DesktopFile=app.desktop [DBus] AppName_Shortcut=<dbus-monitor watch expression> AppName_Keypress=<dbus-monitor watch expression> AppName_somethingelse=<dbus-monitor watch expression> [Bin] AppName_EXE=/path/to/exe AppName_EXE2=/path/to/second/exe
DBus watch expressions can be read about in the DBus Documentation under "Matches", they are structured like this in general:
Release InfoCode:type='method_call',interface='com.nokia.CallUI',member='top_application'
The autobuilder is not functioning at the moment, I will try again tomorrow morning and attempt to upload the package for building. Lets hope the problem is fixed soon
![]() |
2011-07-09
, 16:54
|
|
Posts: 92 |
Thanked: 92 times |
Joined on May 2011
@ Stellenbosch, South Africa
|
#54
|
![]() |
2011-07-09
, 20:17
|
Posts: 89 |
Thanked: 4 times |
Joined on Jun 2010
|
#55
|
![]() |
2011-07-09
, 20:38
|
|
Posts: 92 |
Thanked: 92 times |
Joined on May 2011
@ Stellenbosch, South Africa
|
#56
|
cd /usr/share/applications/hildon sudo gainroot nano AppLock.desktop
Exec=/opt/applock/AppLock -ui
![]() |
2011-07-09
, 21:53
|
|
Posts: 472 |
Thanked: 195 times |
Joined on Jun 2010
@ India, Mumbai
|
#57
|
![]() |
2011-07-09
, 22:39
|
|
Posts: 92 |
Thanked: 92 times |
Joined on May 2011
@ Stellenbosch, South Africa
|
#58
|
![]() |
2011-07-10
, 04:06
|
Posts: 89 |
Thanked: 4 times |
Joined on Jun 2010
|
#59
|
![]() |
2011-07-10
, 04:30
|
Posts: 89 |
Thanked: 4 times |
Joined on Jun 2010
|
#60
|
Cheers!