[GH-ISSUE #959] Incorrect default location for config file when using snap #418

Open
opened 2026-02-28 14:49:02 +03:00 by kerem · 1 comment
Owner

Originally created by @MNolan147 on GitHub (Mar 8, 2022).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/959

I created a config file in the location "~/snap/spt/current/.config/spotify-tui/config.yml" which is stated to be the default location for snap installations. I tried to start the program by running the command "spt" but, it said "~/snap/spt/current/.config/spotify-tui/config.yml". When running the command "spt --config '/snap/spt/current/.config/spotify-tui/config.yml'" it worked fine.

Does the default directory need to be changed for snap installations?

Originally created by @MNolan147 on GitHub (Mar 8, 2022). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/959 I created a config file in the location "\~/snap/spt/current/.config/spotify-tui/config.yml" which is stated to be the default location for snap installations. I tried to start the program by running the command "spt" but, it said "~/snap/spt/current/.config/spotify-tui/config.yml". When running the command "spt --config '/snap/spt/current/.config/spotify-tui/config.yml'" it worked fine. Does the default directory need to be changed for snap installations?
Author
Owner

@DJTai commented on GitHub (Jun 7, 2022):

@MNolan147 - did the client.yml and .spotify_token_cache.json get generated to that location? I tested a snap install on another machine & those files got auto-generated for me which makes me think the default location is fine.

I also copied the example config to the ~/snap/spt/current/.config/spotify-tui directory & verified it worked.

Any other info you could provide that may be helpful?

<!-- gh-comment-id:1149189059 --> @DJTai commented on GitHub (Jun 7, 2022): @MNolan147 - did the `client.yml` and `.spotify_token_cache.json` get generated to that location? I tested a snap install on another machine & those files got auto-generated for me which makes me think the default location is fine. I also copied the [example config](https://github.com/Rigellute/spotify-tui#configuration=) to the `~/snap/spt/current/.config/spotify-tui` directory & verified it worked. Any other info you could provide that may be helpful?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#418
No description provided.