The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 10,129     Votes:  2 
Tags: 18.04   environment-variables   gnome-session  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

URL: https://askubuntu.com/q/1102976
Title: Messed up my PATH environment variable and can't login to desktop
ID: /2018/12/19/Messed-up-my-PATH-environment-variable-and-can_t-login-to-desktop
Created: December 19, 2018
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Enter this command:

nano /etc/environment

Make the first line read:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:"

Press Ctrl+O to save the file.

Press Ctrl+X to exit.

Type reboot to restart your computer.

⇧ How can I prevent line wrapping and instead allow horizontal scrolling in Gedit? Ubuntu 18.10 external monitor with intel graphics  ⇩