OpenBox Menu Generator

Can you tell me where I can get support?

Asked by alleyoopster on 2011-04-01

Hi, I am looking for support for obmenugen. Basically it is not returning anything when passed --pipe.

$ obmenugen --pipe
Information (i18n): Detected LOCALES: en_ZA.UTF-8, en_ZA, en.

Information (i18n): Translations file for current LOCALES not found.
                    Going with default (English) messages.

Version 0.4.3-1
x86_64
Arch Linux

I have the same version running on another machine without a problem

kind regards,

Dan

Question information

Language:
English Edit question
Status:
Solved
For:
OpenBox Menu Generator Edit question
Assignee:
No assignee Edit question
Solved by:
alleyoopster
Solved:
2011-04-01
Last query:
2011-04-01
Last reply:
alleyoopster (alleyoopster) said : #1

If I temporarily rename /usr/share/applications running the same command works. Is a way to debug the program to find out what Desktop item is causing the problem.

thanks in advance for any contributions

alleyoopster (alleyoopster) said : #2

At the end of "strace obmenugen" I found the problem. Deleting /usr/share/applications/VirtualBox.desktop solved it and all works now.

open("/usr/share/applications/pcmanfm.desktop", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2187, ...}) = 0
read(3, "[Desktop Entry]\nType=Application"..., 2188) = 2187
read(3, "", 1) = 0
close(3) = 0
open("/usr/share/applications/VirtualBox.desktop", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0xf74ac000, 1048576) = 0
exit_group(1)

This is a good way to get support, don't you think? Anyway, you have done a great job tracing down the problem and solving it. The information you provided could help a lot of people facing the same problem, since founding a bad formatted .desktop could be really a pain in the ... ;-)

Thanks a lot for your info