Skip to content

Missing opening brace in default cfg/ragnar.cfg breaks config parsing (syntax error at line 553) #72

Description

@Dagob-at-Duck

The default config shipped at cfg/ragnar.cfg (installed to /etc/ragnarwm/ragnar.cfg by make install) has a missing opening brace, which causes libconfig to fail parsing on a completely fresh install.

Location: cfg/ragnar.cfg, around line 552-553:

  {
    mod = "%mod_key";
    key = "KeyC";
    do = "reloadconfigfile";
  },
    key = "KeyAudioLowerVolume";
    do  = "runcmd";
    cmd = "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-";
  },

The KeyAudioLowerVolume block is missing its opening {. This causes:

ragnar: /etc/ragnarwm/ragnar.cfg:553 - syntax error

and the WM exits immediately, bouncing straight back to the display manager's login screen with no other indication of what went wrong (X session ends after ~2 seconds).

Fix: add the missing brace:

  {
    mod = "%mod_key";
    key = "KeyC";
    do = "reloadconfigfile";
  },
  {
    key = "KeyAudioLowerVolume";
    do  = "runcmd";
    cmd = "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-";
  },

Environment: Ubuntu 26.04, built from the main branch tarball, following the README's install steps.

Happy to open a PR with this one-line fix if that's preferred over an issue.

Reported by @Dagob-at-Duck

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions