「Notion」の版間の差分
ナビゲーションに移動
検索に移動
(en:Notionへの転送ページ) |
Kusakata.bot (トーク | 投稿記録) 細 (文字列「http://sourceforge.net/」を「https://sourceforge.net/」に置換) |
||
| (他の1人の利用者による、間の1版が非表示) | |||
| 1行目: | 1行目: | ||
| + | [[Category:タイル型ウィンドウマネージャ]] |
||
| − | #redirect[[en:Notion]] |
||
| + | [[en:Notion]] |
||
| + | [http://notion.sf.net Notion] は X のタイル型・タブ式[[ウィンドウマネージャ]]です。 |
||
| + | |||
| + | ==インストール== |
||
| + | |||
| + | {{Pkg|notion}} を[[インストール]]してください。 |
||
| + | |||
| + | ==Notion の起動== |
||
| + | |||
| + | ===ログインマネージャを使う=== |
||
| + | |||
| + | ログインマネージャから Notion を起動・選択するには、{{ic|/usr/share/xsessions/}} ディレクトリに標準の .desktop ファイルを作成します。以下が {{ic|notion.desktop}} ファイルの例です: |
||
| + | |||
| + | [Desktop Entry] |
||
| + | Name=Notion |
||
| + | Comment=This session logs you into Notion |
||
| + | Exec=/usr/bin/notion |
||
| + | TryExec=/usr/bin/notion |
||
| + | Icon= |
||
| + | Type=XSession |
||
| + | |||
| + | 詳しくは[[ディスプレイマネージャ]]の記事を見てください。 |
||
| + | |||
| + | ===xinitrc を使う=== |
||
| + | |||
| + | {{Ic|exec notion}} を [[xinitrc|~/.xinitrc]] などのスタートアップスクリプトに追加することでコマンドラインから Notion を起動することができます。以下が .xinitrc ファイルの例になります: |
||
| + | |||
| + | DEFAULT_SESSION=notion |
||
| + | case $1 in |
||
| + | awesome) |
||
| + | exec awesome |
||
| + | ;; |
||
| + | notion) |
||
| + | exec notion |
||
| + | ;; |
||
| + | openbox) |
||
| + | exec openbox-session |
||
| + | ;; |
||
| + | *) |
||
| + | exec $DEFAULT_SESSION |
||
| + | ;; |
||
| + | esac |
||
| + | |||
| + | ==Notion を使う== |
||
| + | |||
| + | F1 キーを押してからリターンキーを押すことで Notion の man ページをいつでも閲覧することが可能です。Notion のデフォルトのキーバインドが書かれています。また、同じように、F1 を押してからプログラムの名前を入力してリターンで、他のプログラムの man ページを見ることができます。 |
||
| + | |||
| + | == Lua 5.2 == |
||
| + | === gfind === |
||
| + | 'gfind' は削除されたので 'gfind' を 'gmatch' に置き換えて下さい。 |
||
| + | === goto === |
||
| + | 'goto' は予約語です。以下のように書き換えてください: |
||
| + | |||
| + | 以下を: |
||
| + | win:goto() |
||
| + | 以下に: |
||
| + | function win_goto(w) return w['goto'](w) end |
||
| + | ... |
||
| + | win_goto(win) |
||
| + | |||
| + | ==参照== |
||
| + | *https://sourceforge.net/apps/mediawiki/notion/index.php?title=Tour - Tour of Notion |
||
| + | *http://notion.sourceforge.net/notionconf/ - Configuring and Extending Notion using LUA |
||
| + | *https://sourceforge.net/apps/mediawiki/notion - Notion Wiki |
||
2018年2月6日 (火) 23:10時点における最新版
Notion は X のタイル型・タブ式ウィンドウマネージャです。
目次
インストール
Notion の起動
ログインマネージャを使う
ログインマネージャから Notion を起動・選択するには、/usr/share/xsessions/ ディレクトリに標準の .desktop ファイルを作成します。以下が notion.desktop ファイルの例です:
[Desktop Entry] Name=Notion Comment=This session logs you into Notion Exec=/usr/bin/notion TryExec=/usr/bin/notion Icon= Type=XSession
詳しくはディスプレイマネージャの記事を見てください。
xinitrc を使う
exec notion を ~/.xinitrc などのスタートアップスクリプトに追加することでコマンドラインから Notion を起動することができます。以下が .xinitrc ファイルの例になります:
DEFAULT_SESSION=notion
case $1 in
awesome)
exec awesome
;;
notion)
exec notion
;;
openbox)
exec openbox-session
;;
*)
exec $DEFAULT_SESSION
;;
esac
Notion を使う
F1 キーを押してからリターンキーを押すことで Notion の man ページをいつでも閲覧することが可能です。Notion のデフォルトのキーバインドが書かれています。また、同じように、F1 を押してからプログラムの名前を入力してリターンで、他のプログラムの man ページを見ることができます。
Lua 5.2
gfind
'gfind' は削除されたので 'gfind' を 'gmatch' に置き換えて下さい。
goto
'goto' は予約語です。以下のように書き換えてください:
以下を:
win:goto()
以下に:
function win_goto(w) return w['goto'](w) end ... win_goto(win)
参照
- https://sourceforge.net/apps/mediawiki/notion/index.php?title=Tour - Tour of Notion
- http://notion.sourceforge.net/notionconf/ - Configuring and Extending Notion using LUA
- https://sourceforge.net/apps/mediawiki/notion - Notion Wiki