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

View File

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