Sitelet https://github.com/gpodder/gpodder/issues/1558
Skip to content

When setting the preferred Home and the Download directory in Arch Linux the ~ appears to not be parsed correctly #1558

Description

@rsramkis

Hi,

In Arch Linux I setup a ~/.config/environment.d/envvars.conf file to store the preferred HOME and Download Directories.

Example of the failing envvars.conf file:

GPODDER_HOME=~/.config/gPodder
GPODDER_DOWNLOAD_DIR=~/Music/Podcasts

After I re-login into Gnome on Arch linux so the envvars.conf setting can be initialized I noticed gPodder cannot find my preferred HOME or DOWNLOAD directories.

When I use the ~ this is what I see:

  1. When I run gPodder from command line:
❯ gpodder
Storing data in /home/rsruser/~/.config/gPodder (GPODDER_HOME is set)
Storing downloads in ~/Music/Podcasts (GPODDER_DOWNLOAD_DIR is set)

image

  1. You will see in the test users home directory a folder called "~" get created.

If I change the envvars.conf file to the explicit names of the home directory then gPodder can find the preferred HOME and DOWNLOAD directories.

Example of the working envvars.conf file:

GPODDER_HOME=/home/testuser/.config/gPodder
GPODDER_DOWNLOAD_DIR=/home/testuser/Music/Podcasts

Environment Details:

OS: EndeavourOS Linux x86_64 
Kernel: 6.5.3-zen1-1-zen
Shell: zsh 5.9
DE: GNOME 44.5
WM: Mutter 

*Note:

  • gPodder is a packaged installed from the Arch Repository and not a Flatpak.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions