From ArchWiki
Latest comment: 22 April by Mattalexx in topic Page references old config keys

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

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)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]

Page references old config keys

The page references old config keys like modi (modes in current version, 1.7.5-2). Considering the old config keys still work in commands and config, I assume the developers' intention was to simply deprecate them, but the rofi -dump-config command is no longer aware of them. Mattalexx (talk) 18:37, 22 April 2024 (UTC)Reply[reply]