With a login manager
To start/select Notion from most login managers, a standard .desktop file can be created in the /usr/share/xsessions/ directory. An example notion.desktop file can be found below:
[Desktop Entry] Name=Notion Comment=This session logs you into Notion Exec=/usr/bin/notion TryExec=/usr/bin/notion Icon= Type=XSession
See the display manager article for more details.
You can start Notion from the command line by adding
exec notion to ~/.xinitrc or any other startup script you may want to use. An example .xinitrc file can be found below.
DEFAULT_SESSION=notion case $1 in awesome) exec awesome ;; notion) exec notion ;; openbox) exec openbox-session ;; *) exec $DEFAULT_SESSION ;; esac
You can view Notion's man page at any time during use by pressing the F1 key and pressing the return key This will tell you the default key bindings for Notion. You can also access the man page for other programs this way by pressing F1, typing in the program's name and pressing return.
You should replace 'gfind' to 'gmatch' because of 'gfind' was removed
'goto' is a keyword now. You can use following workaround:
function win_goto(w) return w['goto'](w) end ... win_goto(win)