This package replicates the unique "Add to Steam" functionality from the Steam Deck for KDE Plasma 6 on Arch Linux. It adds a context menu item to launchers and Dolphin service menus, allowing users to add any application (game or non-game) as a non-Steam game in their Steam library.
- Automatically detects whether Steam is installed natively or via Flatpak, prioritizing the native installation.
- Multi-language support for the context menu action:
- English (default): Add to Steam
- Spanish: Agregar a Steam
- German: Zu Steam hinzufügen
- Japanese: Steamに追加
- Chinese: 添加到Steam
-
Install the executable:
Copy the
add-to-steamscript to/usr/binand ensure it is executable:sudo install -Dm755 bin/add-to-steam /usr/bin/add-to-steam
-
Install the desktop files:
- For Plasma Kickoff actions:
sudo install -Dm644 share/kickeractions/steam.desktop /usr/share/plasma/kickeractions/steam.desktop
- For ServiceMenus integration:
sudo install -Dm644 share/kservices/steam.desktop /usr/share/kservices6/ServiceMenus/steam.desktop sudo install -d /usr/share/kservices5/ServiceMenus sudo ln -s /usr/share/kservices6/ServiceMenus/steam.desktop /usr/share/kservices5/ServiceMenus/steam.desktop
- For Plasma Kickoff actions:
-
Dependencies:
Ensure that
steam(or Steam via Flatpak),kdialog,kmimetypefinder, andpython3are installed on your system.
Right-click on an application entry in your launcher or in Dolphin, and select "Add to Steam". The script will determine if your Steam installation is native or via Flatpak and will add the application to your Steam library as a non-Steam game.
This project is licensed under the MIT License.