![[E7965D0E-9910-4CBB-A685-3A5FC003D78C_1_105_c.jpeg]]
## Configuration File
### .profile
This file is sourced upon system login so normally it should only be executed once upon a successful login into the system.
These profile files `.[zx]profile` can also just point to where you want the real file content to be such as
`$HOME/.xprofile`:
```
.config/x11/xprofile
```
because this file is run once on system login it should also be the trigger to start the graphical environment in the tty.
## XDG
- <https://wiki.archlinux.org/title/XDG_Base_Directory>
---
| XDG Variable | Reference Location |
| ----------------- | -------------------- |
| `XDG_CONFIG_HOME` | `$HOME/.config` |
| `XDG_CACHE_HOME` | `$HOME/.cache` |
| `XDG_DATA_HOME` | `$HOME/.local/share` |
| `XDG_STATE_HOME` | `$HOME/.local/state` |
| | |