#89 lxpanel launcher won't load .desktop files correctly

closed
None
5
2009-04-09
2009-03-04
Orson Jones
No

While trying to add custom applications to the application launch bar, I couldn't get them to work. The steps below are the simplest test I could perform that caused the problem. Files in /usr/share/applications/ work, files I copy from there (with the same name) work, but nothing else works.

Steps to reproduce:

Copy /usr/share/applications/gnome-terminal.desktop to your home directory (seems to work for any .desktop file in that directory)

Copy ~/gnome-terminal.desktop to ~/alt-terminal.desktop

Right Click the Application Launch Bar and select the settings option

Click the Add button

Browse to your home directory, select gnome-terminal.desktop and click Add

Click the Add button

Browse to your home directory, select alt-terminal.desktop and click Add

The first one will work, but the second one won't. The only difference is the filename.

Discussion

  • Confirmed: Currently lauchbar uses g_key_file_load_from_data_dirs to lookup desktop files, so only files located in user_data_dirs and system_data_dirs can be added.

     
    • assigned_to: nobody --> juergenhoetzel
     
  • Fixed in r1300

    Thanks for your contribution!

     
    • status: open --> closed