The .mcoprc file
Prev
Next

The .mcoprc file

The .mcoprc file (in each user's home folder) can be used to configure MCOP in some ways. Currently, the following is possible:

GlobalComm

The name of an interface to be used for global communication. Global communication is used to find other objects and obtain the secret cookie. Multiple MCOP clients/servers that should be able to talk to each other need to have a GlobalComm object which is able to share information between them. Currently, the possible values are “Arts::TmpGlobalComm” to communicate via /tmp/mcop-username folder (which will only work on the local computer) and “Arts::X11GlobalComm” to communicate via the root window properties on the X11 server.

TraderPath

Specifies where to look for trader information. You can list more than one folder here, and separate them with commas, like

ExtensionPath

Specifies from which folders extensions (in the form of shared libraries) are loaded. Multiple values can be specified comma separated.

An example which uses all of the above is:

# $HOME/.mcoprc file
GlobalComm=Arts::X11GlobalComm

# if you are a developer, it might be handy to add a folder in your home
# to the trader/extension path to be able to add components without
# installing them
TraderPath="/opt/kde2/lib/mcop","/home/joe/mcopdevel/mcop"
ExtensionPath="/opt/kde2/lib","/home/joe/mcopdevel/lib"
Prev
Next
Home


Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team