I tried to reproduce this on my end using Ubuntu 26.04 and tmux 3.6a-2
(from the apt archive, not the snap), but it seems to be working
perfectly.

I set up a quick ~/.config/tmux/tmux.conf with a very obvious change
(set -g status-bg red) and made sure I didn't have a legacy ~/.tmux.conf
sitting in my home directory. When I started tmux, it picked up the XDG
config right away.

Since native XDG support was added way back in tmux 3.2, any recent
Ubuntu release should read from $XDG_CONFIG_HOME/tmux/tmux.conf without
any issues.

To help narrow down why it's failing on your machine, could you double-
check a few things?

    Versions: What Ubuntu release are you on, and what does tmux -V
output?

    Legacy config: Do you have an old ~/.tmux.conf lying around? tmux
actually prioritizes the home directory file over the XDG path, so if
that file exists, it will completely ignore your .config setup.

    Environment variables: Is $XDG_CONFIG_HOME set to something specific
on your system?

** Changed in: tmux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2147550

Title:
  Tmux opening is not reading XDG Base Directory spec
  .config/tmux/tmux.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tmux/+bug/2147550/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to