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]: Launch options not honored when application is launched from Desktop Entry #3584

Closed
eomanis opened this issue Dec 7, 2024 · 0 comments
Labels

Comments

@eomanis
Copy link

eomanis commented Dec 7, 2024

Describe the bug

I have an application that requires the "Virtual Desktop" launch option to be usable:

Screenshot From 2024-12-07 18-17-29

However, when I start the application from its dedicated Desktop Entry that was created using the "Add Desktop Entry" feature, the "Virtual Desktop" launch option is not active.

The "Exec=" line in the .desktop file looks like this:
Exec=flatpak run --command=bottles-cli com.usebottles.bottles run -p TheProgramName -b 'Bottle Name' -- %u

I have attempted to find a bottles-cli command line argument to enable "Virtual Desktop", but I could not find one.
The output of flatpak run --command=bottles-cli --help did not show such an option.

There is already a very similar but closed bug, maybe this is a regression.

To Reproduce

  1. Install some graphical Windows application in a new bottle
  2. Set the launch option "Virtual Desktop" for its "Programs" entry in the Bottles user interface
  3. Launch it from within the Bottles user interface and see that the "Virtual Desktop" feature is active
  4. Create a dedicated Desktop Entry using the "Add Desktop Entry" feature
  5. Launch the application from the dedicated Desktop Entry and notice that the "Virtual Desktop" feature is inactive

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

Official Package: true
Version: '51.15'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            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: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.12.1-arch1-1
Disk:
    Total: 16788164608
    Free: 16787992576
RAM:
    MemTotal: 31.3GiB
    MemAvailable: 26.8GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

No response

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

No branches or pull requests

2 participants