You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
KDE will not automatically update it's start menu #40915
KDE does not automatically run kbuildsycoca5, thus leading to broken links to software that NixOS is in fact correctly linking in /run/current-system/sw/share/applications
Steps to reproduce
Install KDE Plasma 5.
Use it for a little while.
Notice sometimes stuff like the steam desktop file will not update, or after a nixos-rebuild switch the start menu will not display new packages, either until a logout, a restart, or running kbuildsycoca5 in the terminal.
Technical details
system: "x86_64-linux"
host os: Linux 4.14.41, NixOS, 18.03.132405.ee80654b526 (Impala)
A hook for executing kbuildsycoca5 when upgrading your system would be nice.
That would be nice, but AFAIK nixos-rebuild does not have hooks. One workaround for individual users would be to make a shell alias, but that's not something we could realistically deploy for everyone using NixOS.
Hm… This is still happening to me on 18.09: Nearly all start menu entries are broken and give a "Could not find the program" error message. Running kbuildsycoca manually doesn't fix the problem.
I'm managing most of my software using home-manager though, could that be an issue?
Same problem for me :-(
as
" @Vskilet
I'm on Nixos 18.09 and when I use kbuildsycoca5 nothing appears on command line ... And one day when I nix-env -ia something ... menu updated . "
workaround work :-)
Activity
[-]KDE does not automatically run `kbuildsycoca5`[/-][+]KDE will not automatically update it's start menu[/+]Anton-Latukha commentedon May 24, 2018
Singleton of #20776.
Informing @ttuegel .
ttuegel commentedon May 24, 2018
That would be nice, but AFAIK
nixos-rebuilddoes not have hooks. One workaround for individual users would be to make a shell alias, but that's not something we could realistically deploy for everyone using NixOS.bjornfor commentedon May 25, 2018
The activation script mechanism could be used, right?
ttuegel commentedon May 28, 2018
Can activation scripts run as an arbitrary user?
bjornfor commentedon May 30, 2018
I think it runs as root, so we could use su/sudo to arbitrary user.
schmittlauch commentedon Oct 23, 2018
Hm… This is still happening to me on 18.09: Nearly all start menu entries are broken and give a "Could not find the program" error message. Running
kbuildsycocamanually doesn't fix the problem.I'm managing most of my software using home-manager though, could that be an issue?
tbenst commentedon Jan 8, 2019
Same problem for me as @schmittlauch
pirboazo commentedon Feb 28, 2019
Same problem for me :-(
as
" @Vskilet
I'm on Nixos 18.09 and when I use
kbuildsycoca5nothing appears on command line ... And one day when Inix-env -ia something... menu updated . "workaround work :-)