The system module

The system module contains classes pertaining to various different systems, such as an Ubuntu system.

The ubuntu module

The ubuntu module contains classes pertaining to performing tasks related to a system running Ubuntu.

The Menu class

class pyamp.system.ubuntu.Menu

The Menu class provides the ability to find the file containing the configuration data pertaining to the Ubuntu applications menu, as well as the ability to locate the directory which stores the specific application configuration files.

classmethod findApplicationsDirectory()

Return the directory which contains the application desktop files, or None if it was unable to be located.

classmethod findMenuFile()

Return the system file associated with the applications menu, or None if it was unable to be located.

Table Of Contents

This Page