From a27014f07653de87a3f3a2269dd0fcc311f6134c Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Sat, 8 Jul 2017 13:45:51 +0200 Subject: [PATCH] Cleanup --- Manual.org | 17 +++++------------ roles/yavdr-xorg/templates/xorg.conf.j2 | 1 - 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/Manual.org b/Manual.org index 6bb643d..bcf6a94 100644 --- a/Manual.org +++ b/Manual.org @@ -1446,8 +1446,11 @@ b'\xde\xad\xbe\xef' enabled: false masked: true -### TODO: Create xorg configuration -- name: create xorg.conf (test) +# TODO: expand template for xorg.conf (or snippets) +# with respect for the available graphics card driver +# nvidia, noveau, intel, radeon + +- name: create xorg.conf (for nvidia driver) template: src: templates/xorg.conf.j2 dest: /etc/X11/xorg.conf @@ -1542,11 +1545,6 @@ b'\xde\xad\xbe\xef' src: roles/yavdr-xorg/templates/systemd/user/tmux.service.j2 dest: '{{ vdr.home }}/.config/systemd/user/tmux.service' -# TODO: run xorg-debug and parse xrandr output -# TODO: expand template for xorg.conf (or snippets) -# with respect for the available graphics card driver -# nvidia, noveau, intel, radeon - - name: enable and start xlogin for the user vdr systemd: daemon_reload: yes @@ -1646,7 +1644,6 @@ Section "Device" Screen 0 EndSection - Section "Screen" Identifier "Screen0" Device "Device0" @@ -1704,10 +1701,6 @@ Section "Screen" EndSubSection EndSection {% endif %} - - - - #+END_SRC #+BEGIN_SRC shell :tangle roles/template-test/templates/xorg.conf_test.j2 diff --git a/roles/yavdr-xorg/templates/xorg.conf.j2 b/roles/yavdr-xorg/templates/xorg.conf.j2 index 6478da8..2c2afe6 100644 --- a/roles/yavdr-xorg/templates/xorg.conf.j2 +++ b/roles/yavdr-xorg/templates/xorg.conf.j2 @@ -38,7 +38,6 @@ Section "Device" Screen 0 EndSection - Section "Screen" Identifier "Screen0" Device "Device0"