GNOME Bugzilla – Bug 658741
gedit.desktop uses GenericName instead of Name. Causes GNOME to display gedit instead of Text Editor
Last modified: 2011-09-13 22:02:54 UTC
I reported a rename enhancement to the gedit team: https://bugzilla.gnome.org/show_bug.cgi?id=658734 and got the answer that gedit should be called Text Editor: http://git.gnome.org/browse/gedit/tree/data/gedit.desktop.in.in#n3 It currently shows up as gedit in my GNOME Shell Applications mesh. I looked inside of Document Viewer and found that you are using the Name entry: [Desktop Entry] Name=Document Viewer Name[af]=Dokumentbekyker Name[an]=Visualizador de documentos Name[ar]=عارض المستندات Name[as]=ডকুমেন্ট প্ৰদৰ্শন ব্যৱস্থা Name[ast]=Visor de Documentos Name[be]=Праглядальнік дакумэнтаў Name[be@latin]=Ahladalnik dakumentaŭ Name[bg]=Преглед на документи Name[bn]=নথি প্রদর্শক But the GenericName for gedit: GenericName=Text Editor GenericName[af]=Teksredigeerder GenericName[am]=የጽሑፍ ማቀናጃ GenericName[ar]=محرّر نصوص GenericName[as]=টেক্সট সম্পাদক GenericName[ast]=Editor de Testu GenericName[az]=Mətn Editoru GenericName[be]=Рэдактар тэкстаў GenericName[be@latin]=Tekstavy redaktar GenericName[bg]=Текстов редактор while having Name set to gedit: [Desktop Entry] Name=gedit Name[af]=gedit Name[am]=gedit Name[ar]=محرر جنوم Name[as]=gedit Name[ast]=gedit Name[az]=gedit Name[be]=gedit Name[bg]=gedit Name[bn]=জিএডিট All that gedit stuff should be replaced with the values of GenericName. I can make a patch or something if thats needed. This seems to be a communication problem with the involved teams.
I kind of lost my original gedit.desktop but I did test to delete all Name rows and then replace all "GenericName" with "Name" and then it showed up as Text Editor and worked correctly with different languages. That should be the fix for this. Evince doesn't use any GenericName entries (as a reference).
Created attachment 196213 [details] Fixed gedit.desktop (Text Editor instead of gedit), multilingual I believe this should fix it. It's the gedit.desktop found in GNOME 3.1.90 with all the Name=gedit lines removed and all GenericName changed to Name. Says Text Editor instead of gedit.
Tested. Works.
Quoting Jon Mccann: "Personally, I think the program should be considered a core component and be called Text Editor - as with Terminal. However, the gedit maintainers do not agree. It is up to them. Whatever name is chosen it must be consistently used." We will neither use GenericName instead of Name in gnome-shell, nor introduce hacks like 'if app == "gedit" app = "Text editor"'. *** This bug has been marked as a duplicate of bug 590180 ***