Setting a Default Bottle for .exe Files in Bottles
When clicking 'Open with Bottles,' the application prompts to select which bottles to run. I would prefer to simply click the .exe file and have it run a default bottle instead. Is there a way to achieve this?
I made a workaround to archive this by creating a new .desktop with the following
[Desktop Entry] Name=Bottles default Comment=Run Windows software files directly Icon=com.usebottles.bottles Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=bottles-cli --file-forwarding com.usebottles.bottles run --bottle my-bottle --executable %f Terminal=false NoDisplay=true Type=Application Categories=Utility;GNOME;GTK; StartupNotify=true StartupWMClass=bottles MimeType=x-scheme-handler/bottles;application/x-ms-dos-executable;application/x-msi;application/x-ms-shortcut;application/x-wine-extension-msp; Keywords=wine;windows; X-GNOME-UsesNotifications=true X-Flatpak=com.usebottles.bottles
I don't know if it's the best solution but it works
This might be solvable if Bottles installed desktop files for each bottle, which is doable on recent versions of xdp with the DynamicLauncher portal.
This issue has been automatically closed as part of a cleanup process to help the team manage issues more effectively.
If the problem still persists, feel free to comment and we will gladly reopen it.