Skip to content

[Bug]: Can't create desktop icon for an app #4440

@abenathy

Description

@abenathy

Describe the bug

A few months back I migrated my mother from Windows to Linux Mint. One of the apps she used a lot was Notepad++ so I went through flatpak and Bottles to set it up for her. However, it's a bit too much trouble for her having to launch first Bottles, then Notepad++. Ideally I'd like her to have a launch icon for NPP on the taskbar or, at the very least, on the desktop.

So after a lot of googling, I finally figured out the process, and so I used these commands:

flatpak override com.usebottles.bottles --user --filesystem=xdg-data/applications
flatpak override com.usebottles.bottles --user --filesystem=~/.local/share/applications

This made the "Add Desktop Entry" option appear as expected. However, clicking on it returns the following error message:

WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"

Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/utils/manager.py", line 241, in prepare_install_cb
    ret = portal.dynamic_launcher_prepare_install_finish(result)
gi.repository.GLib.GError: g-io-error-quark: Launcher install failed (0)

So now I'm at a loss on what to do next?

To Reproduce

  1. Install Bottles.
  2. Install Notepad++
  3. Try to "Add Desktop Entry"

Package

Flatpak from Flathub

Distribution

Linux Mint 22.2 using KDE 5.27.12

Debugging Information

Official Package: true
Version: '62.0'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/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.17.0-19-generic
Disk:
    Total: 3761033216
    Free: 3760869376
RAM:
    MemTotal: 7.0GiB
    MemAvailable: 3.1GiB
Bottles_envs: null

Troubleshooting Logs

WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"

Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/utils/manager.py", line 241, in prepare_install_cb
    ret = portal.dynamic_launcher_prepare_install_finish(result)
gi.repository.GLib.GError: g-io-error-quark: Launcher install failed (0)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions