51. DefaultDesktop

51.1. Summary of Module Globals

List of Global Functions

  • Description - Get the description of the currently selected desktop for the summary

  • Desktop - Get the currently set default desktop, nil if none set

  • Init - Initialize default desktop from control file if specified there

  • PatternsToDeselect - Get patterns which should be NOT selected for currently selected desktop

  • PatternsToSelect - Get patterns which should be selected for currently selected desktop

  • PrefferedWindowManager - Get preffered window/desktop manager for the selected desktop

  • SetDesktop - Set the default desktop

List of Global Variables

    51.2. Global Functions

    51.2.1. Description

    Get the description of the currently selected desktop for the summary

    Return value

    • string - the description of the desktop

    51.2.2. Desktop

    Get the currently set default desktop, nil if none set

    Return value

    • string - "kde", "gnome", "min_x11", "text", nil

    51.2.3. Init

    Initialize default desktop from control file if specified there

    Return value

    • void

    51.2.4. PatternsToDeselect

    Get patterns which should be NOT selected for currently selected desktop

    Return value

    • list<string> - a list of patterns

    51.2.5. PatternsToSelect

    Get patterns which should be selected for currently selected desktop

    Return value

    • list<string> - a list of patterns

    51.2.6. PrefferedWindowManager

    Get preffered window/desktop manager for the selected desktop

    Return value

    • string - preffered window/desktop manager, empty if no one

    51.2.7. SetDesktop

    Set the default desktop

    Function parameters

    • string new_desktop

    Return value

    • void

    51.3. Global Variables

    51.4. Module Requirements

    51.4.1. Module Imports

    • ProductFeatures

    51.4.2. Module Includes