Add startx session to desktop role

This commit is contained in:
Salt 2020-05-24 23:24:00 -05:00
parent 7fc422e571
commit 63d64cd8fc
2 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,7 @@
- { src: "hosts", dest: "/etc/hosts", mode: "0644" } - { src: "hosts", dest: "/etc/hosts", mode: "0644" }
- { src: "nomouseaccel.conf", dest: "/etc/X11/xorg.conf.d/90-mouse-acceleration.conf", mode: "0644" } - { src: "nomouseaccel.conf", dest: "/etc/X11/xorg.conf.d/90-mouse-acceleration.conf", mode: "0644" }
- { src: "i3.desktop", dest: "/usr/share/xsessions/i3-custom.desktop", mode: "0644" } - { src: "i3.desktop", dest: "/usr/share/xsessions/i3-custom.desktop", mode: "0644" }
- { src: "startx.desktop", dest: "/usr/share/xsessions/startx-custom.desktop", mode: "0644" }
- name: Copy udev rules - name: Copy udev rules
template: template:
src: "{{ item.src }}" src: "{{ item.src }}"

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Name=startx
Comment=Start a user's X session with startx
Exec=startx
TryExec=startx
Type=Application
X-LightDM-DesktopName=startx
DesktopNames=startx