Difference between revisions of "Notion"

From ArchWiki
Jump to: navigation, search
m (add ja link)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
[[Category:Tiling WMs]]
 
[[Category:Tiling WMs]]
 +
[[ja:Notion]]
 
[http://notion.sf.net Notion] is a tiling, tabbed [[window manager]] for X.
 
[http://notion.sf.net Notion] is a tiling, tabbed [[window manager]] for X.
  
 
==Installation==
 
==Installation==
  
Install {{Pkg|notion}} from the  [[Official Repositories]].
+
[[Install]] {{Pkg|notion}}.
  
 
==Starting Notion==
 
==Starting Notion==
  
You can start Notion from the command line by adding {{Ic|exec notion}} to ~/.xinitrc or any other startup script you may want to use.  An example .xinitrc file can be found below.
+
===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.
 +
 
 +
===With xinitrc===
 +
 
 +
You can start Notion from the command line by adding {{Ic|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
 
  DEFAULT_SESSION=notion
Line 29: Line 46:
  
 
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 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.
 +
 +
== Lua 5.2 ==
 +
=== gfind ===
 +
You should replace 'gfind' to 'gmatch' because of 'gfind' was removed
 +
=== goto ===
 +
'goto' is a keyword now. You can use following workaround:
 +
 +
replace
 +
  win:goto()
 +
to
 +
  function win_goto(w) return w['goto'](w) end
 +
  ...
 +
  win_goto(win)
  
 
==See also==
 
==See also==

Latest revision as of 18:31, 5 January 2016

Notion is a tiling, tabbed window manager for X.

Installation

Install notion.

Starting Notion

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.

With xinitrc

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

Using Notion

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.

Lua 5.2

gfind

You should replace 'gfind' to 'gmatch' because of 'gfind' was removed

goto

'goto' is a keyword now. You can use following workaround:

replace

 win:goto()

to

 function win_goto(w) return w['goto'](w) end
 ...
 win_goto(win)

See also