From 837308ae4812603992621fbaa3081763641f04a8 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 6 Mar 2024 20:46:15 +0000 Subject: [PATCH] Update for FreeBSD laptop --- roles/freebsd/tasks/main.yml | 2 -- roles/freebsd/tasks/packages-gui.yml | 4 ++-- roles/home-gui/files/icewm/keys | 4 ++-- roles/home-gui/files/icewm/preferences | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/roles/freebsd/tasks/main.yml b/roles/freebsd/tasks/main.yml index cf33187..3712b8d 100644 --- a/roles/freebsd/tasks/main.yml +++ b/roles/freebsd/tasks/main.yml @@ -23,5 +23,3 @@ when: gui == true - import_tasks: qemu-guest.yml when: ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm" -- import_tasks: kde.yml - when: gui == true diff --git a/roles/freebsd/tasks/packages-gui.yml b/roles/freebsd/tasks/packages-gui.yml index 174f8b1..c7c31ab 100644 --- a/roles/freebsd/tasks/packages-gui.yml +++ b/roles/freebsd/tasks/packages-gui.yml @@ -16,7 +16,8 @@ - name: Install core GUI packages become: true community.general.pkgng: - name: drm-kmod,xdm,xorg,xterm + #name: drm-kmod,xdm,xorg,xterm + name: xdm,xorg,xterm state: present - name: Install additional GUI packages become: true @@ -29,5 +30,4 @@ - firefox - git-gui - keepassxc - - luit # Needed by xterm. - tigervnc-viewer diff --git a/roles/home-gui/files/icewm/keys b/roles/home-gui/files/icewm/keys index 5c0bc20..364172c 100644 --- a/roles/home-gui/files/icewm/keys +++ b/roles/home-gui/files/icewm/keys @@ -1,4 +1,4 @@ -key "Super+L" xlock -mode blank -key "Super+Return" urxvt +key "Super+L" xlock -mode blank -dpmsoff 5 +key "Super+Return" xterm key "Super+1" xrandr --output eDP-1 --auto key "Super+2" xrandr --output eDP-1 --off diff --git a/roles/home-gui/files/icewm/preferences b/roles/home-gui/files/icewm/preferences index e284999..3d109f9 100644 --- a/roles/home-gui/files/icewm/preferences +++ b/roles/home-gui/files/icewm/preferences @@ -1,7 +1,7 @@ DateFormat="%F%n%A" DesktopBackgroundCenter=1 DesktopBackgroundColor="rgb:10/10/10" -LockCommand="xlock -mode blank" +LockCommand="xlock -mode blank -dpmsoff 5" ModSuperIsCtrlAlt=0 MsgBoxDefaultAction=1 OpaqueMove=0