eric7.SystemUtilities.DesktopUtilities

Module implementing Linux desktop related utility functions.

Global Attributes

None

Classes

None

Functions

desktopName Function to determine the name of the desktop environment used (Linux only).
isGnomeDesktop Function to check, if the current session is a Gnome desktop (Linux only).
isKdeDesktop Function to check, if the current session is a KDE desktop (Linux only).
isWaylandSession Function to check, if the current session is a wayland session.
sessionType Function to determine the name of the running session (Linux only).


desktopName

desktopName()

Function to determine the name of the desktop environment used (Linux only).

Return:
name of the desktop environment
Return Type:
str
Up


isGnomeDesktop

isGnomeDesktop()

Function to check, if the current session is a Gnome desktop (Linux only).

Return:
flag indicating a Gnome desktop
Return Type:
bool
Up


isKdeDesktop

isKdeDesktop()

Function to check, if the current session is a KDE desktop (Linux only).

Return:
flag indicating a KDE desktop
Return Type:
bool
Up


isWaylandSession

isWaylandSession()

Function to check, if the current session is a wayland session.

Return:
flag indicating a wayland session
Return Type:
bool
Up


sessionType

sessionType()

Function to determine the name of the running session (Linux only).

Return:
name of the desktop environment
Return Type:
str
Up