Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use a lot of Ubuntu-Versions with Unity. I have a question about the Lense-Type "Fonds"? There are no "Apps Available for Download" in the Ubuntu Software Center. Which benefit brings this Lense-Type??

And further - When i want to create a custom launcher, which category-type is to set in the corresponding .desktop-file? e.g.: a custom launcher for a game - the ".desktop-file" contains:

...
Categories=Game;
...

Here is the category for the correct display in unity dash under type Games: "Game" Is it "Font" for the type "Fonts"?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

This site works better if you ask only one question. I can answer your question about menu categories, but not your question about the "Fonts" lens.

No, there is no Font category in the menus. The menus categories and subcategories are defined by a freedesktop standard. You can read it here, in the Registed Categories chapter.

You can define it as a new category for your own use in your computer, but you should respect the standard if you are going to package it for others.

About the Font category in Unity, I will post you to the source code line where it is defined in the current trunk (this file, line 235):

type_queries.insert ("fonts", "category:Fonts"); // FIXME: wtf?

Yes, the comment is real. This looks like a bug, and it's likely that it needs to be removed.

To answer your question: yes, a desktop file with category:Fonts will be displayed in this menu, but it will be non-standard and can cause problems (like appear in Other menus or don't appear) in other DEs, and in Unity in the future if this line is removed.

share|improve this answer
    
THX. Sorry for questioning two things but I thought this two things will match. Maybe I create a new Question for Fonts-use. But now to your answer: On the link i can't find anything about "Font". So this category seems not standard and a Ubuntu-Unity-Specific thing? –  Marian Lux Apr 17 '12 at 8:46
    
Updated answer. –  Javier Rivera Apr 17 '12 at 9:23
    
Thank you very much! –  Marian Lux Apr 17 '12 at 11:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.