From: Wojtek A. <pen...@gm...> - 2011-08-31 06:08:29
|
---------- Forwarded message ---------- From: Wojtek Aniszewski <pen...@gm...> Date: 2011/8/31 Subject: Re: [Notion-general] the path notion searches for "run:", debian menu To: 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. > > So you want to set your $PATH before the window manager is started. This is > unfortunately a bit messy. As far as I know most Display Managers (like GDM) > will process your ~/.profile , so you'll want to put your code extending the > $PATH in your ~/.profile. Bash, however, only reads your ~/.profile when there > is no ~/.bash_profile or ~/.bash_login - so you'll either have to remove your > ~/.bash_profile and ~/.bash_login, or add '. ~/.profile' to ~/.bash_profile. > > We need a user manual where we document stuff like this. I guess the wiki > would be the proper place? Yes, I have already sort of tackled this by using advice from Patrick Bachmann (pat...@rw...), from whom I've received a reply, although he's not on the list. Therefore I attach his message below. Patrick suggested my .xinitrc may be read (apparently, it's not), or that I modify global (system-wide) path. It's not a particularly elegant solution, but that's what I did. I agree that changing .profile should be a better solution and I will test it. On the other hand, it would seem reasonable for Notion to look at user's .bashrc, don't you agree? > 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:) Well, it's a matter of uncommenting two lines in cfg_notion.lua, so not a problem if/when one knows where to look. > > 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. > > > Arnout > 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). 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. Regarding issue two: 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 Regarding issue one: I suppose that it is taken from your .xinitrc or the global one. Greetings, Patrick ------------------------------------------ -- Pentahedron - A polyhedron having five faces. Because there are two pentahedral graphs, there are two convex pentahedra, namely the square pyramid and the triangular prism. The triangular prism is the unique convex pentahedra having unit edge lengths. (Eric W. Weisstein. "Pentahedron." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Pentahedron.html) -- Pentahedron - A polyhedron having five faces. Because there are two pentahedral graphs, there are two convex pentahedra, namely the square pyramid and the triangular prism. The triangular prism is the unique convex pentahedra having unit edge lengths. (Eric W. Weisstein. "Pentahedron." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Pentahedron.html) |