Skip to content

Application launcher menu is not updated #20776

Open

Description

@FRidh

Issue description

The application launcher (KDE Plasma) is not updated, and therefore many links do not function anymore because they refer to old store paths.

Technical details

NixOS at ff1c76e

Activity

  1. added
    6.topic: qt/kde
    on Nov 28, 2016
  2. FRidh commented on Nov 28, 2016

    @FRidh
    MemberAuthor

    @ttuegel any idea what could have caused this?

  3. ttuegel commented on Nov 28, 2016

    @ttuegel
    Member

    Which version of KDE?

  4. added
    9.needs: reporter feedback
    on Nov 28, 2016
  5. FRidh commented on Nov 28, 2016

    @FRidh
    MemberAuthor

    KDE Frameworks 5.27.0

  6. ttuegel commented on Nov 28, 2016

    @ttuegel
    Member

    Have you logged out and logged back in? Have you run kbuildsycoca5?

  7. FRidh commented on Nov 29, 2016

    @FRidh
    MemberAuthor

    I restarted my computer, but that didn't have any effect. Also, it takes a long time to log out (5~25 seconds), even with an entirely empty desktop. kbuildsycoca5 doesn't make a difference either.

  8. removed
    9.needs: reporter feedback
    on Nov 29, 2016
  9. ttuegel commented on Nov 29, 2016

    @ttuegel
    Member

    I can reproduce half of this issue, specifically, restarting does not update the menu. However, running kbuildsycoca5 manually does update the menu for me. startkde is supposed to run kbuildsycoca5 during startup, so I think something is wrong there.

  10. FRidh commented on Nov 29, 2016

    @FRidh
    MemberAuthor

    I think I've seen this parse error before

    $ kbuildsycoca5
    kbuildsycoca5 running...
    Reusing existing ksycoca
    Recreating ksycoca file ("/home/freddy/.cache/ksycoca5_en_sUSppqk9Rzy0lXtK_M1wog_1CoY=", version 303)
    Still in the time dict (i.e. deleted files) ("apps")
    kf5.kservice.sycoca: Parse error in  "/home/freddy/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"
    Menu "applications-kmenuedit.menu" not found.
    Saving
    
  11. yochai commented on Nov 30, 2016

    @yochai
    Contributor

    I've encountered the bug too, running the following two commands after updating gets the menu updated.

    rm ~/.cache/ksycoca5_* -rf
    kbuildsycoca5
    
  12. ttuegel commented on Nov 30, 2016

    @ttuegel
    Member

    If removing the ksycoca cache fixes the problem, that suggests to me the problem is the timestamps in the Nix store not being updated. We may need to patch kbuildsycoca.

  13. FRidh commented on Nov 30, 2016

    @FRidh
    MemberAuthor

    rm ~/.cache/ksycoca5_* -rf
    kbuildsycoca5

    That fixes the issue

  14. FRidh commented on Jan 12, 2017

    @FRidh
    MemberAuthor

    I just ran in this issue again after a nixos-install and using my old $HOME

  15. ttuegel commented on Jan 12, 2017

    @ttuegel
    Member

    I just ran in this issue again after a nixos-install and using my old $HOME

    Could you share your configuration.nix please? I'm still having difficulty reproducing this.

  16. 21 remaining items

  17. stale commented on Jun 3, 2020

    @stale

    Thank you for your contributions.

    This has been automatically marked as stale because it has had no activity for 180 days.

    If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

    Here are suggestions that might help resolve this more quickly:

    1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
    2. Ask on the NixOS Discourse.
    3. Ask on the #nixos channel on irc.freenode.net.
  18. added
    2.status: stale
    on Jun 3, 2020
  19. FRidh commented on Jun 3, 2020

    @FRidh
    MemberAuthor

    I am not aware of this issue happening anymore so closing now.

    If the issue does occur for you, please drop a comment here.

  20. scarf005 commented on Sep 29, 2022

    @scarf005

    hi, could you reopen this issue? installed ark, kdeconnect and filelight and had to use the method in comment above to create program icons. using nixos 22.05 with unstable channel.

  21. removed
    2.status: stale
    on Oct 6, 2022
  22. alphabet5 commented on Mar 18, 2023

    @alphabet5

    This was still an issue with a fresh NixOSinstall last week. Running this worked though.

    rm ~/.cache/ksycoca5_* -rf
    kbuildsycoca5
    
  23. EternityForest commented on Jul 21, 2023

    @EternityForest

    Is there any chance of solving this with a more general cache management solution? Something that can track when a folder is changed(Rechecked when something is installed or removed) and auto-run a command?

  24. BravishkaSkytano commented on Jan 16, 2024

    @BravishkaSkytano

    I am having this issue on GNOME, I installed obsidian and manuskript and neither shows up.

    I ran the commands @alphabet5 used, and I received an error saying the program isn't in my PATH and to use nix-shell. Does this mean the service isn't running? Or perhaps not configured properly?

    EDIT: wait a sec, this is a KDE application, SMH. I'm still having the issue, though. I don't think it's an Electron because Vivaldi shows up just fine (not sure if manuskript is an electron app too).

  25. doublevoid commented on Mar 4, 2024

    @doublevoid

    This is still an issue in Plasma 6 on the Unstable channel.

  26. tahuffman1s commented on Mar 6, 2024

    @tahuffman1s
    Member

    I'm having this issue with Plasma 6.0 on the Unstable channel.

    Clearing the cache does indeed work for me.
    With Plasma 6 run these commands:

    rm ~/.cache/ksycoca6_* -rf
    kbuildsycoca6

  27. DaKingof commented on Apr 19, 2024

    @DaKingof

    I'm having this issue with Plasma 6.0 on the Unstable channel.

    Clearing the cache does indeed work for me. With Plasma 6 run these commands:

    rm ~/.cache/ksycoca6_* -rf kbuildsycoca6

    This doesn't work for me. I can only launch from a terminal instance. Using .desktop links are still broken.

  28. nixos-discourse commented on Jul 13, 2024

    @nixos-discourse
  29. added
    2.status: stale
    on Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

2.status: stale6.topic: qt/kde

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions