gapan
13 years ago
commit
3ba42678eb
16 changed files with 1491 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||
Installation |
|||
------------ |
|||
|
|||
To install, just run: |
|||
|
|||
./install.sh |
|||
|
|||
as root. You can set DESTDIR to change the installation target: |
|||
|
|||
DESTDIR=/my/custom/installation/target ./install.sh |
|||
|
|||
Uninstallation |
|||
-------------- |
|||
To remove, you can just: |
|||
|
|||
rm /usr/bin/xdgmenumaker |
|||
rm /usr/share/desktop-directories/xdgmenumaker* |
@ -0,0 +1,100 @@ |
|||
===== |
|||
ABOUT |
|||
===== |
|||
|
|||
xdgmenumaker is a command line tool, written in python, that generates |
|||
application menus using xdg information, by scanning *.desktop files |
|||
in /usr/share/applications and ~/.local/share/applications. All |
|||
applications are sorted according to the main categories as specified by |
|||
freedesktop.org at: |
|||
http://standards.freedesktop.org/menu-spec/latest/apa.html |
|||
|
|||
The menu entries that are generated by xdgmenumaker are localised |
|||
according to the running user locale settings. |
|||
|
|||
xdgmenumaker currently supports generating menus for fluxbox and |
|||
windowmaker. In-menu icons are not supported for now, maybe in the |
|||
future. |
|||
|
|||
pyxdg is required by xdgmenumaker, in addition to python 2. |
|||
|
|||
======= |
|||
Fluxbox |
|||
======= |
|||
|
|||
To generate an application menu for fluxbox, run xdgmenumaker like this: |
|||
|
|||
$ xdgmenumaker -f fluxbox > ~/.fluxbox/xdg_menu |
|||
|
|||
and then change your main fluxbox menu to include this file as a |
|||
submenu. For example, add this somewhere in your ~/.fluxbox/menu file: |
|||
|
|||
[include] (~/.fluxbox/xdg_menu) |
|||
|
|||
You can add the xdgmenumaker command as another item in your menu, if |
|||
you want to update it, without having to run the command manually again: |
|||
|
|||
[exec] (Update Fluxbox Menu) (xdgmenumaker -f fluxbox > ~/.fluxbox/xdg_menu) |
|||
|
|||
============ |
|||
Window Maker |
|||
============ |
|||
|
|||
There are two ways to have an xdg menu in windowmaker. The first one, |
|||
auto-updates the menu, every time the menu is called. The second one, |
|||
updates the menu only when the user wants to. |
|||
|
|||
xdgmenumaker uses utf8 encoding and localised strings by default and has |
|||
been tested only with wmaker-crm>=0.95.1. No idea if utf8 works properly |
|||
with older Window Maker versions. |
|||
|
|||
Method 1 |
|||
-------- |
|||
|
|||
Open the WindowMaker preferences tool. In the Application Menu |
|||
Definition section, add a Generated Submenu in your menu, by dragging it |
|||
in. Click on the menu item you just dragged in and in the preferences |
|||
window, in Command, add: |
|||
|
|||
xsgmenumaker -f windowmaker |
|||
|
|||
Save and close the preferences window. |
|||
|
|||
That command will be run every time you access that submenu, so the |
|||
application list in there will be always up to date. The downside is |
|||
that it will be run every time you access that submenu, so especially if |
|||
you are on a very old PC, it might slow things down a bit, although |
|||
probably not anything considerable. |
|||
|
|||
Method 2 |
|||
-------- |
|||
|
|||
Run |
|||
|
|||
$ xdgmenumaker -f windowmaker > ~/GNUstep/Defaults/xdg_menu |
|||
|
|||
Then open the WindowMaker preferences tool and in the Application Menu |
|||
Definition section, add an External Submenu by dragging it in your menu. |
|||
Click on the menu item you just dragged in and in the preferences |
|||
window, in Path for Menu, add the location of the menu file you just |
|||
created: |
|||
|
|||
~/GNUstep/Defaults/xdg_menu |
|||
|
|||
|
|||
You can add the xdgmenumaker command as another item in your menu, if |
|||
you want to update it, without having to run the command manually again. |
|||
In the Application Menu Definition section in the WindowMaker |
|||
preferences window, add a Run Program item in your menu by dragging it |
|||
your menu. Click on the menu item you just dragged in and in the |
|||
preferences window, in Program to Run, add the xdgmenumaker command as |
|||
mentioned above. |
|||
|
|||
The downside of this method, is that the menu contents will not be |
|||
updated when you install a new application or remove one. You will need |
|||
to run the xfgmenumaker command every time you want the menu to be |
|||
updated. The upside is that the menu will not be generated every time |
|||
you access the menu. This might be a better choice for (really) older |
|||
hardware. |
|||
|
|||
|
@ -0,0 +1,88 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=applications-accessories |
|||
Name=Accessories |
|||
Name[ar]=كماليات |
|||
Name[ast]=Accesorios |
|||
Name[be]=Ацэсуары |
|||
Name[ca]=Accessoris |
|||
Name[cs]=Příslušenství |
|||
Name[da]=Tilbehør |
|||
Name[de]=Zubehör |
|||
Name[el]=Βοηθήματα |
|||
Name[en_GB]=Accessories |
|||
Name[es]=Accesorios |
|||
Name[et]=Tarvikud |
|||
Name[eu]=Gehigarriak |
|||
Name[fi]=Apuohjelmat |
|||
Name[fr]=Accessoires |
|||
Name[gl]=Accesorios |
|||
Name[hu]=Kellékek |
|||
Name[id]=Aksesoris |
|||
Name[it]=Accessori |
|||
Name[ja]=アクセサリ |
|||
Name[kk]=Қалыпты |
|||
Name[ko]=보조 도구: |
|||
Name[lv]=Piederumi |
|||
Name[nb]=Tilbehør |
|||
Name[nl]=Accessoires |
|||
Name[nn]=Tilbehøyr |
|||
Name[pa]=ਅਸੈੱਸਰੀ |
|||
Name[pl]=Akcesoria |
|||
Name[pt]=Acessórios |
|||
Name[pt_BR]=Acessórios |
|||
Name[ro]=Accesorii |
|||
Name[ru]=Инструменты |
|||
Name[si]=උපාංග |
|||
Name[sk]=Príslušenstvo |
|||
Name[sq]=Aksesorë |
|||
Name[sv]=Tillbehör |
|||
Name[tr]=Donatılar |
|||
Name[ug]=Accessories |
|||
Name[uk]=Допоміжні |
|||
Name[ur]=لوازمات |
|||
Name[ur_PK]=لوازمات |
|||
Name[zh_CN]=附件: |
|||
Comment=Common desktop tools and applications |
|||
Comment[ar]=أدوات سطح مكتب شائعة وتطبيقات |
|||
Comment[ast]=Ferramientes y aplicaciones d'escritoriu comunes |
|||
Comment[be]=Агульныя інструмэнты й дастасаваньні |
|||
Comment[ca]=Eines i aplicacions comuns de l’escriptori |
|||
Comment[cs]=Běžné pracovní nástroje a aplikace |
|||
Comment[da]=Standard skrivebordsværktøjer og -programmer |
|||
Comment[de]=Allgemeine Werkzeuge und Anwendungen |
|||
Comment[el]=Κοινές εφαρμογές και εργαλεία επιφ.εργασίας |
|||
Comment[en_GB]=Common desktop tools and applications |
|||
Comment[es]=Herramientas y aplicaciones de escritorio comunes |
|||
Comment[et]=Üldised töölaua tööriistad ja rakendused |
|||
Comment[eu]=Idazmahai tresna eta aplikazio arruntak |
|||
Comment[fi]=Yleiset työpöytätyökalut ja -sovellukset |
|||
Comment[fr]=Outils et applications courantes pour le bureau |
|||
Comment[gl]=Aplicacións e ferramentas comúns do escritorio |
|||
Comment[hu]=Általános asztali eszközök és alkalmazások |
|||
Comment[id]=Alat dan aplikasi umum destop |
|||
Comment[it]=Strumenti comuni per la scrivania e applicazioni |
|||
Comment[ja]=デスクトップの共通ツールやアプリケーション |
|||
Comment[kk]=Жалпы пайдалы саймадар мен қолданбалар |
|||
Comment[ko]=데스크탑 도구와 응용프로그램 |
|||
Comment[lv]=Parastie darbavirsmas rīki un lietotnes |
|||
Comment[nb]=Vanlige skrivebordsverktøy og programmer |
|||
Comment[nl]=Veelgebruikte hulpmiddelen en toepassingen |
|||
Comment[nn]=Vanlege skrivebordsverkty og program |
|||
Comment[pa]=ਆਮ ਡੈਸਕਟਾਪ ਟੂਲ ਅਤੇ ਐਪਲੀਕੇਸ਼ਨ |
|||
Comment[pl]=Popularne narzędzia i programy systemowe |
|||
Comment[pt]=Aplicações e ferramentas comuns de desktop |
|||
Comment[pt_BR]=Aplicativos e ferramentas comuns da área de trabalho |
|||
Comment[ro]=Unelte desktop și aplicații comune |
|||
Comment[ru]=Служебные программы |
|||
Comment[sk]=Bežné pracovné nástroje a aplikácie |
|||
Comment[sq]=Mjete dhe zbatime të zakonshëm desktopi |
|||
Comment[sv]=Allmänna skrivbordsverktyg och -program |
|||
Comment[tr]=Genel masaüstü araçları ve uygulamaları |
|||
Comment[ug]=ئورتاق ئىشلىتىلىدىغان ئۈستەليۈزى قوراللىرى ۋە پروگراممىلىرى |
|||
Comment[uk]=Загальні інструменти і програми робочого столу |
|||
Comment[ur]=ڈیسک ٹاپ کے عام اوزار اور اطلاقیے |
|||
Comment[ur_PK]=ڈیسک ٹاپ کے عام اوزار اور اطلاقیے |
|||
Comment[zh_CN]=通用桌面工具和应用程序 |
@ -0,0 +1,154 @@ |
|||
[Desktop Entry] |
|||
Name=Applications |
|||
Name[ar]=تطبيقات |
|||
Name[be]=Дастасаваньні |
|||
Name[be@latin]=Aplikacyi |
|||
Name[bg]=Програми |
|||
Name[bn]=অ্যাপলিকেশন |
|||
Name[bn_IN]=অ্যাপলিকেশন |
|||
Name[br]=Arloadoù |
|||
Name[ca]=Aplicacions |
|||
Name[cs]=Aplikace |
|||
Name[cy]=Rhaglenni |
|||
Name[da]=Programmer |
|||
Name[de]=Anwendungen |
|||
Name[dz]=གློག་རིམ། |
|||
Name[el]=Εφαρμογές |
|||
Name[en_CA]=Applications |
|||
Name[en_GB]=Applications |
|||
Name[eo]=Aplikaĵoj |
|||
Name[es]=Aplicaciones |
|||
Name[et]=Rakendused |
|||
Name[eu]=Aplikazioak |
|||
Name[fa]=برنامهها |
|||
Name[fi]=Sovellukset |
|||
Name[fr]=Applications |
|||
Name[gl]=Aplicacións |
|||
Name[gn]=Enhepynru Apy |
|||
Name[gu]=કાર્યક્રમો |
|||
Name[he]=יישומים |
|||
Name[hi]=अनुप्रयोग |
|||
Name[hu]=Alkalmazások |
|||
Name[hy]=Ծրագրեր |
|||
Name[id]=Aplikasi |
|||
Name[it]=Applicazioni |
|||
Name[ja]=アプリケーション |
|||
Name[ka]=პროგრამები |
|||
Name[ko]=프로그램 |
|||
Name[ku]=Sepan |
|||
Name[ky]=Иштемелер |
|||
Name[lt]=Programos |
|||
Name[lv]=Aplikācijas |
|||
Name[mg]=Rindran'asa |
|||
Name[mk]=Апликации |
|||
Name[ml]=പ്രയോഗങ്ങള് |
|||
Name[mn]=Програмууд |
|||
Name[mr]=उपकरणं |
|||
Name[ms]=Aplikasi |
|||
Name[nb]=Programmer |
|||
Name[ne]=अनुप्रयोगहरू |
|||
Name[nl]=Toepassingen |
|||
Name[nn]=Program |
|||
Name[or]=ପ୍ରୟୋଗ |
|||
Name[pa]=ਕਾਰਜ |
|||
Name[pl]=Aplikacje |
|||
Name[pt]=Aplicações |
|||
Name[pt_BR]=Aplicações |
|||
Name[ro]=Aplicaţii |
|||
Name[ru]=Приложения |
|||
Name[rw]=Porogaramu |
|||
Name[sk]=Aplikácie |
|||
Name[sl]=Programi |
|||
Name[sq]=Programe |
|||
Name[sr]=Програми |
|||
Name[sr@Latn]=Programi |
|||
Name[sv]=Program |
|||
Name[ta]=பயன்பாடுகள் |
|||
Name[te]=కార్యక్షేత్రాలు |
|||
Name[th]=โปรแกรม |
|||
Name[tr]=Uygulamalar |
|||
Name[ug]=پىروگراممىلار |
|||
Name[uk]=Програми |
|||
Name[vi]=Ứng dụng |
|||
Name[xh]=Iinkqubo |
|||
Name[zh_CN]=应用程序 |
|||
Name[zh_HK]=應用程式 |
|||
Name[zh_TW]=應用程式 |
|||
Comment=Applications |
|||
Comment[ar]=تطبيقات |
|||
Comment[be]=Дастасаваньні |
|||
Comment[be@latin]=Aplikacyi |
|||
Comment[bg]=Програми |
|||
Comment[bn]=অ্যাপলিকেশন |
|||
Comment[bn_IN]=অ্যাপলিকেশন |
|||
Comment[br]=Arloadoù |
|||
Comment[ca]=Aplicacions |
|||
Comment[cs]=Aplikace |
|||
Comment[cy]=Rhaglenni |
|||
Comment[da]=Programmer |
|||
Comment[de]=Anwendungen |
|||
Comment[dz]=གློག་རིམ། |
|||
Comment[el]=Εφαρμογές |
|||
Comment[en_CA]=Applications |
|||
Comment[en_GB]=Applications |
|||
Comment[eo]=Aplikaĵoj |
|||
Comment[es]=Aplicaciones |
|||
Comment[et]=Rakendused |
|||
Comment[eu]=Aplikazioak |
|||
Comment[fa]=برنامهها |
|||
Comment[fi]=Sovellukset |
|||
Comment[fr]=Applications |
|||
Comment[gl]=Aplicacións |
|||
Comment[gn]=Enhepynru Apy |
|||
Comment[gu]=કાર્યક્રમો |
|||
Comment[he]=יישומים |
|||
Comment[hi]=अनुप्रयोग |
|||
Comment[hu]=Alkalmazások |
|||
Comment[hy]=Ծրագրեր |
|||
Comment[id]=Aplikasi |
|||
Comment[it]=Applicazioni |
|||
Comment[ja]=アプリケーション |
|||
Comment[ka]=პროგრამები |
|||
Comment[ko]=프로그램 |
|||
Comment[ku]=Sepan |
|||
Comment[ky]=Иштемелер |
|||
Comment[lt]=Programos |
|||
Comment[lv]=Aplikācijas |
|||
Comment[mg]=Rindran'asa |
|||
Comment[mk]=Апликации |
|||
Comment[ml]=പ്രയോഗങ്ങള് |
|||
Comment[mn]=Програмууд |
|||
Comment[mr]=उपकरणं |
|||
Comment[ms]=Aplikasi |
|||
Comment[nb]=Programmer |
|||
Comment[ne]=अनुप्रयोगहरू |
|||
Comment[nl]=Toepassingen |
|||
Comment[nn]=Program |
|||
Comment[or]=ପ୍ରୟୋଗ |
|||
Comment[pa]=ਕਾਰਜ |
|||
Comment[pl]=Aplikacje |
|||
Comment[pt]=Aplicações |
|||
Comment[pt_BR]=Aplicações |
|||
Comment[ro]=Aplicaţii |
|||
Comment[ru]=Приложения |
|||
Comment[rw]=Porogaramu |
|||
Comment[sk]=Aplikácie |
|||
Comment[sl]=Programi |
|||
Comment[sq]=Programe |
|||
Comment[sr]=Програми |
|||
Comment[sr@Latn]=Programi |
|||
Comment[sv]=Program |
|||
Comment[ta]=பயன்பாடுகள் |
|||
Comment[te]=కార్యక్షేత్రాలు |
|||
Comment[th]=โปรแกรม |
|||
Comment[tr]=Uygulamalar |
|||
Comment[ug]=پىروگراممىلار |
|||
Comment[uk]=Програми |
|||
Comment[vi]=Ứng dụng |
|||
Comment[xh]=Iinkqubo |
|||
Comment[zh_CN]=应用程序 |
|||
Comment[zh_HK]=應用程式 |
|||
Comment[zh_TW]=應用程式 |
|||
Icon=gnome-applications |
|||
Type=Directory |
|||
Encoding=UTF-8 |
@ -0,0 +1,90 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=applications-development |
|||
Name=Development |
|||
Name[ar]=تطوير |
|||
Name[ast]=Desendolcu |
|||
Name[be]=Распрацоўка |
|||
Name[ca]=Desenvolupament |
|||
Name[cs]=Vývoj |
|||
Name[da]=Udvikling |
|||
Name[de]=Entwicklung |
|||
Name[el]=Ανάπτυξη |
|||
Name[en_GB]=Development |
|||
Name[es]=Desarrollo |
|||
Name[et]=Arendus |
|||
Name[eu]=Garapena |
|||
Name[fi]=Sovelluskehitys |
|||
Name[fr]=Développement |
|||
Name[gl]=Desenvolvemento |
|||
Name[he]=פיתוח |
|||
Name[hu]=Fejlesztés |
|||
Name[id]=Pengembangan |
|||
Name[it]=Sviluppo |
|||
Name[ja]=開発 |
|||
Name[kk]=Өндіру |
|||
Name[ko]=개발 |
|||
Name[lv]=Izstrāde |
|||
Name[nb]=Utvikling |
|||
Name[nl]=Programmeren |
|||
Name[nn]=Utvikling |
|||
Name[pa]=ਡਿਵੈਲਪਮਿੰਟ |
|||
Name[pl]=Programowanie |
|||
Name[pt]=Desenvolvimento |
|||
Name[pt_BR]=Desenvolvimento |
|||
Name[ro]=Dezvoltare |
|||
Name[ru]=Разработка |
|||
Name[si]=සංවර්ධනය |
|||
Name[sk]=Vývoj |
|||
Name[sq]=Zhvillim |
|||
Name[sv]=Utveckling |
|||
Name[tr]=Geliştirme |
|||
Name[ug]=ئىجادىيەت |
|||
Name[uk]=Розробка |
|||
Name[ur]=ترقی |
|||
Name[ur_PK]=ترقی |
|||
Name[zh_CN]=开发 |
|||
Name[zh_TW]=開發 |
|||
Comment=Software development tools |
|||
Comment[ar]=أدوات تطوير البرامج |
|||
Comment[ast]=Ferramientes de desarrollu de software |
|||
Comment[be]=Інструмэнты для распрацоўкі праграм |
|||
Comment[ca]=Eines de desenvolupament de programari |
|||
Comment[cs]=Nástroje pro vývoj software |
|||
Comment[da]=Softwareudviklingsværktøjer |
|||
Comment[de]=Softwareentwicklungswerkzeuge |
|||
Comment[el]=Εργαλεία ανάπτυξης λογισμικού |
|||
Comment[en_GB]=Software development tools |
|||
Comment[es]=Herramientas de desarrollo de software |
|||
Comment[et]=Tarkvaraarenduse tööriistad |
|||
Comment[eu]=Software garapen tresnak |
|||
Comment[fi]=Sovellusten kehitystyökalut |
|||
Comment[fr]=Outils de développement |
|||
Comment[gl]=Ferramentas de desenvolvemento de software |
|||
Comment[hu]=Szoftverfejlesztési eszközök |
|||
Comment[id]=Alat pengembangan peranti lunak |
|||
Comment[it]=Strumenti per lo sviluppo software |
|||
Comment[ja]=ソフトウェア開発ツール |
|||
Comment[kk]=Бағдарламаларды өндіру саймандары |
|||
Comment[ko]=소프트웨어 개발 도구 |
|||
Comment[lv]=Programmatūras izstrādes rīki |
|||
Comment[nb]=Programvareutviklingsverktøy |
|||
Comment[nl]=Software-ontwikkelingstools |
|||
Comment[nn]=Utviklingsverkty |
|||
Comment[pa]=ਸਾਫਟਵੇਅਰ ਡਿਵੈਲਪਮਿੰਟ ਟੂਲ |
|||
Comment[pl]=Programowanie |
|||
Comment[pt]=Ferramentas de criação de software |
|||
Comment[pt_BR]=Ferramentas de desenvolvimento de software |
|||
Comment[ro]=Unelte pentru dezvoltarea de software |
|||
Comment[ru]=Инструменты для разработки программного обеспечения |
|||
Comment[sk]=Nástroje pre vývoj softvéru |
|||
Comment[sq]=Mjete për zhvillim programesh |
|||
Comment[sv]=Programutvecklingsverktyg |
|||
Comment[tr]=Yazılım geliştirme araçları |
|||
Comment[ug]=يۇمشاق دېتال ئىجادىيەت قوراللىرى |
|||
Comment[uk]=Інструменти для розробки ПЗ |
|||
Comment[ur]=سوفٹ ویئر ترقی اوزار |
|||
Comment[ur_PK]=سوفٹ ویئر ترقی اوزار |
|||
Comment[zh_CN]=软件开发工具 |
@ -0,0 +1,91 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=applications-education |
|||
Name=Education |
|||
Name[ar]=تعليم |
|||
Name[ast]=Educación |
|||
Name[be]=Адукацыя |
|||
Name[ca]=Educació |
|||
Name[cs]=Vzdělávání |
|||
Name[da]=Uddannelse |
|||
Name[de]=Bildung |
|||
Name[el]=Εκπαίδευση |
|||
Name[en_GB]=Education |
|||
Name[es]=Educación |
|||
Name[et]=Haridus |
|||
Name[eu]=Hezkuntza |
|||
Name[fi]=Opetus |
|||
Name[fr]=Éducation |
|||
Name[gl]=Educación |
|||
Name[he]=לומדות |
|||
Name[hu]=Oktatás |
|||
Name[id]=Pendidikan |
|||
Name[it]=Istruzione |
|||
Name[ja]=教育 |
|||
Name[kk]=Білім алу |
|||
Name[ko]=교육용 |
|||
Name[lv]=Izglītība |
|||
Name[nb]=Utdanning |
|||
Name[nl]=Educatief |
|||
Name[nn]=Opplæring |
|||
Name[pa]=ਸਿੱਖਿਆ |
|||
Name[pl]=Edukacja |
|||
Name[pt]=Educação |
|||
Name[pt_BR]=Educativo |
|||
Name[ro]=Educație |
|||
Name[ru]=Обучение |
|||
Name[si]=අධ්යාපනික |
|||
Name[sk]=Vzdelávanie |
|||
Name[sq]=Edukim |
|||
Name[sv]=Utbildning |
|||
Name[tr]=Eğitim |
|||
Name[ug]=مائارىپ |
|||
Name[uk]=Навчання |
|||
Name[ur]=تعلیم |
|||
Name[ur_PK]=تعلیم |
|||
Name[zh_CN]=教育 |
|||
Name[zh_TW]=教育 |
|||
Comment=Educational software |
|||
Comment[ar]=برامج تعليمية |
|||
Comment[ast]=Software educativu |
|||
Comment[be]=Адукацыйныя праграмы |
|||
Comment[ca]=Programari educatiu |
|||
Comment[cs]=Výukový software |
|||
Comment[da]=Uddannelsessoftware |
|||
Comment[de]=Bildungsprogramme |
|||
Comment[el]=Εκπαιδευτικό λογισμικό |
|||
Comment[en_GB]=Educational software |
|||
Comment[es]=Software educativo |
|||
Comment[et]=Hariduslik tarkvara |
|||
Comment[eu]=Hezkuntzarako softwarea |
|||
Comment[fi]=Opetusohjelmistot |
|||
Comment[fr]=Logiciels éducatifs |
|||
Comment[gl]=Software educativo |
|||
Comment[hu]=Oktatóprogramok |
|||
Comment[id]=Peranti lunak pendidikan |
|||
Comment[it]=Software educativo |
|||
Comment[ja]=教育ソフトウェア |
|||
Comment[kk]=Білім алу, оқу қолданбалары |
|||
Comment[ko]=교육용 소프트웨어 |
|||
Comment[lv]=Izglītojoša programmatūra |
|||
Comment[nb]=Utdannende programvare |
|||
Comment[nl]=Educatieve software |
|||
Comment[nn]=Opplæringsprogramvare |
|||
Comment[pa]=ਸਿੱਖਿਆ ਸਾਫਟਵੇਅਰ |
|||
Comment[pl]=Oprogramowanie edukacyjne |
|||
Comment[pt]=Software Educacional |
|||
Comment[pt_BR]=Programas educativos |
|||
Comment[ro]=Software educațional |
|||
Comment[ru]=Образовательное программное обеспечение |
|||
Comment[si]=අධ්යාපනික මෘදුකාංග |
|||
Comment[sk]=Výukový softvér |
|||
Comment[sq]=Programe edukimi |
|||
Comment[sv]=Pedagogisk programvara |
|||
Comment[tr]=Eğitimsel uygulama |
|||
Comment[ug]=مائارىپ دېتاللىرى |
|||
Comment[uk]=Програми для навчання |
|||
Comment[ur]=تعلیمی پروگرام |
|||
Comment[ur_PK]=تعلیمی پروگرام |
|||
Comment[zh_CN]=教育软件 |
@ -0,0 +1,87 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=applications-games |
|||
Name=Games |
|||
Name[ar]=ألعاب |
|||
Name[ast]=Xuegos |
|||
Name[be]=Гульні |
|||
Name[ca]=Jocs |
|||
Name[cs]=Hry |
|||
Name[da]=Spil |
|||
Name[de]=Spiele |
|||
Name[el]=Παιχνίδια |
|||
Name[en_GB]=Games |
|||
Name[es]=Juegos |
|||
Name[et]=Mängud |
|||
Name[eu]=Jokoak |
|||
Name[fi]=Pelit |
|||
Name[fr]=Jeux |
|||
Name[gl]=Xogos |
|||
Name[hu]=Játékok |
|||
Name[id]=Permainan |
|||
Name[it]=Giochi |
|||
Name[ja]=ゲーム |
|||
Name[kk]=Ойындар |
|||
Name[ko]=놀이 |
|||
Name[lv]=Spēles |
|||
Name[nb]=Spill |
|||
Name[nl]=Games |
|||
Name[nn]=Spel |
|||
Name[pa]=ਖੇਡਾਂ |
|||
Name[pl]=Gry |
|||
Name[pt]=Jogos |
|||
Name[pt_BR]=Jogos |
|||
Name[ro]=Jocuri |
|||
Name[ru]=Игры |
|||
Name[si]=ක්රීඩා |
|||
Name[sk]=Hry |
|||
Name[sq]=Lojëra |
|||
Name[sv]=Spel |
|||
Name[tr]=Oyunlar |
|||
Name[ug]=ئويۇن |
|||
Name[uk]=Ігри |
|||
Name[ur]=گیم |
|||
Name[ur_PK]=گیم |
|||
Name[zh_CN]=游戏 |
|||
Comment=Games, puzzles, and other fun software |
|||
Comment[ar]=ألعاب، وألغاز، وبرامج مرح أخرى |
|||
Comment[ast]=Xuegos, puzzles y otru software divertíu |
|||
Comment[be]=Гульні й іншыя забаўляльныя праграмы |
|||
Comment[ca]=Jocs, puzzles i altres programes divertits |
|||
Comment[cs]=Hry, hlavolamy a jiný zábavný software |
|||
Comment[da]=Spil, puslespil og andre underholdningsprogrammer |
|||
Comment[de]=Puzzles und Spiele |
|||
Comment[el]=Παιχνίδια, παζλ, και άλλο διασκεδαστικό λογισμικό |
|||
Comment[en_GB]=Games, puzzles, and other fun software |
|||
Comment[es]=Juegos, puzzles y otro software divertido |
|||
Comment[et]=Mängud, mõistatused ning muu meelelahtustarkvara |
|||
Comment[eu]=Jokoak, puzzleak eta beste hainbat software dibertigarri |
|||
Comment[fi]=Pelit ja muut ajanvietesovellukset |
|||
Comment[fr]=Jeux, puzzles et autres divertissements |
|||
Comment[gl]=Xogos, crebacabezas, e outros programas divertidos |
|||
Comment[hu]=Játékok, fejtörők és más szórakoztató szoftverek |
|||
Comment[id]=Permainan, teka-teki, dan peranti lunak menyenangkan lainnya |
|||
Comment[it]=Giochi, puzzle e altri software per lo svago |
|||
Comment[ja]=ゲーム、パズルや他の遊戯用ソフトウェア |
|||
Comment[kk]=Ойндар және басқа қызықты қолданбалар |
|||
Comment[ko]=놀이, 퍼즐 및 기타 재미있는 소프트웨어 |
|||
Comment[lv]=Spēles, puzles un cita izklaides programmatūra |
|||
Comment[nb]=Spill, småspill og annen morsom programvare |
|||
Comment[nl]=Games, puzzels en andere leuke software |
|||
Comment[nn]=Spel og anna morosam programvare |
|||
Comment[pa]=ਖੇਡਾਂ, ਬੁਝਾਰਤਾਂ ਅਤੇ ਹੋਰ ਫਨ ਸਾਫਟਵੇਅਰ |
|||
Comment[pt]=Jogos, puzzles, e outro software de diversão |
|||
Comment[pt_BR]=Jogos, quebra-cabeça e outros programas divertidos |
|||
Comment[ro]=Jocuri, joculețe și alte aplicații distractive |
|||
Comment[ru]=Игры, головоломки и другие забавные программы |
|||
Comment[sk]=Hry, hlavolamy a iný zábavný softvér |
|||
Comment[sq]=Lojëra, "puzzle"-e dhe të tjera programe zbavitjeje |
|||
Comment[sv]=Spel, pussel och andra nöjesprogram |
|||
Comment[tr]=Oyunlar ve diğer eğlenceli yazılımlar |
|||
Comment[ug]=ئويۇن، تېپىشماق ۋە باشقا قىزىقارلىق دېتاللار |
|||
Comment[uk]=Ігри, пазли, інші програми для розваг |
|||
Comment[ur]=گیم، پزل، اور دوسرے تفریحی پروگرام |
|||
Comment[ur_PK]=گیم، پزل، اور دوسرے تفریحی پروگرام |
|||
Comment[zh_CN]=游戏,益智和其它有趣软件 |
@ -0,0 +1,89 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=applications-graphics |
|||
Name=Graphics |
|||
Name[ar]=رسوميات |
|||
Name[ast]=Gráficos |
|||
Name[be]=Графіка |
|||
Name[ca]=Gràfics |
|||
Name[cs]=Grafika |
|||
Name[da]=Grafik |
|||
Name[de]=Grafik |
|||
Name[el]=Γραφικά |
|||
Name[en_GB]=Graphics |
|||
Name[es]=Gráficos |
|||
Name[et]=Graafika |
|||
Name[eu]=Grafikoak |
|||
Name[fi]=Grafiikka |
|||
Name[fr]=Infographie |
|||
Name[gl]=Imaxes |
|||
Name[he]=גרפיקה |
|||
Name[hu]=Grafika |
|||
Name[id]=Grafik |
|||
Name[it]=Grafica |
|||
Name[ja]=グラフィックス |
|||
Name[kk]=Бейнелеу |
|||
Name[ko]=그림 |
|||
Name[lv]=Grafika |
|||
Name[nb]=Grafisk |
|||
Name[nl]=Grafisch |
|||
Name[nn]=Grafikk |
|||
Name[pa]=ਗਰਾਫਿਕਸ |
|||
Name[pl]=Grafika |
|||
Name[pt]=Gráficos |
|||
Name[pt_BR]=Gráficos |
|||
Name[ro]=Grafică |
|||
Name[ru]=Графика |
|||
Name[si]=චිත්රක |
|||
Name[sk]=Grafika |
|||
Name[sq]=Grafika |
|||
Name[sv]=Grafik |
|||
Name[tr]=Grafikler |
|||
Name[ug]=گرافىك |
|||
Name[uk]=Графіка |
|||
Name[ur]=گریفکس |
|||
Name[ur_PK]=گریفکس |
|||
Name[zh_CN]=图形图像 |
|||
Name[zh_TW]=繪圖 |
|||
Comment=Graphics creation and manipulation applications |
|||
Comment[ar]=تطبيقات إنشاء ومعالجة الرسوميات |
|||
Comment[ast]=Aplicaciones de criación y manipulación de gráficos |
|||
Comment[be]=Дастасаваньні для стварэньня й маніпуляцый з графікай |
|||
Comment[ca]=Aplicacions de creació i manipulació de gràfics |
|||
Comment[cs]=Aplikace pro tvorbu a manipulaci s grafikou |
|||
Comment[da]=Programmer til oprettelse og manipulering af grafik |
|||
Comment[de]=Grafikbearbeitungsprogramme |
|||
Comment[el]=Εφαρμογές δημιουργίας και επεξεργασίας γραφικών |
|||
Comment[en_GB]=Graphics creation and manipulation applications |
|||
Comment[es]=Aplicaciones de creación y manipulación de gráficos |
|||
Comment[et]=Graafika loomise ja töötlemise rakendused |
|||
Comment[eu]=Grafiko sorpen eta eraldatze aplikazioak |
|||
Comment[fi]=Kuvien luomiseen ja käsittelyyn tarkoitetut ohjelmat |
|||
Comment[fr]=Applications de création graphique |
|||
Comment[gl]=Aplicacións para manipular e crear imaxes |
|||
Comment[hu]=Képkészítő és -manipulációs alkalmazások |
|||
Comment[id]=Aplikasi pembuatan dan manipulasi grafik |
|||
Comment[it]=Applicazioni per la creazione e la manipolazione di immagini |
|||
Comment[ja]=グラフィックスの作成や操作アプリケーション |
|||
Comment[kk]=Суреттерді салу және өндеу қолданбалары |
|||
Comment[ko]=그림에 관련된 프로그램 |
|||
Comment[lv]=Grafikas veidošanas un manipulēšanas lietotnes |
|||
Comment[nb]=Programmer for grafisk skapelse og manipulasjon |
|||
Comment[nl]=Grafische applicaties |
|||
Comment[nn]=Oppretting og manipulering av grafikk |
|||
Comment[pa]=ਗਰਾਫਿਕਸ ਬਣਾਉਣ ਅਤੇ ਮੇਨੂਪਲੇਸ਼ਨ ਐਪਲੀਕੇਸ਼ਨ |
|||
Comment[pt]=Aplicações de criação e manipulação de gráficos |
|||
Comment[pt_BR]=Aplicativos de criação e manipulação de gráficos |
|||
Comment[ro]=Aplicații de creare și manipulare de imagini |
|||
Comment[ru]=Программы для создания и редактирования изображений |
|||
Comment[sk]=Aplikácie pre tvorbu a manipuláciou s grafikou |
|||
Comment[sq]=Zbatime krijimesh dhe manipulimesh grafike |
|||
Comment[sv]=Program för att skapa och redigera grafik |
|||
Comment[tr]=Grafik oluşturma ve işleme uygulamaları |
|||
Comment[ug]=گرافىك ياساش ۋە باشقۇرۇش پروگراممىلىرى |
|||
Comment[uk]=Програми для створення та маніпуляцій з графікою |
|||
Comment[ur]=گریفکس بنانے کے اطلاقیے |
|||
Comment[ur_PK]=گریفکس بنانے کے اطلاقیے |
|||
Comment[zh_CN]=图形创建及处理程序 |
@ -0,0 +1,88 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=applications-multimedia |
|||
Name=Multimedia |
|||
Name[ar]=الوسائط المتعددة |
|||
Name[ast]=Multimedia |
|||
Name[be]=Мультымэдыя |
|||
Name[ca]=Multimèdia |
|||
Name[cs]=Multimédia |
|||
Name[da]=Multimedie |
|||
Name[de]=Multimedia |
|||
Name[el]=Πολυμέσα |
|||
Name[en_GB]=Multimedia |
|||
Name[es]=Multimedia |
|||
Name[et]=Multimeedia |
|||
Name[eu]=Multimedia |
|||
Name[fi]=Ääni ja kuva |
|||
Name[fr]=Multimédia |
|||
Name[gl]=Multimedia |
|||
Name[hu]=Multimédia |
|||
Name[id]=Multimedia |
|||
Name[it]=Multimedia |
|||
Name[ja]=マルチメディア |
|||
Name[kk]=Мультимедиа |
|||
Name[ko]=멀티미디어 |
|||
Name[lv]=Multimēdija |
|||
Name[nb]=Multimedia |
|||
Name[nl]=Multimedia |
|||
Name[nn]=Multimedia |
|||
Name[pa]=ਮਲਟੀਮੀਡਿਆ |
|||
Name[pl]=Multimedia |
|||
Name[pt]=Multimédia |
|||
Name[pt_BR]=Multimídia |
|||
Name[ro]=Multimedia |
|||
Name[ru]=Аудио и видео |
|||
Name[si]=බහුමාධ්යය |
|||
Name[sk]=Multimédia |
|||
Name[sq]=Multimedia |
|||
Name[sv]=Multimedia |
|||
Name[tr]=Çoklu Ortam |
|||
Name[ug]=Multimedia |
|||
Name[uk]=Мультимедія |
|||
Name[ur]=ملٹی میڈیا |
|||
Name[ur_PK]=ملٹی میڈیا |
|||
Name[zh_CN]=多媒体 |
|||
Comment=Audio and video players and editors |
|||
Comment[ar]=مشغلات ومحررات الصوت والفيديو |
|||
Comment[ast]=Reproductores y editores d'audiu y vídeu |
|||
Comment[be]=Аўдыё і відэа плэеры й рэдактары |
|||
Comment[ca]=Editors i reproductors de vídeo i audio |
|||
Comment[cs]=Přehrávače a editory zvuku a videa |
|||
Comment[da]=Lyd- og film-afspillere/redigering |
|||
Comment[de]=Abspiel- und Bearbeitungsprogramme für Bild und Ton |
|||
Comment[el]=Εφαρμογές αναπαραγωγής και επεξεργασίας μουσικής και βίντεο |
|||
Comment[en_GB]=Audio and video players and editors |
|||
Comment[es]=Reproductores y editores de audio y vídeo |
|||
Comment[et]=Heli- ja videoesitid ja toimetid |
|||
Comment[eu]=Audio eta Bideo erreproduktore eta editoreak |
|||
Comment[fi]=Äänen ja videon toisto- ja muokkaussovellukset |
|||
Comment[fr]=Éditeurs et lecteurs audio et vidéo |
|||
Comment[gl]=Editores e reprodutores de son e vídeo |
|||
Comment[hu]=Hang- és videolejátszók és -szerkesztők |
|||
Comment[id]=Pemutar dan penyunting audio dan video |
|||
Comment[it]=Editor e riproduttori audio e video |
|||
Comment[ja]=オーディオ、ビデオプレイヤーや編集ソフトウェア |
|||
Comment[kk]=Аудио және видео плеерлер мен түзеткіштері |
|||
Comment[ko]=오디오와 비디오 재생 및 편집기 |
|||
Comment[lv]=Audio un video atskaņotāji un redaktori |
|||
Comment[nb]=Lyd- og bildespillere og redigerere |
|||
Comment[nl]=Audio- en videospelers en -bewerkers |
|||
Comment[nn]=Lyd og videoavspelarear og redigeringsverkty |
|||
Comment[pa]=ਆਡੀਓ ਅਤੇ ਵੀਡਿਓ ਪਲੇਅਰ ਅਤੇ ਐਡੀਟਰ |
|||
Comment[pl]=Odtwarzacze oraz edytory audio i wideo |
|||
Comment[pt]=Editores e leitores de áudio e vídeo |
|||
Comment[pt_BR]=Editores e reprodutores de áudio e vídeo |
|||
Comment[ro]=Redare și editare audio/video |
|||
Comment[ru]=Музыкальные и видеопроигрыватели и редакторы |
|||
Comment[sk]=Prehrávače a editory zvuku a obrazu |
|||
Comment[sq]=Lojtësa dhe përpunuesa audioje dhe videoje |
|||
Comment[sv]=Ljud- och videospelare samt redigerare |
|||
Comment[tr]=Ses, görüntü oynatıcılar ve düzenleyiciler |
|||
Comment[ug]=ئۈن-سىن قويغۇ ۋە تەھرىرلىگۈ |
|||
Comment[uk]=Аудіо та відео програвачі та редактори |
|||
Comment[ur]=صوتی اور ویڈیو پلیئرز اور مدون |
|||
Comment[ur_PK]=صوتی اور ویڈیو پلیئرز اور مدون |
|||
Comment[zh_CN]=音频、视频播放器和编辑器 |
@ -0,0 +1,90 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=applications-internet |
|||
Name=Network |
|||
Name[ar]=شبكة |
|||
Name[ast]=Rede |
|||
Name[be]=Сетка |
|||
Name[ca]=Xarxa |
|||
Name[cs]=Síť |
|||
Name[da]=Netværk |
|||
Name[de]=Netzwerk |
|||
Name[el]=Δίκτυο |
|||
Name[en_GB]=Network |
|||
Name[es]=Red |
|||
Name[et]=Võrk |
|||
Name[eu]=Sarea |
|||
Name[fi]=Verkko |
|||
Name[fr]=Internet |
|||
Name[gl]=Rede |
|||
Name[he]=אינטרנט |
|||
Name[hu]=Hálózat |
|||
Name[id]=Jaringan |
|||
Name[it]=Rete |
|||
Name[ja]=ネットワーク |
|||
Name[kk]=Желілік |
|||
Name[ko]=네트워크 |
|||
Name[lv]=Tīkls |
|||
Name[nb]=Nettverk |
|||
Name[nl]=Netwerk |
|||
Name[nn]=Nettverk |
|||
Name[pa]=ਨੈੱਟਵਰਕ |
|||
Name[pl]=Sieć |
|||
Name[pt]=Rede |
|||
Name[pt_BR]=Internet |
|||
Name[ro]=Rețea |
|||
Name[ru]=Сеть и Интернет |
|||
Name[si]=ජාලය |
|||
Name[sk]=Sieť |
|||
Name[sq]=Rrjet |
|||
Name[sv]=Nätverk |
|||
Name[tr]=Ağ |
|||
Name[ug]=تور |
|||
Name[uk]=Мережеві |
|||
Name[ur]=نیٹ ورک |
|||
Name[ur_PK]=نیٹ ورک |
|||
Name[zh_CN]=网络 |
|||
Name[zh_TW]=網路 |
|||
Comment=Network applications and utilities |
|||
Comment[ar]=تطبيقات وأدوات الشبكة |
|||
Comment[ast]=Aplicaciones y utilidaes de rede |
|||
Comment[be]=Сеткавыя дастасаваньні і інструмэнты |
|||
Comment[ca]=Aplicacions i utilitats de xarxa |
|||
Comment[cs]=Síťové aplikace a nástroje |
|||
Comment[da]=Netværksprogrammer og -værktøjer |
|||
Comment[de]=Netzwerkprogramme |
|||
Comment[el]=Εφαρμογές και εργαλεία δικτύου |
|||
Comment[en_GB]=Network applications and utilities |
|||
Comment[es]=Aplicaciones y utilidades de red |
|||
Comment[et]=Võrgurakendused ja utiliidid |
|||
Comment[eu]=Sare aplikazio eta lanabesak |
|||
Comment[fi]=Verkkotyökalut ja -ohjelmistot |
|||
Comment[fr]=Applications et utilitaires réseau |
|||
Comment[gl]=Aplicacións e utilidades de rede |
|||
Comment[hu]=Hálózati alkalmazások és segédprogramok |
|||
Comment[id]=Aplikasi dan utilitas jaringan |
|||
Comment[it]=Applicazioni e accessori di rete |
|||
Comment[ja]=ネットワークアプリケーションやユーティリティ |
|||
Comment[kk]=Желілік қолданбалар мен утилиттер |
|||
Comment[ko]=네트워크용 프로그램 |
|||
Comment[lv]=Tīkla lietotnes un sīklietotnes |
|||
Comment[nb]=Nettverksprogrammer og verktøy |
|||
Comment[nl]=Netwerktoepassingen en -hulpmiddelen |
|||
Comment[nn]=Nettverksprogram og verkty |
|||
Comment[pa]=ਨੈੱਟਵਰਕ ਐਪਲੀਕੇਸ਼ਨ ਅਤੇ ਯੂਟੈਲਟੀ |
|||
Comment[pl]=Program i narzędzia sieciowe |
|||
Comment[pt]=Aplicações e utilitários de rede |
|||
Comment[pt_BR]=Utilitários e aplicativos de rede |
|||
Comment[ro]=Aplicații și utilitare de rețea |
|||
Comment[ru]=Программы для работы с сетью |
|||
Comment[sk]=Sieťové aplikácie a nástroje |
|||
Comment[sq]=Zbatime dhe të dobishëm rrjetesh |
|||
Comment[sv]=Nätverksprogram och -verktyg |
|||
Comment[tr]=Ağ uygulamaları ve araçları |
|||
Comment[ug]=تور پروگراممىلىرى ۋە قوراللىرى |
|||
Comment[uk]=Програми та інструменти для мережі |
|||
Comment[ur]=نیٹ ورک اطلاقیے |
|||
Comment[ur_PK]=نیٹ ورک اطلاقیے |
|||
Comment[zh_CN]=网络应用程序和实用工具 |
@ -0,0 +1,89 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=applications-office |
|||
Name=Office |
|||
Name[ar]=المكتب |
|||
Name[ast]=Oficina |
|||
Name[be]=Офіс |
|||
Name[ca]=Ofimàtica |
|||
Name[cs]=Kancelář |
|||
Name[da]=Kontor |
|||
Name[de]=Büro |
|||
Name[el]=Γραφείο |
|||
Name[en_GB]=Office |
|||
Name[es]=Oficina |
|||
Name[et]=Kontor |
|||
Name[eu]=Ofizina |
|||
Name[fi]=Toimisto |
|||
Name[fr]=Bureautique |
|||
Name[gl]=Oficina |
|||
Name[he]=יישומים משרדיים |
|||
Name[hu]=Iroda |
|||
Name[id]=Perkantoran |
|||
Name[it]=Ufficio |
|||
Name[ja]=オフィス |
|||
Name[kk]=Кеңселік |
|||
Name[ko]=사무용 |
|||
Name[lv]=Birojs |
|||
Name[nb]=Kontor |
|||
Name[nl]=Kantoor |
|||
Name[nn]=Kontor |
|||
Name[pa]=ਆਫਿਸ |
|||
Name[pl]=Biuro |
|||
Name[pt]=Escritório |
|||
Name[pt_BR]=Escritório |
|||
Name[ro]=Birou |
|||
Name[ru]=Офис |
|||
Name[si]=කාර්යයාලීය |
|||
Name[sk]=Kancelária |
|||
Name[sq]=Zyrë |
|||
Name[sv]=Kontor |
|||
Name[tr]=Ofis |
|||
Name[ug]=ئىشخانا |
|||
Name[uk]=Офісні |
|||
Name[ur]=آفس |
|||
Name[ur_PK]=آفس |
|||
Name[zh_CN]=办公 |
|||
Comment=Office and productivity applications |
|||
Comment[ar]=تطبيقات المكتب والإنتاج |
|||
Comment[ast]=Aplicaciones d'oficina y productividá |
|||
Comment[be]=Офісныя дастасаваньні |
|||
Comment[ca]=Aplicacions d'ofimàtica i productivitat |
|||
Comment[cs]=Kancelářské a produktivní aplikace |
|||
Comment[da]=Kontor- og produktivitetsprogrammer |
|||
Comment[de]=Büroanwendungen |
|||
Comment[el]=Εφαρμογές γραφείου |
|||
Comment[en_GB]=Office and productivity applications |
|||
Comment[es]=Aplicaciones de oficina y productividad |
|||
Comment[et]=Kontori ja tootlikuse rakendused |
|||
Comment[eu]=Ofizina eta produktibitate aplikazioak |
|||
Comment[fi]=Toimisto- ja tuottavuussovellukset |
|||
Comment[fr]=Applications de bureautique |
|||
Comment[gl]=Aplicacións de produtividade e de oficina |
|||
Comment[hu]=Irodai és termelékenységi alkalmazások |
|||
Comment[id]=Aplikasi perkantoran dan produktivitas |
|||
Comment[it]=Applicazioni per l'ufficio e la produttività |
|||
Comment[ja]=事務用アプリケーション |
|||
Comment[kk]=Кеңселік қолданбалар |
|||
Comment[ko]=사무용 프로그램 |
|||
Comment[lv]=Biroja un produktivitātes lietotnes |
|||
Comment[nb]=Kontor og produktivitetsprogrammer |
|||
Comment[nl]=Kantoortoepassingen |
|||
Comment[nn]=Kontor og produktivitetsprogram |
|||
Comment[pa]=ਆਫਿਸ ਅਤੇ ਪਰੋਡਕਟਵਟੀ ਐਪਲੀਕੇਸ਼ਨ |
|||
Comment[pl]=Programy biurowe |
|||
Comment[pt]=Aplicações de escritório e produtividade |
|||
Comment[pt_BR]=Aplicativos de escritório e produtividade |
|||
Comment[ro]=Aplicații de birou |
|||
Comment[ru]=Офисные приложения |
|||
Comment[sk]=Kancelárske a produktívne aplikácie |
|||
Comment[sq]=Zbatime zyre dhe prodhimshmërie |
|||
Comment[sv]=Kontors- och produktivitetsprogram |
|||
Comment[tr]=Ofis ve verimlilik uygulamaları |
|||
Comment[ug]=ئىشخانا ۋە خىزمەت پروگراممىلىرى |
|||
Comment[uk]=Офісні та продуктивні програми |
|||
Comment[ur]=آفس کے اطلاقیے |
|||
Comment[ur_PK]=آفس کے اطلاقیے |
|||
Comment[zh_CN]=办公及创作应用程序 |
@ -0,0 +1,88 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=applications-other |
|||
Name=Other |
|||
Name[ar]=أخرى |
|||
Name[ast]=Otros |
|||
Name[be]=Іншыя |
|||
Name[ca]=Altres |
|||
Name[cs]=Ostatní |
|||
Name[da]=Andet |
|||
Name[de]=Andere |
|||
Name[el]=Άλλο |
|||
Name[en_GB]=Other |
|||
Name[es]=Otros |
|||
Name[et]=Muu |
|||
Name[eu]=Besteak |
|||
Name[fi]=Muut |
|||
Name[fr]=Autre |
|||
Name[gl]=Outras |
|||
Name[hu]=Egyéb |
|||
Name[id]=Lainnya |
|||
Name[it]=Altro |
|||
Name[ja]=その他 |
|||
Name[kk]=Басқа |
|||
Name[ko]=기타 |
|||
Name[lv]=Cits |
|||
Name[nb]=Andre |
|||
Name[nl]=Overig |
|||
Name[nn]=Anna |
|||
Name[pa]=ਹੋਰ |
|||
Name[pl]=Inne |
|||
Name[pt]=Outro |
|||
Name[pt_BR]=Outros |
|||
Name[ro]=Altele |
|||
Name[ru]=Прочие |
|||
Name[si]=වෙනත් |
|||
Name[sk]=Ostatné |
|||
Name[sq]=Tjetër |
|||
Name[sv]=Övriga |
|||
Name[tr]=Diğer |
|||
Name[ug]=باشقىلار |
|||
Name[uk]=Інші |
|||
Name[ur]=دیگر |
|||
Name[ur_PK]=دیگر |
|||
Name[zh_CN]=其它 |
|||
Comment=Applications that don't fit into other categories |
|||
Comment[ar]=التطبيقات التي لا تنتمي إلى أي فئة أخرى |
|||
Comment[ast]=Aplicaciones que nun concasen n'otres categoríes |
|||
Comment[be]=Дастасаваньні, якія не трапляюць у іншыя катэгорыі |
|||
Comment[ca]=Aplicacions que no cauen a les altres categories |
|||
Comment[cs]=Aplikace nespadající do jiných kategorií |
|||
Comment[da]=Programmer, der ikke passer ind i andre kategorier |
|||
Comment[de]=Sonstige Anwendungen |
|||
Comment[el]=Εφαρμογές που δεν ταιριάζουν σε άλλες κατηγορίες |
|||
Comment[en_GB]=Applications that don't fit into other categories |
|||
Comment[es]=Aplicaciones que no encajan en otras categorías |
|||
Comment[et]=Rakendused, mis ei sobi teistesse kategooriatesse |
|||
Comment[eu]=Beste ataletan sartzen ez diren aplikazioak |
|||
Comment[fi]=Sovellukset, jotka jäävät muiden ryhmien ulkopuolelle |
|||
Comment[fr]=Applications ne correspondant pas aux autres catégories |
|||
Comment[gl]=Aplicacións que non se axustan a outras categorías |
|||
Comment[hu]=Más kategóriába nem sorolható alkalmazások |
|||
Comment[id]=Aplikasi yang tidak cocok masuk ke kategori lain |
|||
Comment[it]=Applicazioni che non rientrano nelle altre categorie |
|||
Comment[ja]=他の分類に該当しないアプリケーション |
|||
Comment[kk]=Ешқандай тарапқа жатпайтын қолданбалар |
|||
Comment[ko]=분류되지 않은 프로그램 |
|||
Comment[lv]=Lietotnes, kas neiederas citās kategorijās |
|||
Comment[nb]=Programmer som ikke passer i andre kategorier |
|||
Comment[nl]=Toepassingen die niet in andere categorieën thuishoren |
|||
Comment[nn]=Program som ikkje passar i andre kategoriar |
|||
Comment[pa]=ਐਪਲੀਕੇਸ਼ਨ, ਜੋ ਕਿਸੇ ਹੋਰ ਕੈਟਾਗਰੀ ਵਿੱਚ ਫਿੱਟ ਨਹੀਂ ਆਉਦੀਆਂ ਹਨ |
|||
Comment[pl]=Programy niepasujące do innych kategorii |
|||
Comment[pt]=Aplicações não enquadradas noutras categorias |
|||
Comment[pt_BR]=Aplicativos que não se encaixam em outras categorias |
|||
Comment[ro]=Aplicații ce nu intră în celelalte categorii |
|||
Comment[ru]=Приложения, которые не подходят к другим категориям |
|||
Comment[sk]=Aplikácie nespadajúce do iných kategórií |
|||
Comment[sq]=Zbatime që nuk hyjnë në ndonjë kategori |
|||
Comment[sv]=Program som inte passar in i andra kategorier |
|||
Comment[tr]=Diğer kategorilerde yer almamış uygulamalar |
|||
Comment[ug]=باشقا كاتېگورىيىگە تەۋە بولمىغان پروگراممىلار |
|||
Comment[uk]=Програми, що не увійшли до інших категорій |
|||
Comment[ur]=اطلاقیے جو کسی دوسرے زمرے میں نہیں آتے |
|||
Comment[ur_PK]=اطلاقیے جو کسی دوسرے زمرے میں نہیں آتے |
|||
Comment[zh_CN]=未分类应用程序 |
@ -0,0 +1,88 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=preferences-desktop |
|||
Name=Settings |
|||
Name[ar]=الإعدادات |
|||
Name[ast]=Configuración |
|||
Name[be]=Настаўленьні |
|||
Name[ca]=Ajustaments |
|||
Name[cs]=Nastavení |
|||
Name[da]=Indstillinger |
|||
Name[de]=Einstellungen |
|||
Name[el]=Ρυθμίσεις |
|||
Name[en_GB]=Settings |
|||
Name[es]=Configuración |
|||
Name[et]=Seaded |
|||
Name[eu]=Ezarpenak |
|||
Name[fi]=Asetukset |
|||
Name[fr]=Paramètres |
|||
Name[gl]=Configuración |
|||
Name[hu]=Beállítások |
|||
Name[id]=Pengaturan |
|||
Name[it]=Impostazioni |
|||
Name[ja]=設定 |
|||
Name[kk]=Баптаулар |
|||
Name[ko]=설정 |
|||
Name[lv]=Uzstādījumi |
|||
Name[nb]=Innstillinger |
|||
Name[nl]=Instellingen |
|||
Name[nn]=Innstillingar |
|||
Name[pa]=ਸੈਟਿੰਗ |
|||
Name[pl]=Ustawienia |
|||
Name[pt]=Definições |
|||
Name[pt_BR]=Configurações |
|||
Name[ro]=Opțiuni |
|||
Name[ru]=Настройки |
|||
Name[si]=සිටුවම් |
|||
Name[sk]=Nastavenia |
|||
Name[sq]=Rregullime |
|||
Name[sv]=Inställningar |
|||
Name[tr]=Ayarlar |
|||
Name[ug]=تەڭشەكلەر |
|||
Name[uk]=Параметри |
|||
Name[ur]=ترتیبات |
|||
Name[ur_PK]=ترتیبات |
|||
Name[zh_CN]=设置 |
|||
Comment=Desktop and system settings applications |
|||
Comment[ar]=تطبيقات إعدادات سطح المكتب والنظام |
|||
Comment[ast]=Aplicaciones de configuración d'escritoriu y sistema |
|||
Comment[be]=Настаўленьні Стальца й сыстэмных праграм |
|||
Comment[ca]=Aplicacions d’escriptori i sistemes |
|||
Comment[cs]=Aplikace pro nastavení prostředí a systému |
|||
Comment[da]=Skrivebords- og systemindstillingprogrammer |
|||
Comment[de]=Programme für System- und Schreibtischeinstellungen |
|||
Comment[el]=Εφαρμογές ρυθμίσεων |
|||
Comment[en_GB]=Desktop and system settings applications |
|||
Comment[es]=Aplicaciones de configuración de escritorio y sistema |
|||
Comment[et]=Töölaua ning süsteemi seadistuste rakendused |
|||
Comment[eu]=Idazmahai eta sistema ezarpen aplikazioak |
|||
Comment[fi]=Työpöydän ja järjestelmän asetustyökalut |
|||
Comment[fr]=Applications de configuration du bureau et du système |
|||
Comment[gl]=Aplicacións de configuración do sistema e do escritorio |
|||
Comment[hu]=Asztali környezet és rendszerbeállító alkalmazások |
|||
Comment[id]=Aplikasi pengaturan sistem dan destop |
|||
Comment[it]=Applicazioni per le impostazioni del sistema e della scrivania |
|||
Comment[ja]=デスクトップやシステムを設定するアプリケーション |
|||
Comment[kk]=Жұмыс үстел мен жүйе баптаулар қолданбалары |
|||
Comment[ko]=데스크탑 및 시스템 설정 프로그램 |
|||
Comment[lv]=Darbavirsmas un sistēmas lietotņu uzstādījumi |
|||
Comment[nb]=Skrivebords- og systeminnstillingsprogrammer |
|||
Comment[nl]=Instellingstoepassingen |
|||
Comment[nn]=Skrivebord og systeminnstillingar |
|||
Comment[pa]=ਡੈਸਕਟਾਪ ਅਤੇ ਸਿਸਟਮ ਸੈਟਿੰਗ ਐਪਲੀਕੇਸ਼ਨ |
|||
Comment[pl]=Programy do konfiguracji środowiska graficznego i systemu |
|||
Comment[pt]=Aplicações de definições de sistema |
|||
Comment[pt_BR]=Aplicativos de configurações do sistema e da área de trabalho |
|||
Comment[ro]=Aplicații de editare a opțiunilor desktopului ori sistemului |
|||
Comment[ru]=Настройки системы и рабочего стола |
|||
Comment[sk]=Aplikácie pre nastavenie prostredia a systému |
|||
Comment[sq]=Zbatime rregullimi desktopi dhe sistemi |
|||
Comment[sv]=Program för skrivbords- och systeminställningar |
|||
Comment[tr]=Masaüstü ve sistem seçenekleri uygulamaları |
|||
Comment[ug]=ئۈستەليۈزى ۋە سىستېما تەڭشىكى پروگراممىلىرى |
|||
Comment[uk]=Програми для налаштування Робочої стільниці та системи |
|||
Comment[ur]=ڈیسک ٹاپ اور نظام کی ترتیبات کے اطلاقیے |
|||
Comment[ur_PK]=ڈیسک ٹاپ اور نظام کی ترتیبات کے اطلاقیے |
|||
Comment[zh_CN]=桌面和系统设置应用程序 |
@ -0,0 +1,103 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Encoding=UTF-8 |
|||
Type=Directory |
|||
Icon=applications-system |
|||
Name=System |
|||
Name[am]=ስርዓት |
|||
Name[ar]=النظام |
|||
Name[ast]=Sistema |
|||
Name[az]=Sistem |
|||
Name[be]=Сыстэма |
|||
Name[bn_IN]=সিস্টেম |
|||
Name[ca]=Sistema |
|||
Name[cs]=Systém |
|||
Name[da]=System |
|||
Name[de]=System |
|||
Name[dz]=རིམ་ལུགས། |
|||
Name[el]=Σύστημα |
|||
Name[en_GB]=System |
|||
Name[eo]=Sistemo |
|||
Name[es]=Sistema |
|||
Name[es_MX]=Sistema |
|||
Name[et]=Süsteem |
|||
Name[eu]=Sistema |
|||
Name[fa]=سیستم |
|||
Name[fi]=Järjestelmä |
|||
Name[fr]=Système |
|||
Name[gl]=Sistema |
|||
Name[gu]=સિસ્ટમ |
|||
Name[he]=מערכת |
|||
Name[hu]=Rendszer |
|||
Name[hy]=Համակարգ՝ |
|||
Name[id]=Sistem |
|||
Name[it]=Sistema |
|||
Name[ja]=システム |
|||
Name[kk]=Жүйе |
|||
Name[ko]=시스템 |
|||
Name[lt]=Sistemos |
|||
Name[lv]=Sistēma |
|||
Name[mk]=Систем |
|||
Name[mr]=प्रणाली |
|||
Name[nb]=System |
|||
Name[nl]=Systeem |
|||
Name[nn]=System |
|||
Name[pa]=ਸਿਸਟਮ |
|||
Name[pl]=System |
|||
Name[pt]=Sistema |
|||
Name[pt_BR]=Sistema |
|||
Name[ro]=Sistem |
|||
Name[ru]=Система |
|||
Name[si]=පද්ධතිය |
|||
Name[sk]=Systém |
|||
Name[sq]=Sistem |
|||
Name[sv]=System |
|||
Name[tr]=Sistem |
|||
Name[ug]=سىستېما |
|||
Name[uk]=Система |
|||
Name[ur]=نظام |
|||
Name[ur_PK]=نظام |
|||
Name[vi]=Hệ thống |
|||
Name[zh_CN]=系统 |
|||
Name[zh_TW]=系統 |
|||
Comment=System tools and utilities |
|||
Comment[ar]=أدوات النظام |
|||
Comment[ast]=Ferramientes y utilidaes de sistema |
|||
Comment[be]=Сыстэмныя інструмэны |
|||
Comment[ca]=Utilitats i eines de sistemes |
|||
Comment[cs]=Systémové nástroje |
|||
Comment[da]=Systemværktøjer og -redskaber |
|||
Comment[de]=Systemprogramme |
|||
Comment[el]=Εργαλεία συστήματος |
|||
Comment[en_GB]=System tools and utilities |
|||
Comment[es]=Herramientas y utilidades de sistema |
|||
Comment[et]=Süsteemi tööriistad ning utiliidid |
|||
Comment[eu]=Sistema tresna eta lanabesak |
|||
Comment[fi]=Järjestelmätyökalut ja -sovellukset |
|||
Comment[fr]=Outils et utilitaires système |
|||
Comment[gl]=Utilidades e ferramentas do sistema |
|||
Comment[hu]=Rendszereszközök és segédprogramok |
|||
Comment[id]=Utilitas dan alat sistem |
|||
Comment[it]=Accessori e strumenti di sistema |
|||
Comment[ja]=システムツールおよびユーティリティ |
|||
Comment[kk]=Жүйелік саймандар мен утилиттер |
|||
Comment[ko]=시스템 도구 |
|||
Comment[lv]=Sistēmas rīki un sīkprogrammas |
|||
Comment[nb]=Systemverktøy |
|||
Comment[nl]=Systeembeheer-applicaties |
|||
Comment[nn]=Systemverkty |
|||
Comment[pa]=ਸਿਸਟਮ ਟੂਲ ਅਤੇ ਯੂਟੈਲਟੀ |
|||
Comment[pl]=Systemowe narzędzia i programy użytkowe |
|||
Comment[pt]=Ferramentas de sistema |
|||
Comment[pt_BR]=Utilitários e ferramentas do sistema |
|||
Comment[ro]=Unelte de sistem și alte utilitare |
|||
Comment[ru]=Системные утилиты |
|||
Comment[sk]=Systémové nástroje |
|||
Comment[sq]=Mjete dhe të dobishëm sistemi |
|||
Comment[sv]=Systemverktyg |
|||
Comment[tr]=Sistem araçları |
|||
Comment[ug]=سىستېما قوراللىرى |
|||
Comment[uk]=Системні програми та інструменти |
|||
Comment[ur]=نظام کے اوزار |
|||
Comment[ur_PK]=نظام کے اوزار |
|||
Comment[zh_CN]=系统工具和实用程序 |
@ -0,0 +1,9 @@ |
|||
#!/bin/sh |
|||
|
|||
cd $(dirname $0) |
|||
|
|||
install -d -m 755 $DESTDIR/usr/bin |
|||
install -d -m 755 $DESTDIR/usr/share/desktop-directories |
|||
install -m 755 src/xdgmenumaker $DESTDIR/usr/bin/ |
|||
install -m 644 desktop-directories/* $DESTDIR/usr/share/desktop-directories |
|||
|
@ -0,0 +1,220 @@ |
|||
#!/usr/bin/env python |
|||
|
|||
import os |
|||
import sys |
|||
import getopt |
|||
import xdg.DesktopEntry as dentry |
|||
import xdg.Exceptions as exc |
|||
from operator import attrgetter |
|||
|
|||
dirlist = os.listdir('/usr/share/applications') |
|||
seticon = False |
|||
desktop = False |
|||
|
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-applications.directory') |
|||
applications = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-accessories.directory') |
|||
accessories = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-development.directory') |
|||
development = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-education.directory') |
|||
education = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-games.directory') |
|||
games = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-graphics.directory') |
|||
graphics = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-multimedia.directory') |
|||
multimedia = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-network.directory') |
|||
network = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-office.directory') |
|||
office = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-settings.directory') |
|||
settings = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-system.directory') |
|||
system = de.getName().encode('utf-8') |
|||
de = dentry.DesktopEntry(filename = '/usr/share/desktop-directories/xdgmenumaker-other.directory') |
|||
other = de.getName().encode('utf-8') |
|||
|
|||
def main(argv): |
|||
global desktop |
|||
try: |
|||
opts, args = getopt.getopt(argv, "hf:", ["help", "format="]) |
|||
except getopt.GetoptError: |
|||
usage() |
|||
sys.exit(2) |
|||
for opt, arg in opts: |
|||
if opt in ("-h", "--help"): |
|||
usage() |
|||
sys.exit(0) |
|||
elif opt in ("-f", "--format"): |
|||
desktop = arg |
|||
if desktop is False: |
|||
usage() |
|||
sys.exit('ERROR: You can only specify either a .dep file with the -f switch or dependencies using the -d switch.') |
|||
elif desktop == "fluxbox": |
|||
fluxboxmenu() |
|||
elif desktop == "windowmaker": |
|||
windowmakermenu() |
|||
else: |
|||
usage() |
|||
sys.exit(2) |
|||
|
|||
def usage(): |
|||
print 'USAGE:', os.path.basename(sys.argv[0]), '[OPTIONS]' |
|||
print |
|||
print 'OPTIONS:' |
|||
print ' -f, --format the output format to use. Valid options are fluxbox and windowmaker' |
|||
print ' -h, --help show this help message' |
|||
print ' You have to use either the -f or the -d switch.' |
|||
print |
|||
print 'EXAMPLES:' |
|||
print ' xdgmenumaker -d fluxbox' |
|||
|
|||
class MenuEntry: |
|||
def __init__(self, category, name, icon, command): |
|||
self.category = category |
|||
self.name = name |
|||
self.icon = icon |
|||
self.command = command |
|||
|
|||
def __repr__(self): |
|||
return repr((self.category, self.name, self.icon, self.command)) |
|||
|
|||
def get_entry_info(desktopfile): |
|||
global desktop |
|||
show = True |
|||
de = dentry.DesktopEntry(filename = desktopfile) |
|||
name = de.getName().encode('utf-8') |
|||
|
|||
if seticon == True: |
|||
# need to find a way to get the full path of the icon for the current theme |
|||
icon = de.getIcon() |
|||
else: |
|||
icon = None |
|||
|
|||
hidden = de.getHidden() |
|||
if hidden == True: |
|||
show = False |
|||
nodisplay = de.getNoDisplay() |
|||
if nodisplay == True: |
|||
show = False |
|||
|
|||
# removing any %U or %F from the exec line |
|||
command = de.getExec().partition('%')[0] |
|||
|
|||
terminal = de.getTerminal() |
|||
if terminal is True: |
|||
command = 'xterm -e '+command |
|||
|
|||
# cleaning up categories and keeping only registered freedesktop.org main categories |
|||
categories = de.getCategories() |
|||
if 'AudioVideo' in categories: |
|||
category = multimedia |
|||
elif 'Audio' in categories: |
|||
category = multimedia |
|||
elif 'Video' in categories: |
|||
category = multimedia |
|||
elif 'Development' in categories: |
|||
category = development |
|||
elif 'Education' in categories: |
|||
category = education |
|||
elif 'Game' in categories: |
|||
category = games |
|||
elif 'Graphics' in categories: |
|||
category = graphics |
|||
elif 'Network' in categories: |
|||
category = network |
|||
elif 'Office' in categories: |
|||
category = office |
|||
elif 'System' in categories: |
|||
category = system |
|||
elif 'Settings' in categories: |
|||
category = settings |
|||
elif 'Utility' in categories: |
|||
category = accessories |
|||
else: |
|||
category = other |
|||
|
|||
onlyshowin = de.getOnlyShowIn() |
|||
notshowin = de.getNotShowIn() |
|||
# none of the freedesktop registered environments are supported by this anyway |
|||
# http://standards.freedesktop.org/menu-spec/latest/apb.html |
|||
if onlyshowin != []: |
|||
show = False |
|||
if desktop in notshowin: |
|||
show = False |
|||
if show == True: |
|||
return [category, name, icon, command] |
|||
else: |
|||
return None |
|||
|
|||
def sortedcategories(applist): |
|||
categories = [] |
|||
for e in applist: |
|||
categories.append(e.category) |
|||
categories = sorted(set(categories)) |
|||
return categories |
|||
|
|||
def desktopfilelist(): |
|||
systemdir = '/usr/share/applications' |
|||
localdir = os.path.expanduser('~/.local/share/applications') |
|||
filelist = [] |
|||
for i in os.listdir(systemdir): |
|||
filelist.append(systemdir+'/'+i) |
|||
for i in os.listdir(localdir): |
|||
filelist.append(localdir+'/'+i) |
|||
return filelist |
|||
|
|||
|
|||
def menu(): |
|||
applist = [] |
|||
for desktopfile in desktopfilelist(): |
|||
try: |
|||
e = get_entry_info(desktopfile) |
|||
if e is not None: |
|||
applist.append(MenuEntry(e[0], e[1], e[2], e[3])) |
|||
except exc.ParsingError: |
|||
pass |
|||
|
|||
sortedapplist = sorted(applist, key=attrgetter('category', 'name')) |
|||
|
|||
menu = [] |
|||
for c in sortedcategories(applist): |
|||
appsincategory = [] |
|||
for i in sortedapplist: |
|||
if i.category == c: |
|||
appsincategory.append([i.name, i.icon, i.command]) |
|||
menu.append([c, appsincategory]) |
|||
return menu |
|||
|
|||
def fluxboxmenu(): |
|||
print '[submenu] ('+applications+')' |
|||
for i in menu(): |
|||
category = i[0] |
|||
print ' [submenu] ('+category+')' |
|||
for j in i[1]: |
|||
name = j[0] |
|||
icon = j[1] |
|||
command = j[2] |
|||
if icon is None: |
|||
print ' [exec] ('+name+') {'+command+'}' |
|||
else: |
|||
print ' [exec] ('+name+') {'+command+'} <'+icon+'>' |
|||
print ' [end] # ('+category+')' |
|||
print '[end] # ('+applications+')' |
|||
|
|||
def windowmakermenu(): |
|||
print '"'+applications+'" MENU' |
|||
for i in menu(): |
|||
category = i[0] |
|||
print ' "'+category+'" MENU' |
|||
for j in i[1]: |
|||
name = j[0] |
|||
command = j[2] |
|||
print ' "'+name+'" EXEC '+command |
|||
print ' "'+category+'" END' |
|||
print '"'+applications+'" END' |
|||
|
|||
if __name__ == "__main__": |
|||
main(sys.argv[1:]) |
Loading…
Reference in new issue