Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207088 - x11-wm/icewm - firefox entry isn't included into the IceWM menu
Summary: x11-wm/icewm - firefox entry isn't included into the IceWM menu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-22 22:26 UTC by Imre Péntek
Modified: 2013-09-06 21:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
uhu-menu ebuild (uhu-menu-0.67.ebuild,1.04 KB, text/plain)
2008-09-07 17:15 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Imre Péntek 2008-01-22 22:26:47 UTC
I emerge firefox, and it doesn't appears in my IceWM menu, however xterm, xchat was automatically added.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-22 22:29:13 UTC
Bug 205133 sounds like a lot better solution... ;)
Comment 2 Imre Péntek 2008-01-22 23:21:28 UTC
I don't have any gnome packages, anyways if xterm and xchat can create its entry automatically, firefox can also do it.
Comment 3 tannhauser 2008-01-25 01:34:20 UTC
If i remember correctly, icewm has a preconfigured menu file. Program entries are only shown if the program is in either $PATH or given with its full path. So to correct you, xterm and xchat are not automatically added, but automatically shown - i hope you see the difference. 
As i can't check right now, i only can suppose that that entry doesn't fit the name or path  to firefox(-bin) in gentoo. 
Comment 4 Imre Péntek 2008-01-26 08:38:27 UTC
I supposed there are some sort of auto-inclusion or something, the truth is that executables named xterm and xchat (and others, like mozilla, not firefox) are enumerated into the menu file /usr/share/icewm/menu no matter if they are actually installed. By the way any entry will be visible only if they finally get installed. Well, I'll search for a solution not requiring gnome (nor KDE) packages this day later.
Comment 5 tannhauser 2008-01-26 15:05:13 UTC
Yes, as long as you don't use your own ~/.icewm/menu, /usr/share/icewm/menu is used, which lacks an entry for firefox. To fix this for firefox, an entry like
prog Firefox firefox firefox
should do it. Perhaps someone can put together a more complete default
menu that gets installed in /usr/share/icewm/? 
Comment 6 Imre Péntek 2008-01-26 16:14:59 UTC
(In reply to comment #5)
Perhaps someone can put together, but it wouldn't be an ultimate solution, it would be better to generate the menufile, or auto-insert new entries upon successful emerge.

UHU-Linux ships menuentries in a common menufile format, very similar to files used by KDE/Gnome, and translates to actual menufile(s) by uhu-menu, gpl source: ftp://ftp.uhulinux.hu/pub/sources/uhu-menu/
as output it can create files for many desktop environments: KDE, Gnome, IceWM, and more: full list can be found in output directory.
Has some coding docs in doc directory in English, and has some general info in README.html in Hungarian... will translate it to English if you are interested in it.
no libs required, I like it ;)
Comment 7 Steve Dibb (RETIRED) gentoo-dev 2008-04-14 03:08:57 UTC
(In reply to comment #5)
> Perhaps someone can put together a more complete default
> menu that gets installed in /usr/share/icewm/? 

I think that would be a nice touch to go ahead and improvise and add some commonly-used apps.

Any other suggestions for menu entries?

Comment 8 David Shakaryan (RETIRED) gentoo-dev 2008-04-24 08:31:26 UTC
I actually oppose such a solution. Due to the way IceWM seems to handle menu entries, I'm afraid creating a large file would create unnecessary overhead, as it would require a file check for each individual entry. (or so I would believe. :p)

I have nothing against automatic menu generation, but I don't think this is something for us to do. It should be done by either a separate package or upstream (although it seems icewm does have a gnome-dependent option). I see no need to deviate from the sample menu supplied by upstream. If it were up to me, I would close this as UPSTREAM.

If a more complete menu file is created, I would suggest at least keeping the option of using the original, via a USE flag or something.

Thanks you! :)
Comment 9 Steve Dibb (RETIRED) gentoo-dev 2008-04-24 17:34:07 UTC
Yah, we can have a 'branding' use flag similar to KDE and the likes, where we add in our custom changes to make it uber-sexy. :)
Comment 10 René Rhéaume (a.k.a. repzilon, rener) 2008-09-07 17:15:10 UTC
Created attachment 164832 [details]
uhu-menu ebuild

I just created an ebuild for uhu-menu. I tried to generate an icewm menu from my KDE menu with but all I got was an empty file. It does not like locales.gen as it reports lots of "locale ${locale} not supported". It does even like the C locale!
Comment 11 Imre Péntek 2008-09-08 06:49:55 UTC
uhu-menu uses files similar but not the same as KDE. uhu-menu is capable of generating kde, gnome, IceWM (and so on?) menu entries (even if they are separate files, or not), from uhu-menu files.
Comment 12 Pacho Ramos gentoo-dev 2013-09-06 21:18:50 UTC
+*icewm-1.3.7-r1 (06 Sep 2013)
+
+  06 Sep 2013; Pacho Ramos <pacho@gentoo.org> +files/icewm,
+  +files/icewm-1.3.7-configurenotify.patch, +files/icewm-1.3.7-deprecated.patch,
+  +files/icewm-1.3.7-dso.patch, +files/icewm-1.3.7-menuiconsize.patch,
+  +files/icewm-1.3.7-thermal.patch, +files/icewm-defaults.patch,
+  +files/icewm-fribidi.patch, +files/icewm-keys.patch, +files/icewm-menu.patch,
+  +files/icewm-startup, +files/icewm-toolbar.patch, +files/icewm-wmclient.patch,
+  +files/icewm-xdg-menu, +icewm-1.3.7-r1.ebuild:
+  Use Fedora patches to fix a lot if bugs, also menu handling. Fix thermal
+  information handling (#452730 by Dag Bakke).
+

I finally have menu entries in icewm :)