Skip Navigation

podbrushkin

@podbrushkin.mander.xyz.ap.tdpl.io

1 Posts4 Comments0 Memberships

Joined September 2026

  • linux How to add new item to KDE Application Launcher from terminal?

    To me it looked like this command just copies provided .desktop file to ~/.local/share/applications/ directory. Also, there's xdg-desktop-menu uninstall whatever.dekstop which is effectively the same as removing .desktop file from this directory. Probably just copying and removing files is more natural.

    0 1
  • linux How to add new item to KDE Application Launcher from terminal?

    Ok, finally I've found solution! Obviously I found it 0.0001 seconds after I publicly asked this question. Problem is that "Games" menu in mentioned /home/user/.config/menus/applications-kmenuedit.menu XML file does not contain a <Merge type="files"/> tag, that's why KDE Kickoff Application Menu was ignoring .desktop files if they belong to this category. And every sample .desktop file I've created probably belonged to Games category. I changed this XML file to be like this:

     
    <Menu>
      <Name>Games</Name>
      <Include/>
      <Exclude>
       <Filename>Quake.desktop</Filename>
      </Exclude>
      <Layout>
       <Merge type="menus"/>
       <Merge type="files"/>

    Now it seems like everything works as expected. I don't understand why it doesn't work by default.

    55 1