From ArchWiki

according to the latest rofi doc page, config file location is as below . i don't understand why the wiki specify the .local folder as the suggested location, as I've never used it before for configs (i may just be uninformed). anyway this is not a huge diff but posting here for consideration.


There are currently three methods of setting configuration options (evaluated in order below):

  • System configuration file (for example `/etc/rofi.conf`).
  • Xresources: A method of storing key values in the Xserver.
  • Rasi theme file: The new *theme* format can be used to set configuration values.
  • Configuration File: This uses the same format as the Xresources file. By default it looks in `XDG_USER_CONFIG_DIR`/rofi/config, but can be overridden on commandline. By default XDG_USER_CONFIG_DIR defaults to `$HOME/.config`. (See `rofi -h` for current location). This is the recommended way of configuring **rofi**.
  • Command-line options: Arguments passed to **rofi**.

Yair (talk) 11:21, 3 February 2018 (UTC)

I suspect it's just old information, but it also exists in the on the github page. Perhaps it's best to test if a config in .local/ etc is still even read, and if not just replace the info.
As far as I know using .local in this way is not good contemporary practice.
Rjt (talk) 12:09, 3 February 2018 (UTC)
I read and followed the docs and even then put it in ~/.config instead of ~/.local out of sheer habit - didn't even catch the error!
I have tested it in ~/.local and it doens't work, so I'm going to edit the wiki page and ask them about it over at GH.
Benoliver999 (talk) 13:18, 3 February 2018 (UTC)
UPDATE - they have pulled the changes to their readme Benoliver999 (talk) 20:43, 3 February 2018 (UTC)
Update: .XResources config now no longer works. .rasi (CSS-like) is recommended, as launch flags are limited. Rjt (talk) 15:49, 15 September 2021 (UTC)