Skip to content

[Bug]: Cannot create Desktop Entry after assigning permissions #4077

@IdrisQe

Description

@IdrisQe

Describe the bug

I'm running Bazzite 42 NVidia Edition with KDE Plasma 6.4.4, KDE Frameworks 6.17.0, Qt 6.9.2, Kernel 6.16.4-108.bazzite.fc42.x86_64 and Wayland.

I installed Bottles 51.24 from Flathub using Bazaar. It runs fine, and works without issue, except I cannot create desktop entries. I used Flatseal to give permission to:
/var/home/idrisqe/.local/share/fonts (to fix an issue with a game, this permission worked perfectly and without issue)
/var/home/idrisqe/.local/share/applications (as shown in the Flatseal Bottles video guide for Silverblue distros like Bazzite)
/var/lib/flatpak/exports/share/applications (as after the above didn't work I decided to try another place that I know .desktop files reside)
and ~/.local/share/applications (just in case this worked instead for some reason)

Every time I try to add a desktop entry, it just opens the webpage telling me how to set permissions to create desktop entries, which I've already done, so I really don't understand what's going on here.

I've ensured that /var/home/idrisqe/.local/share/applications exists already - in fact some .desktop files already exist there from other programs.

To Reproduce

  1. Get versions of programs and system given
  2. Make a bottle and install a program to the bottle
  3. Give Bottles appropriate permissions
  4. Close and reopen bottles, even shutdown or restart system entirely
  5. Open Bottles and try to add a desktop entry to the program in the bottle you made

Package

Flatpak from Flathub

Distribution

Bazzite 42 (NVidia Edition)

Debugging Information

Official Package: true
Version: '51.24'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        nvidia:
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/share/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-580-82-07/lib/nvidia/wine
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.16.4-108.bazzite.fc42.x86_64
Disk:
    Total: 8260120576
    Free: 8259932160
RAM:
    MemTotal: 15.4GiB
    MemAvailable: 10.3GiB
Bottles_envs: null

Troubleshooting Logs

(process:2): Gtk-WARNING **: 23:21:08.857: Unknown key gtk-modules in /home/idrisqe/.var/app/com.usebottles.bottles/config/gtk-4.0/settings.ini

(process:2): Adwaita-WARNING **: 23:21:08.871: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
23:21:08 (INFO) Launching with URI: None 
23:21:08 (INFO) [Activate] request received. 
23:21:08 (INFO) Bottles Started! 
23:21:13 (INFO) Performing Bottles checks… 
23:21:13 (INFO) Dxvks found:
	 - dxvk-2.7.1
 
23:21:13 (INFO) Latencyflexs found:
	 - latencyflex-v0.1.1
 
23:21:13 (INFO) Runners found:
	 - soda-9.0-1
	 - sys-wine-10.0
 
23:21:13 (INFO) Bottles found:
	 - GW2
 
23:21:14 (INFO) Catalog dependencies loaded 
23:21:14 (INFO) Catalog installers loaded 
23:21:14 (INFO) Catalog components loaded 
23:21:15 (INFO) Setting Key sync=fsync for bottle GW2… 
23:21:15 (INFO) There is no running wineserver.

Additional context

Attempting to try again with the terminal open for troubleshooting, no error is printed when the .desktop file creaton fails.

Also, here are all the flatseal permissions, in case something else is missing:
https://github.com/user-attachments/assets/a8810256-093b-4c53-a557-e7ba3ba4b2cc

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