WTF⁈ ShowOnlyIn=GNOME
Christopher Aillon
caillon at redhat.com
Fri Jul 27 15:50:04 UTC 2007
Christopher Stone wrote:
> On 7/25/07, Mark <markg85 at gmail.com> wrote:
>> and can you tell me of a quick way of getting rid of those lines?
>> without having to edit each file and without updates that restore it
>> again.
>>
>> Thanx.
>
> This is an example command to remove the lines:
>
> # desktop-file-install --remove-only-show-in GNOME
> /usr/share/applications/gnome-banshee.desktop
>
> running this with find twice using GNOME and KDE should fix it, but I
> think updates will probably overwrite your changes.
You could keep a local cache of .desktop files in
$HOME/.local/applications (or if you want them to be elsewhere, export
XDG_DATA_DIRS to the directory of your choosing and stick them in
$XDG_DATA_DIRS/applications
You'd probably need to regenerate the database after that though.
More information about the devel
mailing list