wayland -> X11

This commit is contained in:
olli 2024-10-07 15:47:50 +02:00
parent 9057cafdef
commit 5f99c3062d

112
kodi.yml
View File

@ -7,31 +7,25 @@
apt: apt:
name: name:
# # share desk # # share desk
# - x11vnc - x11vnc
# tools for android-smartphones/LineageOS # tools for android-smartphones/LineageOS
- heimdall-flash - heimdall-flash
- adb - adb
- fastboot - fastboot
- mkbootimg - mkbootimg
# desktop specific # desktop specific
# - cinnamon - cinnamon-desktop-environment
# - cinnamon-l10n - cinnamon-l10n
# - gnome-terminal - gnome-terminal
# - lightdm
# - xserver-xorg
# - xinit
# - x11-xserver-utils
# - dbus-x11
- dconf-cli - dconf-cli
- dphys-swapfile - dphys-swapfile
# - lightdm-autologin-greeter
- tsdecrypt - tsdecrypt
- x264 - x264
- x265 - x265
- flatpak - flatpak
- ttf-mscorefonts-installer - ttf-mscorefonts-installer
- fonts-terminus - fonts-terminus
# - mint-y-icons - mint-y-icons
# kodi # kodi
- kodi21 - kodi21
- kodi21-pvr-iptvsimple - kodi21-pvr-iptvsimple
@ -46,14 +40,12 @@
- unadf - unadf
- bvi - bvi
- fdupes - fdupes
# - radeontop
- debootstrap - debootstrap
- geoip-bin - geoip-bin
- sshfs - sshfs
- speedtest-cli - speedtest-cli
- gnome-characters - gnome-characters
# - bluetooth - blueman
# - blueman
# dconf-gui # dconf-gui
- dconf-editor - dconf-editor
# Media # Media
@ -63,7 +55,7 @@
- easytag - easytag
- audacity - audacity
- asunder - asunder
# - mediathekview - mediathekview
- audacious - audacious
- guvcview - guvcview
- easyeffects - easyeffects
@ -96,14 +88,6 @@
# - tv.kodi.Kodi # - tv.kodi.Kodi
# state: present # state: present
# method: system # method: system
#
# - name: Create pi User
# ansible.builtin.user:
# name: pi
# comment: pi
# uid: 1100
# group: users
# groups: sudo,adm,audio,video,games,input,render,netdev
# - name: Raspi /boot/firmware/config.txt comment dtoverlay=vc4-kms-v3d # - name: Raspi /boot/firmware/config.txt comment dtoverlay=vc4-kms-v3d
# replace: # replace:
@ -145,47 +129,47 @@
# dtoverlay=vc4-kms-v3d,cma-256 # dtoverlay=vc4-kms-v3d,cma-256
# - name: lightdm.conf - name: lightdm.conf
# blockinfile: blockinfile:
# path: /etc/lightdm/lightdm.conf path: /etc/lightdm/lightdm.conf
# create: yes create: yes
# mode: "0444" mode: "0444"
# owner: root owner: root
# group: root group: root
# insertafter: "#exit-on-failure=false" insertafter: "#exit-on-failure=false"
# marker: "# {mark} ANSIBLE MANAGED BLOCK" marker: "# {mark} ANSIBLE MANAGED BLOCK"
# block: | block: |
# session-wrapper=/etc/X11/Xsession session-wrapper=/etc/X11/Xsession
# user-session=cinnamon user-session=cinnamon
# autologin-session=cinnamon autologin-session=cinnamon
# greeter-session=lightdm-autologin-greeter greeter-session=lightdm-autologin-greeter
# greeter-hide-users=false greeter-hide-users=false
# 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=user autologin-user=user
# backup: yes backup: yes
# notify: notify:
# - Restart lightdm - Restart lightdm
#
# - name: 'add lightdm to startup' - name: 'add lightdm to startup'
# command: systemctl enable lightdm command: systemctl enable lightdm
# args: args:
# creates: /etc/systemd/system/display-manager.service creates: /etc/systemd/system/display-manager.service
- name: 'remove smartmontools from startup' - name: 'remove smartmontools from startup'
command: systemctl disable smartmontools command: systemctl disable smartmontools
args: args:
removes: /etc/systemd/system/smartd.service removes: /etc/systemd/system/smartd.service
# - name: "Get current systemd default" - name: "Get current systemd default"
# command: "systemctl get-default" command: "systemctl get-default"
# changed_when: false changed_when: false
# register: systemdefault register: systemdefault
#
# - name: "Set default to graphical target" - name: "Set default to graphical target"
# command: "systemctl set-default graphical.target" command: "systemctl set-default graphical.target"
# when: "'graphical' not in systemdefault.stdout" when: "'graphical' not in systemdefault.stdout"
- name: Allow port 8080 for remote control - name: Allow port 8080 for remote control
community.general.ufw: community.general.ufw:
@ -194,10 +178,10 @@
proto: tcp proto: tcp
# handlers: handlers:
#
# - name: Restart lightdm - name: Restart lightdm
# service: service:
# name: lightdm name: lightdm
# state: restarted state: restarted