Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Unable to pass a file to program in Bottles #3661

Open
Damglador opened this issue Jan 4, 2025 · 0 comments
Open

[Bug]: Unable to pass a file to program in Bottles #3661

Damglador opened this issue Jan 4, 2025 · 0 comments

Comments

@Damglador
Copy link

Describe the bug

I was doing this before #3504 (yes, Bottles wasn't sanboxed on my system at the time), now I try to flatpak run --command=bottles-cli com.usebottles.bottles run -p UndertaleModTool -b 'Programs' -- "/home/damglador/.steam/steam/steamapps/common/DEADBOLT/data.win" and it just opens the program without file passed to it, with wine I can do wine /home/damglador/Programs/UndertaleModTool_v0.6.0.0/UndertaleModTool.exe /home/damglador/.steam/steam/steamapps/common/DEADBOLT/data.win to pass the file. Bottles have read/write permissions to the whole system. The file can be open from the app.

To Reproduce

  1. Get portable Notepad++
  2. Add executable to Bottles
  3. Add .desktop file for Notepad++ using Bottles
  4. Try to open a file using this .desktop file
  5. Or just do flatpak run --command=bottles-cli com.usebottles.bottles run -p notepad++ -b 'Programs' -- {file name}

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

Official Package: true
Version: '51.17'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :1
    Wayland: true
Graphics:
    vendors:
        nvidia: &id002
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-565-77/extra/nvidia/wine
        amd: &id001
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 6.12.7-zen1-1-zen
Disk:
    Total: 7248330752
    Free: 7248146432
RAM:
    MemTotal: 13.5GiB
    MemAvailable: 6.2GiB
Bottles_envs: null

Troubleshooting Logs

[damglador@Parasite:~]$ flatpak run --command=bottles-cli com.usebottles.bottles run -p UndertaleModTool -b 'Programs' -- /home/damglador/.steam/steam/steamapps/common/DEADBOLT/data.win
F: Not sharing "/usr/share/icons" with sandbox: Path "/usr" is reserved by Flatpak
14:54:40 (INFO) Forcing offline mode 
wine: using kernel write watches, use_kernel_writewatch 1.
wineserver: using server-side synchronization.
wine: using kernel write watches, use_kernel_writewatch 1.
002c:err:winediag:getaddrinfo Failed to resolve your host name IP
wine: using kernel write watches, use_kernel_writewatch 1.
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
0134:err:winediag:wined3d_dll_init Disabling 3D support.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant