Talk:Rofi

From ArchWiki
Latest comment: 15 September 2021 by Rjt in topic Configuration

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.

Configuration

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)Reply[reply]

I suspect it's just old information, but it also exists in the README.md 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)Reply[reply]
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)Reply[reply]
UPDATE - they have pulled the changes to their readme Benoliver999 (talk) 20:43, 3 February 2018 (UTC)Reply[reply]
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)Reply[reply]