From: Arnout E. <no...@bz...> - 2011-08-31 08:36:47
|
On Wed, Aug 31, 2011 at 08:08:06AM +0200, Wojtek Aniszewski wrote: > Arnout Engelen <no...@bz...> > > This script actually does look at the $PATH. However, this is probably the > > active $PATH at the time notion is started - which is likely not from bash, > > so indeed your .bashrc is probably not processed yet. > > Yes, I have already sort of tackled this by using advice from Patrick > Bachmann (pat...@rw...) Great > On the other hand, it would seem reasonable for Notion to look at > user's .bashrc, don't you agree? No - i think the only program that should look at ~/.bashrc should be bash :). I wonder if there'd be an elegant way to leave the completion up to bash, we want to replace the current logic anyway (due to old licensing issues). > > I also prefer the old-style menu. Perhaps we should consider making that the > > default again? > > Way to go, if two people like it, it's almost a global tendention:) I was hoping to provoke some more reactions ;). > Well, it's a matter of uncommenting two lines in cfg_notion.lua, so > not a problem if/when one knows where to look. True, but I want us to deliver a default configuration that is as complete and newbie-friendly as possible. A menu seems more newbie-friendly ;). Indeed users who want the other behavior can get it quite easily. > > Notion configuration is backwards-compatible with ion3 configuration, so you > > could probably get the debian-menu-i18n.lua from ion3 and use it in Notion. > > > > Can you test that? We should consider shipping it with Notion. > > Thanks. well, as a matter of fact, my answer may suprise you: I know > it can be done but I can not test that:) More specifically: "I know it > can be done" - since I've done this exact thing in ubuntu, when I > first switched to Notion out of curiosity (and found no differencies > between it and ion3). Indeed notion is mostly ion3 with some bugfixes at this point. > So I know the files can be copied and it works. > But "I can not test that", because ion3 does not ship in debian, at > least not it wheezy/testing which I'm using. > The email of Patrick Bachmann (cited below for the convenience of the > list readers) mentions this matter. However, Patrick's advice requires > some work which I yet have to perform, so it's not tested yet. > > Regards > Wojtek > > Patrick-Bachmann-writes:------------------ > Hello Wojtek, > > I'm not subscribed to the list and mailing you directly. Feel free > to share the content of this mail with the list. Hello Patrick, Thanks for responding. I can probably whitelist your email address so you can reply to the list without being subscribed. I think you can just send to the list and I'll be able to fix this through the mailman interface. > There is no debian-menu.lua file distributed with Debian. > It is generated on-the-fly by software from the package 'menu'. > Following this link should tell you, I suppose, how to let menu > know that ion is there and the syntax for the menu-file to be > generated: > > http://patch-tracker.debian.org/package/ion3 > > especially look at this large patch: > > http://patch-tracker.debian.org/patch/debianonly/view/ion3/20080825-1 Interesting. We should definitely see if/how we can package this with notion, or find another way to query the Debian menu. The freedesktop.org menu and the Debian menu are still not kept in sync, are they? Kind regards, Arnout |