This commit is contained in:
olli 2024-10-02 17:50:42 +02:00
parent f2689fa3c4
commit 588e4b076a
2 changed files with 8 additions and 5 deletions

View File

@ -62,15 +62,15 @@
group: users
groups: sudo,adm,audio,video,games,input,render,netdev
- name: Raspi /boot/config.txt comment dtoverlay=vc4-kms-v3d
- name: Raspi /boot/firmware/config.txt comment dtoverlay=vc4-kms-v3d
replace:
path: /boot/config.txt
path: /boot/firmware/config.txt
regexp: '(^dtoverlay=vc4-kms-v3d$)'
replace: '#\1'
- name: Raspi /boot/firmware/config.txt
blockinfile:
path: /boot/config.txt
path: /boot/firmware/config.txt
insertafter: EOF
marker: "# {mark} ANSIBLE MANAGED BLOCK"
block: |
@ -120,7 +120,7 @@
greeter-show-manual-login=true
allow-guest=false
xserver-command=X -core -dpi 96
autologin-user=pi
autologin-user=user
backup: yes
notify:
- Restart lightdm

View File

@ -56,6 +56,9 @@ debian.ansible.whoogle
bash install.sh
systemctl set-default graphical.target
# Personal settings with .xsessionrc
sudo cat <<EOF >/home/pi/.xsessionrc
#!/bin/bash
@ -117,7 +120,7 @@ dconf write /org/cinnamon/theme/name "'Linux Mint'"
[ -x ~/.xsessionrc.followup ] && ~/.xsessionrc.followup
gnome-terminal --hide-menubar --title=share.sh --maximize -- ~/share.sh
#gnome-terminal --hide-menubar --title=share.sh --maximize -- ~/share.sh
EOF