auto login

This commit is contained in:
Aliberk Sandıkçı 2023-10-23 20:33:44 +03:00
parent 7d19a79d64
commit a33b3baa23
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
2 changed files with 8 additions and 2 deletions

View File

@ -12,6 +12,7 @@ wget -qO- https://raw.githubusercontent.com/asandikci/iflbot-setup/main/install.
- Install Apps: VSCodium, Sublime Text, Xournal++
- Dark Theme
- Panel Settings: 28px
- Auto Login for user
### Compatibility
- Pardus 23.0 XFCE
@ -20,7 +21,6 @@ wget -qO- https://raw.githubusercontent.com/asandikci/iflbot-setup/main/install.
- GNU GPLv3+
### TODO
- [ ] AUTO LOGIN BOT USER
- [ ] Sublime Build Configs
---
@ -31,6 +31,7 @@ wget -qO- https://raw.githubusercontent.com/asandikci/iflbot-setup/main/install.
- [ ] Firefox Change Search Engine
- [ ] Firefox Auto Import Certificate
- [ ] Firefox Alt+Tab Last Viewed
- [ ] Dark Theme Problems? Refresh?
---
@ -42,6 +43,7 @@ wget -qO- https://raw.githubusercontent.com/asandikci/iflbot-setup/main/install.
- [ ] Auto Dimming 2H
- [ ] Add Apps to Panel: VSCodium, SublimeText, Firefox, File Explorer
- [ ] Also Favorite
- [ ] Disable root login
---
- [ ] Create Settings file (json?) for easy editing configs, apps etc. manually

View File

@ -1,4 +1,8 @@
#!/bin/bash
# root configs
# NOT IPLEMENTED YET, see ./../README.md
### LIGHTDM
# Auto Login
user=$([ -n "$SUDO_USER" ] && echo "$SUDO_USER" || echo "$USER")
sed -i -e "/autologin-user=/ s/= .*/=${user}/" /usr/share/lightdm/lightdm.conf.d/99-pardus-lightdm-greeter-autologin.conf