diff --git a/roles/home-gui/files/xsession b/roles/home-gui/files/xsession new file mode 100644 index 0000000..cb29c9f --- /dev/null +++ b/roles/home-gui/files/xsession @@ -0,0 +1,2 @@ +PATH=/usr/bin:/bin:/usr/local/bin +exec ck-launch-session mate-session diff --git a/roles/home-gui/tasks/mate.yml b/roles/home-gui/tasks/mate.yml index af9ae51..dc2467e 100644 --- a/roles/home-gui/tasks/mate.yml +++ b/roles/home-gui/tasks/mate.yml @@ -32,3 +32,8 @@ key: /org/mate/panel/objects/clock/prefs/expand-locations value: 'true' when: ansible_system == 'Linux' +- name: Create xsession file + copy: + src: xsession + dest: "{{ ansible_env.HOME }}/.xsession" + when: ansible_system == "FreeBSD"