Skip to content

Creating UDDExec profile

Hramchenko edited this page Oct 5, 2011 · 10 revisions

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.

Applications groups

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.

Applications groups modes

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

Enforced applications

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.

Selection of UDDExec 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.

Go to architecture page

Clone this wiki locally