Skip to content

Use XDG_CONFIG_HOME when creating welcome stubs in profile.d/toolbox.sh #1766

Closed

Description

@CrimsonVoid

Describe the bug
profile.d/toolbox.sh is hardcoded to look for welcome stubs in ~/.config which doesn't play nice if the user has set XDG_CONFIG_HOME to a different directory.

Steps how to reproduce the behaviour

  1. Set XDG_CONFIG_HOME to a non-default path (eg ~/.local/config)
  2. Create/enter a new toolbox
  3. Find welcome stubs in ~/.config/toolbox

Expected behaviour
Welcome files should be created relative to $XDG_CONFIG_HOME/toolbox

Actual behaviour
Welcome files were created in ~/.config/toolbox

Screenshots
n/a

Output of toolbox --version (v0.0.90+)
toolbox version 0.3

Toolbx package info (rpm -q toolbox)
toolbox-0.3-1.fc43.x86_64

Output of podman version

Client:        Podman Engine
Version:       5.7.1
API Version:   5.7.1
Go Version:    go1.25.4 X:nodwarf5
Git Commit:    f845d14e941889ba4c071f35233d09b29d363c75
Built:         Tue Dec  9 18:00:00 2025
Build Origin:  Fedora Project
OS/Arch:       linux/amd64

Podman package info (rpm -q podman)
podman-5.7.1-1.fc43.x86_64

Info about your OS
Fedora Silverblue 43

Additional context
n/a

Activity

  1. added
    1. Bug
    on Mar 5, 2026
  2. debarshiray commented on Jun 2, 2026

    @debarshiray
    Member

    @CrimsonVoid does the change in #1769 solve this issue for you?

  3. CrimsonVoid commented on Jun 6, 2026

    @CrimsonVoid
    Author

    Yes it does, thank you for adding this!

  4. debarshiray commented on Jun 9, 2026

    @debarshiray
    Member

    Yes it does, thank you for adding this!

    Thanks for the confirmation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions