Environmental variables - gpodder default folder [Solved]

Message
Author
User avatar
tascoast
Posts: 508
Joined: Sat Aug 06, 2011 4:58 am

Environmental variables - gpodder default folder [Solved]

#1 Post by tascoast »

Reading below I see Linux may vary in how and where the default location for gpodder (3.8.1 via Synaptic) downloads is specified.

I'm not sure if I should blunder in or where to look in MX-15b2 and if making such changes is OK, to direct gpodder to save in a folder on my data partition. I assume it's editing a path in a text file somewhere though, with luck.

Is anyone able to point me where I should be looking and if a simple edit as above is safe enough to do (as root perhaps)?

Perhaps there are other podcast applications I should consider, although this is for simple local radio podcast offerings, so it's nothing fancy required.

(Edit: the podcasts might actually be of some interest to browse so they are at http://www.abc.net.au/services/podcasting/ if so inclined)
ref:
http://wiki.gpodder.org/wiki/User_Manua ... references

Changing the downloads folder location and the gPodder Home folder

To change the download directory or gPodder Home, you can set one (or both) of these two environment variables:

GPODDER_HOME: Downloads will be saved in the folder "Downloads" inside the new Home folder you set
GPODDER_DOWNLOAD_DIR: Downloads will be saved directly in the folder you specify (which does not have to be in the gPodder Home folder)

There are various ways of setting these variables, depending on your distro/operating system and on the version of gPodder you are using.
Default settings

Here are the default download folder locations:

Linux/FreeBSD/Mac OS X: ~/gPodder/Downloads/
Windows: Selected via a dialog on first start (use the start menu item "gPodder (set download folder)" to change it)
MeeGo 1.2 Harmattan (N9): /home/user/MyDocs/gPodder/Downloads/

If $GPODDER_HOME is not set, it defaults to ~/gPodder/. The settings and database files will always be stored in $GPODDER_HOME.
Session-wide changes on Ubuntu Linux

With gPodder 3.3.0 (and also 3.4.0) in Ubuntu (at least 12.10 and 13.04), you can't change the environment variables for gPodder Home and for the download directory through Preferences > Edit config (see bug 1718). One thing you can do instead is this:

Open a terminal
Type: gedit ~/.pam_environment

A text file will open up (it could well be empty). Add one or two of the following lines (depending on whether you want to change both these variables or just one):

GPODDER_HOME=[path to directory you want to use] - eg. GPODDER_HOME=/media/BigDisk/Podcasts/
GPODDER_DOWNLOAD_DIR=[path to directory you want to use]

If you are using Kubuntu, you must do the following :

Open a terminal
Type : kate ~/.kde/env/setgpodder.sh

An empty text file will open (you can name it whatever you want instead of setgpodder,it could be gpodderdirs, etc). Add one or two of the following lines (depending on whether you want to change both these variables or just one):


GPODDER_HOME=[path to directory you want to use] - eg. GPODDER_HOME=/media/BigDisk/Podcasts/
GPODDER_DOWNLOAD_DIR=[path to directory you want to use]

Read more on persistent environment variables in Ubuntu: https://help.ubuntu.com/community/Envir ... _variables

Edit:
**Concluded manual management is the simplest way to go
Inspiron 15 5000-5593- (i7-1065G7) MX 23..2 AHS/MX-21//W10 - Lenovo ThinkCentre A58 4GBRAM (64-bit), MX-23.2/MX21.3./antiX 23/Mint 21.3, Ubuntu 22.04.4, openSUSE Tumbleweed,

Dangbert
Posts: 18
Joined: Wed Nov 06, 2019 12:49 pm

Re: Environmental variables - gpodder default folder [Solved]

#2 Post by Dangbert »

I am using MX 19.3, fully updated and somehow my downloads started going to my home directory rather than downloads.

Typing "gedit -./pam_environment sounds good and the easy way to go. One tiny problem, when I type the line I get "bash gedit not found.

Where to from here?

User avatar
Jerry3904
Administrator
Posts: 23344
Joined: Wed Jul 19, 2006 6:13 am

Re: Environmental variables - gpodder default folder [Solved]

#3 Post by Jerry3904 »

Install gedit, or use the default featherpad.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Post Reply

Return to “General”