Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KDE App Launcher not showing installed apps #56176

Closed
AMDphreak opened this issue Feb 22, 2019 · 6 comments
Closed

KDE App Launcher not showing installed apps #56176

AMDphreak opened this issue Feb 22, 2019 · 6 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: qt/kde

Comments

@AMDphreak
Copy link

Issue description

The nvidia proprietary driver's settings app does not show up in the KDE App Launcher. The app is nvidia-settings.

I have switched and rebooted many times and still do not see it listed in KDE's App Launcher.

@AMDphreak AMDphreak changed the title KDE Plasma not showing some apps that are installed KDE App Launcher not showing installed apps Feb 22, 2019
@worldofpeace
Copy link
Contributor

Please see #20776 (comment)

Try invalidating the cache by removing $HOME/.cache/ksycoca5_*. I don't think this is an issue on master.

@sondr3
Copy link
Contributor

sondr3 commented Feb 23, 2019

As mentioned in the linked issue, kbuildsycoca5 should work.

@AMDphreak
Copy link
Author

AMDphreak commented Feb 23, 2019

As mentioned in the linked issue, kbuildsycoca5 should work.

I'll give it a go. This is poor design if this is necessary. This should not be a thing. Apps that rely on invalid caches should be self-healing (automatically recognize and fix caches).

Got errors as root:

[root@nixos:/home/ryan/.cache]# kbuildsycoca5
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
kbuildsycoca5 running...
kf5.kservice.sycoca: Parse error in  "/home/ryan/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"

And as user:

[root@nixos:/home/ryan/.cache]# su ryan -c kbuildsycoca5
kbuildsycoca5 running...
kf5.kservice.sycoca: Parse error in  "/home/ryan/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"

@matthewbauer
Copy link
Member

Yeah I got that too. I think you can do this:

rm -f $HOME/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu

and the run kbuildsyscoca5.

@matthewbauer
Copy link
Member

Potential fix here: #57037

matthewbauer added a commit to matthewbauer/nixpkgs that referenced this issue Mar 7, 2019
- Remove xdg-desktop-menu-dummy.menu kbuildsycoca5. Not sure why we
  need it but it is a pretty big failure if it exists.
  See issue NixOS#56176.

- plasma: clear ksycoca cache before building

  This is needed to pick up on software removed since the last cache
  update. Otherwise it hangs around as zombies forever (or until the
  cache is cleared).

- Add the above + the icon cache cleanup to plasmaSetup

  This will be run for the logged in user on each nixos-rebuild.
  Unfortunately this only works if you are managing software through
  nixos-rebuild (nix-env users need to run this manually, otherwise
  log out and log back in).
matthewbauer added a commit that referenced this issue Mar 12, 2019
- Remove xdg-desktop-menu-dummy.menu kbuildsycoca5. Not sure why we
  need it but it is a pretty big failure if it exists.
  See issue #56176.

- plasma: clear ksycoca cache before building

  This is needed to pick up on software removed since the last cache
  update. Otherwise it hangs around as zombies forever (or until the
  cache is cleared).

- Add the above + the icon cache cleanup to plasmaSetup

  This will be run for the logged in user on each nixos-rebuild.
  Unfortunately this only works if you are managing software through
  nixos-rebuild (nix-env users need to run this manually, otherwise
  log out and log back in).

(cherry picked from commit 393b359)
@stale
Copy link

stale bot commented Jun 3, 2020

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.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: qt/kde
Projects
None yet
Development

No branches or pull requests

5 participants