-
Notifications
You must be signed in to change notification settings - Fork 4
Creating UDDExec profile
UDDExec is an application launcher utility. It executes the calling program in depending on the mode selected in UDDTray. Now we configure UDDTray to select modes of Libre Office policy.
Open preferences of UDDTray: Edit->Preferences, and select Applications group.

Append new group Office by activating plus button. Enter group name, and text which will be shown in UDDTray menu. Select icon for this group. Go to Group modes tab.

Append modes Unclassified and Secret in group Office, select its names, menu texts, icons. Open Applications tab.

Last step is to append application with name libreoffice and command libreoffice in mode Unclassified, and append application with name libreoffice and command libreoffice_secret in mode Secret.
Now, if you select mode Unclassified in UDDTray menu, application
libreoffice will called when you type in users console UDDExec libreoffice -writer, and libreoffice_secret called on command UDDExec libreoffice -writer in Secret mode.

So if /usr/bin/libreoffice has type libre_office_t, and /usr/bin/libreoffice_secret has type libre_office_secret_t you could call program with single command but different domains.
You could replace .desktop file of Libre Office to your own file with command UDDExec libreoffice.