Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.SystemUtilities.DesktopUtilities</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.SystemUtilities.DesktopUtilities</h1> <p> Module implementing Linux desktop related utility functions. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr><td>None</td></tr> </table> <h3>Functions</h3> <table> <tr> <td><a href="#desktopName">desktopName</a></td> <td>Function to determine the name of the desktop environment used (Linux only).</td> </tr> <tr> <td><a href="#isGnomeDesktop">isGnomeDesktop</a></td> <td>Function to check, if the current session is a Gnome desktop (Linux only).</td> </tr> <tr> <td><a href="#isKdeDesktop">isKdeDesktop</a></td> <td>Function to check, if the current session is a KDE desktop (Linux only).</td> </tr> <tr> <td><a href="#isWaylandSession">isWaylandSession</a></td> <td>Function to check, if the current session is a wayland session.</td> </tr> <tr> <td><a href="#sessionType">sessionType</a></td> <td>Function to determine the name of the running session (Linux only).</td> </tr> </table> <hr /> <hr /> <a NAME="desktopName" ID="desktopName"></a> <h2>desktopName</h2> <b>desktopName</b>(<i></i>) <p> Function to determine the name of the desktop environment used (Linux only). </p> <dl> <dt>Return:</dt> <dd> name of the desktop environment </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="isGnomeDesktop" ID="isGnomeDesktop"></a> <h2>isGnomeDesktop</h2> <b>isGnomeDesktop</b>(<i></i>) <p> Function to check, if the current session is a Gnome desktop (Linux only). </p> <dl> <dt>Return:</dt> <dd> flag indicating a Gnome desktop </dd> </dl> <dl> <dt>Return Type:</dt> <dd> bool </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="isKdeDesktop" ID="isKdeDesktop"></a> <h2>isKdeDesktop</h2> <b>isKdeDesktop</b>(<i></i>) <p> Function to check, if the current session is a KDE desktop (Linux only). </p> <dl> <dt>Return:</dt> <dd> flag indicating a KDE desktop </dd> </dl> <dl> <dt>Return Type:</dt> <dd> bool </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="isWaylandSession" ID="isWaylandSession"></a> <h2>isWaylandSession</h2> <b>isWaylandSession</b>(<i></i>) <p> Function to check, if the current session is a wayland session. </p> <dl> <dt>Return:</dt> <dd> flag indicating a wayland session </dd> </dl> <dl> <dt>Return Type:</dt> <dd> bool </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="sessionType" ID="sessionType"></a> <h2>sessionType</h2> <b>sessionType</b>(<i></i>) <p> Function to determine the name of the running session (Linux only). </p> <dl> <dt>Return:</dt> <dd> name of the desktop environment </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>