Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 45439  / 3 Years ago, wed, july 21, 2021, 4:06:51

I was searching for login screens like mac and I got this one



MAC OSX LOGIN SCREEN



I did everything correctly and suddenly I was told to edit



/etc/lightdm/lightdm.conf


I opened the file in gedit and I changed it but I couldn't save it - I got the error "you do not have permission to edit this file". I saw from the permissions that only root has permission to edit it, so I ran



sudo su 


which logged me in as root, but I was still not able to complete the edit.



How can I edit and save this file?


More From » permissions

 Answers
3

You can use gedit or nano (among others) as below



sudo nano /etc/lightdm/lightdm.conf
sudo -H gedit /etc/lightdm/lightdm.conf


Then Ctrl+S for gedit or Ctrl+O for name to save your edits.



Either will do fine, the only difference is that nano is a terminal-based editor while gedit has its own GUI.


[#26369] Friday, July 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oleard

Total Points: 344
Total Questions: 105
Total Answers: 113

Location: Bonaire
Member since Tue, Sep 20, 2022
2 Years ago
oleard questions
Mon, Sep 26, 22, 18:21, 2 Years ago
Mon, Nov 1, 21, 21:27, 3 Years ago
Sat, May 7, 22, 20:47, 2 Years ago
Sun, Oct 2, 22, 01:10, 2 Years ago
;