Skip to content

Desktop path string get cut when it is too long #67

Open
@grapemix

Description

@grapemix

In short, when the entry's image path or the .desktop path are too long, the path as string will be cut silently and make the launching action fails. My setup is basically identical with the https://complexlogic.github.io/flex-launcher/setup_linux#kiosk-mode-setup. My path is so long because I want to use Jellyfin media player and their recommended installation is thru flatpak.

# Menu configurations
[Main]
Entry1=JF;/home/USERNAME/.config/flex-launcher/assets/icons/kodi.png;~/.local/share/jellyfin-media-player.desktop;TVF
Entry2=term;/home/USERNAME/.config/flex-launcher/assets/icons/kodi.png;/usr/share/applications/Alacritty.desktop
Entry3=Steam;/home/USERNAME/.config/flex-launcher/assets/icons/steam.png;/usr/share/applications/steam.desktop;BigPicture
Entry4=System;/home/USERNAME/.config/flex-launcher/assets/icons/system.png;:submenu System

The work around is create a sym link which makes the path shorter. I spent quite a while on this bug until I use the debug mode and examine the log. Anyone should be able to reproduce pretty quick by using a very long path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions