Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Rofiのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Rofi
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
{{DISPLAYTITLE:rofi}} [[Category:アプリケーションランチャー]] [[en:Rofi]] {{Related articles start}} {{Related|アプリケーション一覧/その他#アプリケーションランチャー}} {{Related articles end}} [https://github.com/DaveDavenport/rofi Rofi] は [https://github.com/seanpringle/simpleswitcher simpleswitcher] のクローンとして [https://github.com/seanpringle Sean Pringle] によって開発が始まり [https://github.com/DaveDavenport Dave Davenport] によって拡張されたウィンドウスイッチャ・実行ダイアログ・SSH ランチャです。[[dmenu]] を置き換えることができます。 == インストール == [[公式リポジトリ]]から {{Pkg|rofi}} を[[インストール]]してください。 == 設定 == 現在、オプションを設定する方法が三つあります。 * ローカル設定。通常、XDGにより {{ic|~/.config/rofi/config.rasi}} にあります。 * Xresources: X サーバーにキー値を格納する方法です。 * コマンドラインオプション {{Note|Xresources 形式は rofi 1.6.0 より廃止されており、いつでも動作しなくなる可能性があります。}} そのため、 $ rofi -combi-modi window,drun,ssh -theme solarized -font "hack 10" -show combi は、このような設定ファイルで表せます(新しいテーマ形式): configuration { modi: "window,drun,ssh,combi"; theme: "solarized"; font: "hack 10"; combi-modi: "window,drun,ssh"; } {{ic|config.rasi}} ファイルのオプション一覧を取得するには {{ic|rofi -dump-config}} を実行してください。{{ic|rofi -dump-config > ~/.config/rofi/config.rasi}} を実行し、直接あなたの {{ic|config}} ファイルに書き込むことができます。 {{Note|i3 の設定にカンマを入れると問題が発生する可能性があるので注意してください。キーをバインドして rofi を起動するには、設定ファイルを使用するか、カンマを {{ic|#}} で置き換えてください。例:{{ic|rofi -combi-modi window#drun#ssh}}}} === アイコン === アイコンを使用して、対応するエントリとともに表示することができます。 {{pkg|papirus-icon-theme}} がインストールされ、 {{ic|-show-icons}} を使用し、{{ic|-icon-theme}} でアイコンテーマを定義している場合は、次の操作を実行することで、rofi表示アイコンを使用できます。 $ rofi -combi-modi window,drun,ssh -theme solarized -font "hack 10" -show combi -icon-theme "Papirus" -show-icons ==Rofi を dmenu の代替として使う== Rofi を [[dmenu]] の代わりとして使いたい場合、以下のコマンドを使用します: rofi -show run -modi run -location 1 -width 100 \ -lines 2 -line-margin 0 -line-padding 1 \ -separator-style none -font "mono 10" -columns 9 -bw 0 \ -disable-history \ -hide-scrollbar \ -color-window "#222222, #222222, #b1b4b3" \ -color-normal "#222222, #b1b4b3, #222222, #005577, #b1b4b3" \ -color-active "#222222, #b1b4b3, #222222, #007763, #b1b4b3" \ -color-urgent "#222222, #b1b4b3, #222222, #77003d, #b1b4b3" \ -kb-row-select "Tab" -kb-row-tab "" {{Tip|上記のコマンドに {{ic|-dump-xresources}} フラグを追加して、出力されたテキストをファイルに保存して [https://davedavenport.github.io/rofi/p11-Generator.html 公式テーマジェネレータ] にアップロードすることでさらなるカスタマイズができます。}} {{Note|コマンドラインオプションの {{ic|-show run}} と {{ic|-modi run}} によって Rofi は [[dmenu]] によって提供されている {{ic|dmenu_run}} と同じように動作しますが、Rofi の機能は制限されます。モードについて詳しくは {{ic|man rofi}} や [https://github.com/DaveDavenport/rofi 公式のプロジェクトの説明] を見てください。}} ==Execute shell commands from rofi== If you want the ability to run shell commands or use your own scripts directly from rofi with seeing the output, then ensure following: * configure the PATH variable in {{ic|~/.profile}} (instead of e.g. {{ic|~/.bashrc}}) and then logout and re-login to your window manager/desktop environment * define {{ic|-run-shell-command '{terminal} -e \\"{cmd}; read -n 1 -s"'}}. This allows you to enter the command on the inputbar followed by SHIFT+ENTER. The terminal stays open until the next keypress. This is an example with the recommended escaping sequence for i3: bindsym $mod+d exec --no-startup-id "rofi -show drun -font \\"DejaVu 9\\" -run-shell-command '{terminal} -e \\" {cmd}; read -n 1 -s\\"'" == カスタムテーマ == 以下のコマンドで rofi のテーマのプレビューと適用ができます rofi-theme-selector カスタマイズは、{{ic|~/.config/rofi/config.rasi}} ファイル に保存されます。 ===Contributed Themes=== Rofiにはいくつかの公式テーマが付属しており、[https://github.com/DaveDavenport/rofi-themes rofi-themes] リポジトリにはさらに多くのユーザーテーマがあります。 Load up an official theme, or download a .rasi user theme and place it in {{ic|~/.config/rofi/example.rasi}} on the command line or in a config file: rofi <options> -theme example or in your configuration file theme: "example";
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Related articles start
(
ソースを閲覧
)
テンプレート:Man
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Related
(
ソースを閲覧
)
テンプレート:Related articles end
(
ソースを閲覧
)
テンプレート:Related articles start
(
ソースを閲覧
)
Rofi
に戻る。
検索
検索
Rofiのソースを表示
話題を追加