A Flutter application for managing launch flags and environment variables for Linux desktop applications. This tool helps you create and manage local overrides of .desktop
files to customize application behavior.
- Easy Flag Management: Toggle common flags and environment variables with a simple switch interface
- Local Overrides: Create and manage local copies of desktop entries without modifying system files
- Search & Filter: Quickly find applications and filter by local/system entries
- Icon Support: View application icons with automatic resolution
- Database Updates: Automatic desktop database updates after changes
- OZONE_PLATFORM: Control the platform backend (x11, wayland)
- DISABLE_GPU: Disable GPU acceleration
- ENABLE_OZONE_PLATFORM_HINT: Enable platform-specific hints
- CHROME_DESKTOP: Set Chrome desktop environment
-
Download: Go to the Latest Release page and download the
.AppImage
file from the "Assets" section. -
Make Executable: Open your terminal, navigate to the directory where you downloaded the file (e.g.,
cd ~/Downloads
), and run:chmod +x Desktop_Flag_Manager-*.AppImage
(Replace
*
with the specific version/build identifier in the filename). -
Run: You can now run the application directly:
./Desktop_Flag_Manager-*.AppImage
-
Integration (Optional but Recommended): To add the application to your system's menu for easy launching:
- Gear Lever (Recommended): A great tool for managing and integrating AppImages (often available via Flathub). Use Gear Lever to add the downloaded AppImage.
- AppImageLauncher: Another popular tool that prompts for integration when you first run an AppImage.
- Manual: You can move the AppImage to a location like
~/Applications
and create a.desktop
file in~/.local/share/applications/
pointing to it.
- Ensure you have Flutter installed (stable channel recommended).
- Clone this repository:
git clone https://github.com/BenAuerDev/desktop_flag_manager.git
- Navigate into the directory:
cd desktop_flag_manager
- Get dependencies:
flutter pub get
- Build and run:
flutter run
- Launch the application
- Search for the application you want to modify
- Click on the application to expand its options
- Toggle the desired flags or variables
- The changes will be applied automatically
If an application doesn't work well under Wayland:
- Find the application in the list
- Enable
OZONE_PLATFORM=x11
- This forces the application to use X11 backend
For applications with high GPU usage:
- Find the application in the list
- Enable
DISABLE_GPU=1
- This disables GPU acceleration
- Ensure the application is installed in a standard location
- Check if the application has a valid
.desktop
file
- Try running
update-desktop-database
manually - Check if the application is running (changes only affect new instances)
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License
- Flutter for the UI framework
- Linux desktop standards for
.desktop
file format