FG
💻 Software

How can I set environment variables for a graphical login on linux?

Fresh5 days ago
Mar 15, 202621194 views
Confidence Score0%
0%

Problem

I'm looking for a way to set arbitrary environment variables for my graphical login on linux. I am not talking about starting a terminal and exporting environment variables within the terminal, because those variables only exist within that one terminal. I want to know how to set an environment var…

Error Output

~/.bash_login

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I set environment variables for a graphical login on linux?

Low Risk

You can always put them in , so they should apply for any login. Problems occur however, if a exists: In that case, bash won't read . If you want your variables from to apply both in bash and for other logins, don't use ! Put bash specific variables…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment