From: Arnout E. <no...@bz...> - 2011-08-30 21:15:10
|
On Thu, Aug 25, 2011 at 12:23:01PM +0200, Wojtek Aniszewski wrote: > I've been using ion3 for at least 2 years on Ubuntu. Having changed > Ubuntu do Debian lately, the change of ion3 to NotIon followed > naturally. Welcome! > Now the problem is, I have had few things fixed up in old ion3 > system-wide configs and they were removed with the old system. > 1. What is the actual path notion searches when I hit F3 and type a > command? I'm pretty sure it is not the $PATH set in .bashrc, as I have > things there (such as a script-containing dir) that are not found by > notion in "Run:" prompt. 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? > 2. The debian menu issue. In cfg_ioncore.lua (which I inherited from > ion3 and keep using along with rest of my configs) I had these > directives: > > dopath("debian-menu-i18n") > dopath("debian-menu") > > which, as I understood "had something to do" with debian app menu > available when pressing F12. (I have old-style fold out-menu, not > queries). I also prefer the old-style menu. Perhaps we should consider making that the default again? > Now, as some of you may alreasy be guessing, Notion screams > at startup: > > Notion startup error log: > >> Unable to find 'debian-menu-i18n' on search path. > >> Unable to find 'debian-menu' on search path. > > This error was remedied in goodold ion3 by creating symbolic links > within ion3 /etc/X11/ion3 directory like: > debian-menu-i18n.lua -> /var/lib/ion3/debian-menu-i18n.lua > > Needless to say I can't do it without even having ion3:), nor the > files debian-menu-i18n.lue etc. which are NOT shipped with notion. So > what to do? 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 |