diff --git a/roles/display/files/monitor_file_service_unit b/roles/display/files/monitor_file_service_unit index 67ef0fe..615c2be 100644 --- a/roles/display/files/monitor_file_service_unit +++ b/roles/display/files/monitor_file_service_unit @@ -5,7 +5,7 @@ Description=Reload page in running browser Type=oneshot Environment=DISPLAY=:0.0 Environment=XAUTHORITY=/home/odoo/.Xauthority -ExecStart=sh -c "xdotool keydown F5; xdotool keyup F5" +ExecStart=sh -c "xdotool key Super_L+F1; sleep 1; xdotool key F5" User=odoo Group=users diff --git a/roles/display/files/openbox_rc b/roles/display/files/openbox_rc new file mode 100644 index 0000000..0423f87 --- /dev/null +++ b/roles/display/files/openbox_rc @@ -0,0 +1,152 @@ + + + + + + 10 + 20 + + + + yes + no + yes + no + 200 + no + + + + Smart +
yes
+ Primary + 1 +
+ + + Clearlooks + NLIMC + yes + yes + + sans + 8 + bold + normal + + + sans + 8 + bold + normal + + + sans + 9 + normal + normal + + + sans + 9 + normal + normal + + + sans + 9 + bold + normal + + + sans + 9 + bold + normal + + + + + 2 + 1 + + + 0 + + + + yes + Nonpixel + Center + + 10 + 10 + + + + + 0 + 0 + 0 + 0 + + + + C-g + + + + leftno + + + rightno + + + 1 + + + 2 + + + 3 + + + 4 + + + + + + + + + + + + + + + + + + + + + + + /var/lib/openbox/debian-menu.xml + menu.xml + 200 + no + 100 + 400 + yes + yes + + + + + +
+ diff --git a/roles/display/files/show_desktop_service_unit b/roles/display/files/show_desktop_service_unit index 06db0ed..6536168 100644 --- a/roles/display/files/show_desktop_service_unit +++ b/roles/display/files/show_desktop_service_unit @@ -6,7 +6,7 @@ Type=oneshot Environment=DISPLAY=:0.0 Environment=XAUTHORITY=/home/odoo/.Xauthority ExecStart=/usr/bin/nitrogen --set-zoom-fill --random /home/odoo/wallpapers/ -ExecStart=sh -c "xdotool key Super_L+d; sleep 7; xdotool key Super_L+d" +ExecStart=sh -c "xdotool key Super_L+F2; sleep 7; xdotool key Super_L+F1" User=odoo Group=users diff --git a/roles/display/tasks/show_desktop_periodically.yml b/roles/display/tasks/show_desktop_periodically.yml index ed0c9b2..3b154f8 100644 --- a/roles/display/tasks/show_desktop_periodically.yml +++ b/roles/display/tasks/show_desktop_periodically.yml @@ -1,5 +1,11 @@ --- +- name: Configure Openbox + copy: + src: openbox_rc + dest: /home/odoo/.config/openbox/rc.xml + owner: odoo + - name: Copy wallpapers copy: src: wallpapers/