wayland -> X11
This commit is contained in:
parent
9057cafdef
commit
5f99c3062d
112
kodi.yml
112
kodi.yml
@ -7,31 +7,25 @@
|
||||
apt:
|
||||
name:
|
||||
# # share desk
|
||||
# - x11vnc
|
||||
- x11vnc
|
||||
# tools for android-smartphones/LineageOS
|
||||
- heimdall-flash
|
||||
- adb
|
||||
- fastboot
|
||||
- mkbootimg
|
||||
# desktop specific
|
||||
# - cinnamon
|
||||
# - cinnamon-l10n
|
||||
# - gnome-terminal
|
||||
# - lightdm
|
||||
# - xserver-xorg
|
||||
# - xinit
|
||||
# - x11-xserver-utils
|
||||
# - dbus-x11
|
||||
- cinnamon-desktop-environment
|
||||
- cinnamon-l10n
|
||||
- gnome-terminal
|
||||
- dconf-cli
|
||||
- dphys-swapfile
|
||||
# - lightdm-autologin-greeter
|
||||
- tsdecrypt
|
||||
- x264
|
||||
- x265
|
||||
- flatpak
|
||||
- ttf-mscorefonts-installer
|
||||
- fonts-terminus
|
||||
# - mint-y-icons
|
||||
- mint-y-icons
|
||||
# kodi
|
||||
- kodi21
|
||||
- kodi21-pvr-iptvsimple
|
||||
@ -46,14 +40,12 @@
|
||||
- unadf
|
||||
- bvi
|
||||
- fdupes
|
||||
# - radeontop
|
||||
- debootstrap
|
||||
- geoip-bin
|
||||
- sshfs
|
||||
- speedtest-cli
|
||||
- gnome-characters
|
||||
# - bluetooth
|
||||
# - blueman
|
||||
- blueman
|
||||
# dconf-gui
|
||||
- dconf-editor
|
||||
# Media
|
||||
@ -63,7 +55,7 @@
|
||||
- easytag
|
||||
- audacity
|
||||
- asunder
|
||||
# - mediathekview
|
||||
- mediathekview
|
||||
- audacious
|
||||
- guvcview
|
||||
- easyeffects
|
||||
@ -96,14 +88,6 @@
|
||||
# - tv.kodi.Kodi
|
||||
# state: present
|
||||
# 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
|
||||
# replace:
|
||||
@ -145,47 +129,47 @@
|
||||
# dtoverlay=vc4-kms-v3d,cma-256
|
||||
|
||||
|
||||
# - name: lightdm.conf
|
||||
# blockinfile:
|
||||
# path: /etc/lightdm/lightdm.conf
|
||||
# create: yes
|
||||
# mode: "0444"
|
||||
# owner: root
|
||||
# group: root
|
||||
# insertafter: "#exit-on-failure=false"
|
||||
# marker: "# {mark} ANSIBLE MANAGED BLOCK"
|
||||
# block: |
|
||||
# session-wrapper=/etc/X11/Xsession
|
||||
# user-session=cinnamon
|
||||
# autologin-session=cinnamon
|
||||
# greeter-session=lightdm-autologin-greeter
|
||||
# greeter-hide-users=false
|
||||
# greeter-show-manual-login=true
|
||||
# allow-guest=false
|
||||
# xserver-command=X -core -dpi 96
|
||||
# autologin-user=user
|
||||
# backup: yes
|
||||
# notify:
|
||||
# - Restart lightdm
|
||||
#
|
||||
# - name: 'add lightdm to startup'
|
||||
# command: systemctl enable lightdm
|
||||
# args:
|
||||
# creates: /etc/systemd/system/display-manager.service
|
||||
- name: lightdm.conf
|
||||
blockinfile:
|
||||
path: /etc/lightdm/lightdm.conf
|
||||
create: yes
|
||||
mode: "0444"
|
||||
owner: root
|
||||
group: root
|
||||
insertafter: "#exit-on-failure=false"
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK"
|
||||
block: |
|
||||
session-wrapper=/etc/X11/Xsession
|
||||
user-session=cinnamon
|
||||
autologin-session=cinnamon
|
||||
greeter-session=lightdm-autologin-greeter
|
||||
greeter-hide-users=false
|
||||
greeter-show-manual-login=true
|
||||
allow-guest=false
|
||||
xserver-command=X -core -dpi 96
|
||||
autologin-user=user
|
||||
backup: yes
|
||||
notify:
|
||||
- Restart lightdm
|
||||
|
||||
- name: 'add lightdm to startup'
|
||||
command: systemctl enable lightdm
|
||||
args:
|
||||
creates: /etc/systemd/system/display-manager.service
|
||||
|
||||
- name: 'remove smartmontools from startup'
|
||||
command: systemctl disable smartmontools
|
||||
args:
|
||||
removes: /etc/systemd/system/smartd.service
|
||||
|
||||
# - name: "Get current systemd default"
|
||||
# command: "systemctl get-default"
|
||||
# changed_when: false
|
||||
# register: systemdefault
|
||||
#
|
||||
# - name: "Set default to graphical target"
|
||||
# command: "systemctl set-default graphical.target"
|
||||
# when: "'graphical' not in systemdefault.stdout"
|
||||
- name: "Get current systemd default"
|
||||
command: "systemctl get-default"
|
||||
changed_when: false
|
||||
register: systemdefault
|
||||
|
||||
- name: "Set default to graphical target"
|
||||
command: "systemctl set-default graphical.target"
|
||||
when: "'graphical' not in systemdefault.stdout"
|
||||
|
||||
- name: Allow port 8080 for remote control
|
||||
community.general.ufw:
|
||||
@ -194,10 +178,10 @@
|
||||
proto: tcp
|
||||
|
||||
|
||||
# handlers:
|
||||
#
|
||||
# - name: Restart lightdm
|
||||
# service:
|
||||
# name: lightdm
|
||||
# state: restarted
|
||||
handlers:
|
||||
|
||||
- name: Restart lightdm
|
||||
service:
|
||||
name: lightdm
|
||||
state: restarted
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user