You are not logged in.
Pages: 1
So, I've been looking around and can't find out if this is a bug or intended behavior, so I wanted to ask here first before raising bug reports elsewhere.
I've been using Caja for quite some time, but it never shows on rofi/dmenu. I figured out that the reason was that I had no `.desktop` entry for it on `.local/share/applications'. After some digging trying to find one (and failing), I just manually rolled my own. The issue is simple, each there's a new update, my handcrafted `.desktop` entry gets deleted, and I need to recreated or recover a copy. Is this normal? Am I missing something here?
Last edited by ondono (2023-11-19 21:20:39)
Offline
There shouldn't be .desktop files in your home dir, they're in the package in /usr.
Online
> There shouldn't be .desktop files in your home dir, they're in the package in /usr.
I am seeing for the first time now that they're set as deprecated on the Archlinux Wiki, but rofi seems to still use them, so I don't think I have much choice for now. I guess I'll have to keep pasting copies there until rofi gets an update.
Thanks
Offline
Rofi doesn't ignore global desktop services - what does your local caja.desktop look like (filename and content) in comparism to the one in /usr/share/applications/ ?
Did you try to remove the rofi cache(s) in ~/.cache ?
Offline
After some more digging, I've realized the system's "caja.desktop" has the following lines:
NoDisplay=true
OnlyShownIn=MATE
Which are the obvious culprit, if I comment those lines caja shows back on the list. I've copied the file to ~/.local/share/applications and made the change to my user copy. Thanks for all the help.
Now the only thing bugging me is Scimmia's comment that I should not have those..
Offline
If you're putting them in your home dir specifically to override the packaged one, that's fine. I was just saying that they were in the package, so it's not something that was just missing and you need to do yourself.
Online
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1