New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

counsel-linux-app barfs on desktop file without Name #446

Closed
jferguson-gnubio opened this Issue Mar 18, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@jferguson-gnubio

jferguson-gnubio commented Mar 18, 2016

I have my-weather-indicator installed (Ubuntu 14.04), and running M-z counsel-linux-app for me fails with the message:

"eq: File /usr/share/applications/extras-my-weather-indicator.desktop has no Name"

And then doesn't run.

Oddly, the file does have a Name entry. I suspect it's failing in some other way and the messages is a secondary symptom.

I'll add the .desktop file contents below

@jferguson-gnubio

This comment has been minimized.

jferguson-gnubio commented Mar 18, 2016

Name[zh_TW] = My-Weather-Indicator
Name[tr] = Hava durumu göstergem
Name[he] = My-Weather-Indicator
Name[ms] = Petunjuk Cuaca Saya
Name[gl] = My-Weather-Indicator
Name[bg] = My-Weather-Indicator
Name[vi] = Dự báo thời tiết
Name[be] = My-Weather-Indicator
Name[es] = My-Weather-Indicator
Name[lv] = Mans-Meteoroloģiskais-Indikātors
Name[ca@valencia] = My-Weather-Indicator
Name[eu] = My-Weather-Indicator
Name[cs] = My-Weather-Indicator
Name[pt_BR] = My-Weather-Indicator
Name[ca] = El meu indicador del clima
Name[pl] = My-Weather-Indicator
Name[sv] = Min-Väder-Indikator
Name[sl] = My-Weather-Indicator
Name[hu] = My-Weather-Indicator
Name[fi] = Sääindikaattori
Name[nl] = My-Weather-Indicator
Name[ml] = My-Weather-Indicator
Name[fr] = My-Weather-Indicator
Name[en_GB] = My-Weather-Indicator
Name[hr] = Moj indikator vremena
Name[ja] = お天気インジケーター
Name[ta] = My-Weather-Indicator
Name[hi] = मेरा मौसम सूचक
Name[ber] = My-Weather-Indicator
Name[lt] = Orų informacija
Name[pt] = My-Weather-Indicator
Name[el] = My-Weather-Indicator
Name[sr@latin] = My-Weather-Indicator
Name[ru] = My-Weather-Indicator
Name[it] = My-Weather-Indicator
Name[si] = මාගේ-කාලගුණ-දර්ශකය
Name[en_AU] = My-Weather-Indicator
Name[uk] = My-Weather-Indicator
Name[eo] = My-Weather-Indicator
Name[en] = My-Weather-Indicator
Name[et] = My-Weather-Indicator
Name[zh_CN] = My-Weather-Indicator
Name[de] = My-Weather-Indicator
Name[te] = My-Weather-Indicator
Name[ro] = My-Weather-Indicator
Name[is] = My-Weather-Indicator
Name[ko] = 내 날씨 알리미
Name[sr] = Мој-показивач-времена
Name[ar] = مؤشر الطقس
Name[sk] = My-Weather-Indicator
GenericName[zh_TW] = My-Weather-Indicator
GenericName[tr] = Hava durumu göstergem
GenericName[he] = My-Weather-Indicator
GenericName[ms] = Petunjuk Cuaca Saya
GenericName[gl] = My-Weather-Indicator
GenericName[bg] = My-Weather-Indicator
GenericName[vi] = Dự báo thời tiết
GenericName[be] = My-Weather-Indicator
GenericName[es] = My-Weather-Indicator
GenericName[lv] = Mans-Meteoroloģiskais-Indikātors
GenericName[ca@valencia] = My-Weather-Indicator
GenericName[eu] = My-Weather-Indicator
GenericName[cs] = My-Weather-Indicator
GenericName[pt_BR] = My-Weather-Indicator
GenericName[ca] = El meu indicador del clima
GenericName[pl] = My-Weather-Indicator
GenericName[sv] = Min-Väder-Indikator
GenericName[sl] = My-Weather-Indicator
GenericName[hu] = My-Weather-Indicator
GenericName[fi] = Sääindikaattori
GenericName[nl] = My-Weather-Indicator
GenericName[ml] = My-Weather-Indicator
GenericName[fr] = My-Weather-Indicator
GenericName[en_GB] = My-Weather-Indicator
GenericName[hr] = Moj indikator vremena
GenericName[ja] = お天気インジケーター
GenericName[ta] = My-Weather-Indicator
GenericName[hi] = मेरा मौसम सूचक
GenericName[ber] = My-Weather-Indicator
GenericName[lt] = Orų informacija
GenericName[pt] = My-Weather-Indicator
GenericName[el] = My-Weather-Indicator
GenericName[sr@latin] = My-Weather-Indicator
GenericName[ru] = My-Weather-Indicator
GenericName[it] = My-Weather-Indicator
GenericName[si] = මාගේ-කාලගුණ-දර්ශකය
GenericName[en_AU] = My-Weather-Indicator
GenericName[uk] = My-Weather-Indicator
GenericName[eo] = My-Weather-Indicator
GenericName[en] = My-Weather-Indicator
GenericName[et] = My-Weather-Indicator
GenericName[zh_CN] = My-Weather-Indicator
GenericName[de] = My-Weather-Indicator
GenericName[te] = My-Weather-Indicator
GenericName[ro] = My-Weather-Indicator
GenericName[is] = My-Weather-Indicator
GenericName[ko] = 내 날씨 알리미
GenericName[sr] = Мој-показивач-времена
GenericName[ar] = مؤشر الطقس
GenericName[sk] = My-Weather-Indicator
Comment[zh_TW] = 天氣指示器
Comment[tr] = Hava durumu gösterge uygulaması
Comment[he] = אינדיקטור מזג אוויר
Comment[ms] = Petunjuk ramalan cuaca
Comment[gl] = Un indicador do clima
Comment[bg] = Индикатор за синоптична прогноза
Comment[vi] = Một chỉ báo thời tiết
Comment[be] = Індыкатар надвор'я
Comment[es] = Un indicador del clima
Comment[lv] = Meteoroloģiskais indikators
Comment[ca@valencia] = Un indicador del clima
Comment[eu] = Eguraldiaren adierazle
Comment[cs] = Indikátor počasí
Comment[pt_BR] = Um Indicador Meteorológico
Comment[ca] = Un indicador del temps
Comment[pl] = Powiadomienie o pogodzie
Comment[sv] = En väderindikator
Comment[sl] = Prikazovalnik vremena
Comment[hu] = Időjárás jelző
Comment[fi] = Sääilmaisin
Comment[nl] = Een weerindicator
Comment[ml] = A weather indicator
Comment[fr] = Un indicateur météo
Comment[en_GB] = A weather indicator
Comment[hr] = Indikator vremena
Comment[ja] = お天気インジケーター
Comment[ta] = A weather indicator
Comment[hi] = एक मौसम सूचक
Comment[ber] = A weather indicator
Comment[lt] = Orų indikatorius bei prognozė
Comment[pt] = Um indicador do Estado do Tempo
Comment[el] = Δείκτης καιρού
Comment[sr@latin] = A weather indicator
Comment[ru] = Индикатор погоды
Comment[it] = Un indicatore meteo
Comment[si] = කාලගුණ දර්ශකයකි
Comment[en_AU] = A weather indicator
Comment[uk] = Індикатор погоди
Comment[eo] = A weather indicator
Comment[en] = A weather indicator
Comment[et] = Ilmaindikaator
Comment[zh_CN] = 天气指示器
Comment[de] = Eine Wetteranzeige
Comment[te] = ఒక వాతావరణ సూచకం
Comment[ro] = Un indicator de vreme
Comment[is] = Veðurspá
Comment[ko] = 날씨 알리미
Comment[sr] = Показивач времена
Comment[ar] = مؤشر طقس
Comment[sk] = Indikátor počasia

@jferguson-gnubio

This comment has been minimized.

jferguson-gnubio commented Mar 18, 2016

Ah, got it - it doesn't like the whitespace around the = in Name =. If I edit it to remove the whitespace, c-l-a is happy.

@abo-abo abo-abo closed this in a6cd189 Mar 18, 2016

@abo-abo

This comment has been minimized.

Owner

abo-abo commented Mar 18, 2016

Thanks, should be fixed now.

I wrote the function ad-hoc, it works with most of my desktop files. But the spec does allow spaces around =, although they're rare.

@jferguson-gnubio

This comment has been minimized.

jferguson-gnubio commented Mar 18, 2016

Awesome, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment