Naming and configuration, icons, desktop entry...

Registered by Davy Defaud

Two things about naming :

- IMHO and according to my distro policy (Mandriva) that is dual GNOME and KDE based, screenruler should be called something more specific like "gnome-screenruler" (my prefered name) or "gruler" (like before) or even "gscreenruler" or gtk-screenruler, but screenruler is too generic.

- the names of the icon files should be in a config file to be easily changed.
APP_ICON_LIST = ['screenruler-icon-16x16.png', 'screenruler-icon-32x32.png', 'screenruler-icon-64x64.png'].collect { |filename| Gdk::Pixbuf.new(filename) }
I try to make a RPM for Mandriva, and I'd like to provide these 3 files with the same name "gnome-screenruler.png" in the 3 different directories: /usr/share/icons/mini, /usr/share/icons and /usr/share/icons/large

- I think "APP_LOGO_FILENAME = 'screenruler-logo.png'" is useless now as 'screenruler-logo.png' doesn't exist anymore.

- You could provide a XDG desktop file for the menu entry . Here is one :
[Desktop Entry]
Name=Screen Ruler
Name[af]=Skerm Liniaal
Name[bg]=Линийка за екрана
Name[ca]=Regla de pantalla
Name[cs]=Obrazovkové pravítko
Name[cy]=Mesurydd Sgrîn
Name[da]=Skærmlineal
Name[de]=Bildschirmlineal
Name[el]=Χάρακας οθόνης
Name[eo]=Ekrana liniilo
Name[es]=Regla para la pantalla
Name[et]=Ekraani joonlaud
Name[eu]=Pantaila erregela
Name[fa]=خط‌کش پرده
Name[fi]=Näyttöviivain
Name[fr]=Règle d'écran
Name[ga]=Rialóir Scáileáin
Name[gl]=Regra de pantalla
Name[he]=סרגל מסך
Name[hi]=स्क्रीन मापनी
Name[hr]=Ravnalo
Name[hu]=Képernyővonalzó
Name[is]=Reglustika
Name[it]=Righello per lo schermo
Name[ja]=スクリーンルーラー
Name[kk]=Экран өлшегіші
Name[km]=បន្ទាត់​អេក្រង់
Name[ko]=화면 자
Name[lt]=Ekrano liniuotė
Name[lv]=Ekrāna mērlenta
Name[ms]=Pembaris Skrin
Name[nb]=Skjermlinjal
Name[nds]=Schirmlineaal
Name[ne]=पर्दा रूलर
Name[nl]=Schermliniaal
Name[nn]=Skjermlinjal
Name[pa]=ਸਕਰੀਨ ਰੀਡਰ
Name[pl]=Linijka ekranowa
Name[pt]=Régua do Ecrã
Name[pt_BR]=Régua da tela
Name[ro]=Riglă de ecran
Name[ru]=Экранная линейка KDE
Name[se]=Šearpmalinjála
Name[sk]=Pravítko obrazovky
Name[sl]=Zaslonsko ravnilo
Name[sv]=Skärmlinjal
Name[ta]=திரை உருளை
Name[tg]=Ҷадвали экрании KDE
Name[th]=ไม้บรรทัดบนหน้าจอ
Name[tr]=Ekran Cetveli
Name[uk]=Лінійка екрана
Name[uz]=Ekran lineykasi
Name[uz@cyrillic]=Экран линейкаси
Name[vi]=Thước đo màn hình
Name[zh_CN]=屏幕标尺
Name[zh_HK]=螢幕尺規
Name[zh_TW]=螢幕尺規
GenericName=Screen Ruler
GenericName[af]=Skerm Liniaal
GenericName[bg]=Линийка за екрана
GenericName[ca]=Regla de pantalla
GenericName[cs]=Obrazovkové pravítko
GenericName[cy]=Mesurydd Sgrîn
GenericName[da]=Skærmlineal
GenericName[de]=Bildschirmlineal
GenericName[el]=Χάρακας οθόνης
GenericName[eo]=Ekrana liniilo
GenericName[es]=Regla para la pantalla
GenericName[et]=Ekraani joonlaud
GenericName[eu]=Pantaila erregela
GenericName[fa]=خط‌کش پرده
GenericName[fi]=Näyttöviivain
GenericName[fr]=Règle d'écran
GenericName[ga]=Rialóir Scáileáin
GenericName[gl]=Regra de pantalla
GenericName[he]=סרגל מסך
GenericName[hi]=स्क्रीन मापनी
GenericName[hr]=Ravnalo
GenericName[hu]=Képernyővonalzó
GenericName[is]=Reglustika
GenericName[it]=Righello per lo schermo
GenericName[ja]=スクリーンルーラー
GenericName[kk]=Экран өлшегіші
GenericName[km]=បន្ទាត់​អេក្រង់
GenericName[ko]=화면 자
GenericName[lt]=Ekrano liniuotė
GenericName[lv]=Ekrāna mērlenta
GenericName[ms]=Pembaris Skrin
GenericName[nb]=Skjermlinjal
GenericName[nds]=Schirmlineaal
GenericName[ne]=पर्दा रूलर
GenericName[nl]=Schermliniaal
GenericName[nn]=Skjermlinjal
GenericName[pa]=ਸਕਰੀਨ ਰੀਡਰ
GenericName[pl]=Linijka ekranowa
GenericName[pt]=Régua do Ecrã
GenericName[pt_BR]=Régua da tela
GenericName[ro]=Riglă de ecran
GenericName[ru]=Экранная линейка KDE
GenericName[se]=Šearpmalinjála
GenericName[sk]=Pravítko obrazovky
GenericName[sl]=Zaslonsko ravnilo
GenericName[sv]=Skärmlinjal
GenericName[ta]=திரை உருளை
GenericName[tg]=Ҷадвали экрании KDE
GenericName[th]=ไม้บรรทัดบนหน้าจอ
GenericName[tr]=Ekran Cetveli
GenericName[uk]=Лінійка екрана
GenericName[uz]=Ekran lineykasi
GenericName[uz@cyrillic]=Экран линейкаси
GenericName[vi]=Thước đo màn hình
GenericName[zh_CN]=屏幕标尺
GenericName[zh_HK]=螢幕尺規
GenericName[zh_TW]=螢幕尺規
Comment=Screen ruler for the GNOME desktop
Comment[fr]=Règle d'écran pour le bureau GNOME
Exec=gnome-screenruler
Icon=gnome-screenruler
Terminal=false
Type=Application
Categories=GNOME;GTK;Utility;
NotShowIn=KDE;

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.