Tiling tabbed window manager, http://notion.sourceforge.net/
C Lua Shell HTML Makefile C++ Other
Latest commit 23f6ace Jan 17, 2017 @raboof committed on GitHub Merge pull request #36 from gwash/master
Added Subtle(wm)-like window management to contrib scripts
Permalink
Failed to load latest commit information.
build Cleanup: strip whitespace from lua files Nov 20, 2016
contrib Added Subtle(wm)-like window management to contrib scripts Jan 17, 2017
de Cleanup: whitespace Dec 13, 2016
etc Cleanup: strip whitespace from lua files Nov 20, 2016
ioncore Cleanup: whitespace Dec 13, 2016
libextl Cleanup: whitespace Dec 13, 2016
libmainloop Cleanup: whitespace Dec 13, 2016
libtu Cleanup: whitespace Dec 13, 2016
man The default modifier key is now Mod4 (windows key) not Mod1 May 26, 2014
mod_dock Cleanup: whitespace Dec 13, 2016
mod_menu Cleanup: whitespace Dec 13, 2016
mod_notionflux Cleanup: whitespace Dec 13, 2016
mod_query Cleanup: whitespace Dec 13, 2016
mod_sm Cleanup: whitespace Dec 13, 2016
mod_sp Cleanup: whitespace Dec 13, 2016
mod_statusbar Cleanup: whitespace Dec 13, 2016
mod_tiling Cleanup: whitespace Dec 13, 2016
mod_xinerama Cleanup: whitespace Dec 13, 2016
mod_xkbevents Correct missing parens and confusing logical op Nov 16, 2016
mod_xrandr Cleanup: whitespace Dec 13, 2016
notion Cleanup: whitespace Dec 13, 2016
po Spell 'serialize' with a 'z' May 18, 2014
test Cleanup: whitespace Dec 13, 2016
utils Cleanup: whitespace Dec 13, 2016
.gitignore Try running tests on travis Nov 12, 2016
.travis.yml Try running tests on travis Nov 12, 2016
CHANGELOG Add changelog May 27, 2014
LICENSE updated license to the update Tuomo Valkonen made on 2009/09/02 Jan 22, 2014
Makefile Include net_client_list in default configuration (closes #19) Jun 12, 2016
README.md Mark dead link as outdated Sep 16, 2016
config.h Use C-style comments rather than C++-style Apr 12, 2014
install-sh trunk: changeset 1188 Jan 14, 2004
ion_changelog.txt renamed RELNOTES to indicate what it is May 26, 2014
modulelist.mk (not)ionflux submodule May 10, 2012
nextversion.sh Introduce 'make dist' as a './predist.sh' replacement Mar 2, 2013
system-autodetect.mk Closes issue #9 - Apply patch suggested by @xmw Aug 20, 2015
version.h Released version 3-2015061300 Jun 13, 2015

README.md

Notion

Build Status

Copyright (c) the Notion team 2010-2015. Copyright (c) Tuomo Valkonen 1999-2009.

http://notion.sf.net

Building and installing

See also:

https://sourceforge.net/apps/mediawiki/notion/index.php?title=Development

  1. Get the source code. git clone git://notion.git.sourceforge.net/gitroot/notion/notion

  2. In addition to the standard C library headers and the GNU toolchain, you will need the following tools and libraries for building Notion.

    If you want to build the mod_xinerama and mod_xrandr module, which provide enhanced multihead support, you will further need the following libraries.

    On a Debian based system, these dependencies are provided by the following packages. build-essential lua5.1 liblua5.1-0-dev libx11-dev libxext-dev libsm-dev gettext libxinerama-dev libxrandr-dev

  3. If the default build settings don't suit you, review system-autodetect.mk and either override values from the environment or in a newly added system-local.mk or make changes directly to system-autodetect.mk.

  4. If you want to build some extra modules now or do not want to build some of the standard modules, edit modulelist.mk.

  5. Run make. Note that make here refers to GNU make which is usually named gmake on systems with some other implementation of make as default.

  6. Run make install, as root if you set $PREFIX in system.mk to a directory that requires those privileges.

    YOU SHOULD NOT SKIP THIS STEP unless you know what you are doing. Notion will refuse to start if it can not find all the necessary uncorrupt configuration files either in $PREFIX/etc/notion/ or in ~/.notion/.

  7. How to best set up startx or whatever to start Notion instead of your current window manager depends on your system's setup. A good guess is creating or modifying an executable shell script .xsession in your home directory to start Notion. This should usually (but not always) work if you're using some X display/login manager. If ~/.xsession does not help and you're not using a display manager, modifying ~/.xinitrc or creating one based on your system's xinitrc (wherever that may be; use locate) may be what you need to do. Note that unlike .xsession, a .xinitrc should usually do much more setup than simply start a few programs of your choice.

Some optional installation steps

  1. The F5 and F6 keys expect to find the program run-mailcap to select a program to view a file based on its guessed MIME type. Unless you are using Debian, most likely you don't have it, but any other similar program (or just plain old text editor) will do as well -- just modify the bindings in cfg_notioncore.lua. Of course, if you don't want to use the feature at this time or never, you may simply skip this step. If you want to use run-mailcap, it can be found from the following address, as a source tarball as well:

    http://www.debian.org/Packages/unstable/net/mime-support.html

  2. Notion supports caching known man-pages in a file for faster man-page completion in the F1 man page query. To enable this feature, you must periodically run a cronjob to build this list. To create a system-wide man page cache, run crontab -e (might vary depending on platform) as root and enter a line such as follows:

    15 05 * * * $SHAREDIR/ion-completeman -mksyscache
    

    Replace $SHAREDIR with the setting from system.mk. This example runs daily at 05:15, but you may modify the run times to your needs; see the crontab manual.

    If you can't or do not want to build a system-wide man page cache, run crontab -e as your normal user and replace -mksyscache with -mkusercache above. The cache file will be ~/.notion/mancache.

    It may also be useful to run ion-completeman with the suitable -mk*cache argument once manually to build the initial cache.

    If the MANPATH environment variable is not set on your system and it does not have the manpath command (or it does not print anything sensible), you may also want to set the ION_MANPATH environment variable to the list of paths where the system stores manual pages.

Configuration

For help on modifying Notion's configuration files, PLEASE READ THE DOCUMENT "Configuring and extending Notion with Lua" available from the Notion web page, listed at the top of this file.

Questions, comments, problems?

If the available documentation does not answer your question, please post it to the mailing list. Details can be found on the Notion web page listed at the top of this file.

Credits

Notion was written by the Notion team, based on Ion which was written by Tuomo Valkonen.

The dock module was written by Tom Payne and Per Olofsson.

utils/ion-completefile/ion-completefile.c is based on editline, (c) 1992 Simmule Turner and Rich Salz. See the file for details.

The code that de/fontset.c is based on seems to have been originally written by Tomohiro Kubota, but see the file for details.

Various (minor) patches have been contributed by other individuals unlisted here. See the mailing list archives and the darcs source repository history (previously at http://iki.fi/tuomov/repos/). For translators see the individual .po files in po/.

The code in de/unicode' (producingde/precompose.c') is taken from xterm.

See libtu/README for code by others integrated into libtu.