rofi設定ファイルはどこにありますか?

rofi設定ファイルはどこにありますか?

rofi設定ファイルはどこにありますか?さまざまなマニュアル/ヘルプファイルがすべて間違っています。 /etc/rofi.rasiと呼ばれますが、私のシステムにファイルがありません。また、 ~/.config/rofi は空です。 XDG_CONFIG_HOME変数が設定されていません。

明らかに、rofiは実行時に何十ものアプリをリストしているので、どこかでアプリ情報を取得しています。問題は、この情報をどこで入手できるかということです。

ここで私が尋ねる「設定」情報は、rofiがアプリケーションを起動するために使用するアプリケーション起動コマンドです。実行しているアプリケーションの名前をどのように知って、コマンドラインから実行しますか?メニューの色などのUI構成設定について尋ねるものではありません。

私のrofiアクティベーションバインディングは次のとおりです。

$menu rofi 設定 -show run

ベストアンサー1

rofi -show run以下から実行可能ファイルのリストを取得します$PATH

   run
       Shows a list of executables in  $PATH  and  can  launch  them  (optional  in  a  terminal).   Pressing  the  delete-entry  binding
       (shift-delete)  will  remove  this  entry from the run history.  Pressing the accept-custom binding (control-enter or shift-enter)
       will run the command in a terminal.

(rofiのマニュアルページから)。

rofi設定ファイルはどこにありますか?さまざまなマニュアル/ヘルプファイルがすべて間違っています。

まだプロファイルを作成していない場合は、プロファイルがなく、rofiはデフォルト設定を使用します。次のコマンドを実行して、これらの設定を含む設定ファイルを生成できますrofi -dump-config

       NOTE: In version 1.4.0 we support configuration in a new format, a config for this can be generated by: rofi -dump-config  >  con‐
       fig.rasi
[...]
       -dump-config

       Dump the current active configuration, in rasi format, to stdout and exit.  Information about the rasi format can be found in  the
       rofi-theme(5) manpage.

(また、マニュアルページから)。

おすすめ記事