Table of Contents
- Introduction
- Features
- Requirements
- Installation
- Usage
- Contributing
- License
- Credits
Introduction
This application streamlines the process of running AUTO1111 on Linux systems by providing a system tray icon and desktop application launcher. It solves the issue of a cluttered taskbar when running AUTO1111 in a separate terminal, integrating it seamlessly into your desktop environment.
While this should work on most Linux installations, thorough testing is needed. The system tray utilizes PyQT5, so ensure compatibility with your Linux OS before use.
Features
- System Tray Icon: Easily access and manage a running AUTO1111 instance.
- Desktop Application Launcher: Convenient way to start AUTO1111.
- Self-Contained: Automatically downloads the AUTO1111 repository during setup.
- (Future) Guided Installer: Streamlined setup process.
- (Future) Custom Defaults: Optimized file system configurations for improved performance.
Requirements
- Linux-based operating system compatible with PyQT5.
- Other dependencies will be installed automatically.
Installation
-
Download this repository and place it in an easily accessible location on your machine.
-
Creating an empty directory to place the
webui-desktop-app
folder inside is highly recommended for organization. Thewebui-desktop-app
folder must remain in place after installation. -
Open a terminal, navigate to the directory containing
webui-desktop-app
, and run the following commands:cd webui-desktop-app python setup.py
-
Follow the instructions in the terminal. If errors occur, attach the 'webui.log' file to a bug report and provide your OS information. This project was tested on Ubuntu 22.04 with KDE Plasma and ROCm 6.0.1, and ROCm 6.2. See the AUTO1111 repository for further compatibility information if you are unsure.
-
WebUI.sh will be ran once during setup. Afterthe browser is visible, you can cntrl+c to close the terminal generated by setup. NOT the terminal you ran 'python setup.py', but the additional terminal that has opened with the webui processes. Hopefully that is clear enough.
-
Only press "Y" if there were errors, otherwise press "N" to complete the AUTO1111 webui appeared to function as intended (a webpage opened in your browser with a local host address "127.0.0.1/7860" typically).
-
Locate the application on your Linux system and ensure it's working. A system tray icon should appear, and after 30 seconds to 3 minutes, a browser should load your Stable Diffusion interface. With a KDE Plasma environment this would be inside the "Application launcher" at the bottom left. You can search for "WebUI Server" to locate it mroe easily.
-
To exit, right-click the tray icon and select "Exit."
Usage
This application simplifies the installation and running of AUTO1111, eliminating potential user error when following the instructions found on the AUTO1111 repository page. It's worth noting that not many scenarios have been tested at this time, and you may encounter unhandled exceptions and errors.
If issues arise after installation, a log file for the desktop application can be found at /tmp/webui.log
. This is separate from the log in the webui-desktop-app
directory, and handles desktop application launch errors only.
Contributing
To report bugs, include your OS, version, desktop environment (Gnome, KDE, etc.), and associated log files. For desktop launcher issues, provide /tmp/webui.log
. For installation problems, provide webui.log
from the webui-desktop-app
directory.
Code contributions are welcome for improvements to readability, versatility, and redundancy. Avoid adding new features at this time.
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Credits
- Full credit for WebUI design and Stable Diffusion implementation goes to AUTO1111: https://github.com/AUTOMATIC1111/stable-diffusion-webui
- Logo credit: ParityError on GitHub