bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.34k stars 265 forks source link

[Bug]: Can't run .exe in bottles from the right-click menu #2946

Open kacperpaczos opened 1 year ago

kacperpaczos commented 1 year ago

Describe the bug

Can't run .exe in Bottles using the right-click menu. image

I use LM 21.1, and i have an app notepad++ for example. I downloaded exe file, and want to run it in bottles using option from my right click menu in option.

When i click "run with bottles" nothing is do.

To Reproduce

1) Install and configure bottles. 2) Try to use the context menu to run the app in the bottle.

Package

Flatpak from Flathub

Distribution

Ubuntu 22.04/LM21.1

Debugging Information

Official Package: true
Version: '51.6'
DE/WM: cinnamon
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: false
Graphics:
    vendors:
        intel:
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 5.19.0-45-generic
Disk:
    Total: 8319107072
    Free: 8318947328
RAM:
    MemTotal: 15.5GiB
    MemAvailable: 1.4GiB
Bottles_envs: null

Troubleshooting Logs

flatpak run com.usebottles.bottles npp.8.5.4.Installer.x64.exe
Invalid URI (syntax: bottles:run/<bottle>/<program>)

Additional context

No response

mirkobrombin commented 1 year ago

image I am not able to replicate.

diegoortizmatajira commented 1 year ago

The issue occurs when the selected bottle name has spaces in it.

sour-source commented 2 months ago

still an issue with latest bottles and i finaly found the culprit. Steps to reproduce: Create new bottle then change its name to something different, ex. from 'games' to 'game2' opening from right click failed, but if change it back to 'games' it works again without issues! So, for anyone wondering while this issue is solved by developer just create a new bottle and don't touch it's name, or rename it back to whatever it was before.