Menu

#508 Launchy does not detect .desktop files with Desktop Actions

v1.0 (example)
open
Josh
None
5
2020-05-27
2016-08-06
No

Launchy does not recognize chromium on galliumOS.
Deleting the [Desktop Action ...] sections in the .desktop file fixes it.

1 Attachments

Discussion

  • Jehan Yoon

    Jehan Yoon - 2020-03-14

    I found a bug about this. Please fix it on next release.

    =====================================================
    Left base folder: /home/limityn/Downloads/launchy/launchy-2.5
    Right base folder: /home/limityn/src/launchy-2.5
    --- platforms/unix/platform_unix.cpp 2010-03-11 08�49�22.000000000
    +++ platforms/unix/platform_unix.cpp 2019-04-06 14�39�24.000000000
    @@ -156,12 +156,14 @@

     QString name = "";
     QString icon = "";
     QString exe = "";
     while(!file.atEnd()) {
    QString line = file.readLine();
    

    +
    + if (line[0] == '[' && !line.startsWith("[Desktop Entry]", Qt::CaseInsensitive)) break;

    if (line.startsWith("Name[" + locale, Qt::CaseInsensitive)) 
        name = line.split("=")[1].trimmed();
    
     
  • Sound b

    Sound b - 2020-05-27

    dude, are you real? Did you noticed that the development stopped around 10 years ago?

     

Log in to post a comment.