Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Guakeのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Guake
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ターミナルエミュレータ]] [[de:Guake]] [[en:Guake]] [[ru:Guake]] {{Related articles start}} {{Related|GNOME}} {{Related articles end}} [http://guake-project.org/ Guake] は [[GNOME]] のトップダウン型ターミナルです ([[KDE]] の [[Yakuake]] や [[Tilda]]、Quake で使われているターミナルと同じスタイル)。 == インストール == [[公式リポジトリ]]の {{Pkg|guake}} を[[インストール]]してください。 == 使用方法 == インストールしたら、ターミナルから次のコマンドを実行することで Guake を起動できます: $ guake guake を起動したらインターフェイスを右クリックして ''Preferences'' を選択することでターミナルを自動的にドロップするホットキーを変更できます。デフォルトでは {{ic|F12}} に設定されています。 また、''apps > guake'' の ''gconf-editor'' ツールで Guake の様々な設定を変更できます。''guake'' の実行ファイル ({{ic|/usr/bin/guake}}) を {{ic|/usr/local/bin/guake}} にコピーしてテキストエディタで編集することもできます。中身は [[Python]] スクリプトです。ファイルをコピーしたら実行可能属性を付与してください。 == 自動起動 == デスクトップ環境が起動するときに Guake がロードされるようにしたい場合、次を実行してください: # cp /usr/share/applications/guake.desktop /etc/xdg/autostart/ 詳しくは[[自動起動]]を参照。 == Guake スクリプト == [[Yakuake]] と同じように、Guake でも [[D-Bus]] のメッセージを送信することで制御ができます。Guake をユーザー定義セッションで起動することが可能です。ターミナルからコマンドを実行したりカスタムスクリプトを作成することで、タブを作成して名前を割り当てたり、開かれたタブで特定のコマンドを実行したり、Guake のウィンドウの表示・非表示を切り替えたりすることができます。 このセクションの下の方にサンプルスクリプトを記載しています。 ''guake'' の実行ファイルを使って D-Bus メッセージを送ることもできます。以下は利用可能なオプションの一覧です: * {{ic|-t}}, {{ic|--toggle-visibility}} — ターミナルウィンドウの表示を切り替えます。{{ic|guake}} とだけ入力することで、起動中のインスタンスの表示・非表示が切り替わります。 * {{ic|-f}}, {{ic|--fullscreen}} — Guake をフルスクリーンモードにする。 * {{ic|--show}} — Guake のメインウィンドウを表示。 * {{ic|--hide}} — Guake のメインウィンドウを非表示にする。 * {{ic|-n ''CUR_DIR''}}, {{ic|1=--new-tab=''CUR_DIR''}} — 新しいタブを作成して選択。{{ic|CUR_DIR}} でタブのカレントディレクトリを指定できます。 * {{ic|-s ''INDEX''}}, {{ic|1=--select-tab=''INDEX''}} — {{ic|INDEX}} 番目のタブを選択。タブの順番は 0 から始まります。 * {{ic|-g}}, {{ic|--selected-tab}} — 現在選択されているタブの順番を表示。 * {{ic|-e ''CMD''}}, {{ic|1=--execute-command=''CMD''}} — 選択したタブで任意のコマンド {{ic|CMD}} を実行。 * {{ic|-i ''INDEX''}}, {{ic|1=--tab-index=''INDEX''}} — {{ic|--rename-tab}} でタイトルを変更するタブのインデックス {{ic|INDEX}} を指定します。デフォルトの値は 0 です。 * {{ic|1=--rename-tab=''TITLE''}} — タブの名前を {{ic|TITLE}} に設定。シングルダッシュ ({{ic|"-"}}) を指定した場合はデフォルトの値にタイトルがリセットされます。{{ic|-i}} オプションでタイトルを変更するタブを指定します。 * {{ic|1=--bgcolor=''RGB''}} — 選択されたタブの背景色を16進数の色コード ({{ic|#rrggbb}}) で設定します。 * {{ic|1=--fgcolor=''RGB''}} — 選択されたタブの前景色を16進数の色コード ({{ic|#rrggbb}}) で設定します。 * {{ic|-r ''TITLE''}}, {{ic|1=--rename-current-tab=''TITLE''}} — {{ic|--rename-tab}} と同じように現在選択中のタブの名前を変更します。 * {{ic|-q}}, {{ic|--quit}} — 実行中の Guake インスタンスを終了。 複数のオプションを組み合わせて使用することもできます。guake のインスタンスが動作していない場合、指定されたオプションは全て新しく作成されたインスタンスに適用されます。 利用可能な全てのオプションを確認するには {{ic|guake --help}} と入力してください。 例: #!/bin/bash /usr/bin/guake & sleep 5 # let main guake process start and initialize D-Bus session # adjust tab which was opened by default guake --rename-tab="iotop" --execute="/usr/bin/iotop" # create new tab, start bash session in it guake --new-tab --execute="/usr/bin/bash" # and then execute htop, renaming the tab to "htop" guake --execute="/usr/bin/htop" --rename-current-tab="htop" # ... guake --new-tab --execute="/usr/bin/bash" guake --execute="/usr/bin/atop" --rename-current-tab="atop" guake --new-tab --execute="/usr/bin/bash" guake --execute="~/.iptables.sh" --rename-current-tab="iptables -nvL" guake --new-tab --execute="/usr/bin/bash" guake --execute="/usr/bin/journalctl --follow --full" --rename-current-tab="journalctl" guake --new-tab --execute="/usr/bin/bash" guake --execute="/usr/bin/irssi" --rename-current-tab="irssi" guake --new-tab --execute="/usr/bin/bash" guake --execute="/usr/bin/sudo -i" --rename-current-tab="rootshell0" guake --new-tab --execute="/usr/bin/bash" guake --execute="/usr/bin/sudo -i" --rename-current-tab="rootshell1" guake --new-tab --execute="/usr/bin/bash" guake --rename-current-tab="shell0" guake --new-tab --execute="/usr/bin/bash" guake --rename-current-tab="shell1" 実行中のインスタンスが競合状態にならないように ''sleep'' を実行していることに注意してください。 == マルチモニタで Guake を使う == Guake ウィンドウが表示される画面を変更できる GConf のオプションが2つ存在します: * {{ic|/apps/guake/general/display_n}} — 表示するディスプレイを指定。設定された値が不正な場合、自動的にプライマリスクリーンに設定されます。 * {{ic|/apps/guake/general/mouse_display}} — マウスがあるディスプレイに表示。{{ic|display_n}} の設定を上書きします。 ''gconf-editor'' などのツールを使って GConf オプションを編集してください。 == トラブルシューティング == === 'Ctrl' キーバインドの問題 === As of {{Pkg|guake}} 0.4.2-7 there has been a noted bug affecting multiple users concerning the use of the {{ic|Ctrl}} key to toggle Guake window visibility (i.e. users that setup {{ic|Ctrl+Shift+z}} to open the guake console are able to open it by just pressing {{ic|Shift+z}}, independent on whether {{ic|Ctrl}} key has been pressed). To solve the problem you should manually fix the value of the GConf key {{ic|/apps/guake/keybindings/global/show_hide}}. Open a ''gconf-editor'', navigate to ''apps > guake > keybindings > global > show_hide'' and replace {{ic|<Primary>}} with {{ic|<Control>}}. === フロート型ウィンドウマネージャの問題 === If you are using Tilda and a floating WM, you may find out that you can use class string "Tilda" to set the window keep floating. But that Guake's WM_CLASS(STRING)'s out put is "Main.py", so you should use "Main.py" to do this. For example, in i3wm, add this to your .i3/config: for_window [class="Main.py"] floating enable == 参照 == * [http://linux.die.net/man/1/guake man guake(1)] on die.net
このページで使用されているテンプレート:
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Related articles start
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Related
(
ソースを閲覧
)
テンプレート:Related articles end
(
ソースを閲覧
)
テンプレート:Related articles start
(
ソースを閲覧
)
テンプレート:Warning
(
ソースを閲覧
)
Guake
に戻る。
検索
検索
Guakeのソースを表示
話題を追加