View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#888
ProfileMatic does not currently have direct support for launching applications as an action. But you can use custom action to do it. Here's an example how to do it:

First find the file that describes the application to launch. As an example, let's suppose we want to launch the "Maps" application.

In terminal, find the file that describes the application "Maps":

Code:
~ $ grep -l Maps /usr/share/applications/*
/usr/share/applications/maps.desktop
/usr/share/applications/mapsi.desktop
From here I see /usr/share/applications/maps.desktop is the correct file.

In ProfileMatic:
Put into Custom Action the following code to start the application:
Code:
xdg-open /usr/share/applications/maps.desktop
__________________
My N9/N950 projects:
 

The Following 3 Users Say Thank You to ajalkane For This Useful Post: