summaryrefslogtreecommitdiff
path: root/tweaks/desktop
blob: 5cfd3a83fbb3dcf9fbe73ce843f1f4df0c807786 (plain)
  1. ## power management
  2. # sleep when lid is closed, and modernize logic of radio on/off button
  3. _setvar /target/etc/default/acpi-support LID_SLEEP true
  4. _setvar /target/etc/default/acpi-support WIRELESS_BLUETOOTH_SYNC true
  5. ## Xfce
  6. cd /target/etc/xdg/xfce4/xfconf/xfce-perchannel-xml
  7. # silence confusing panel question at initial login
  8. _clone ../../panel/default.xml xfce4-panel.xml
  9. # replace appfinder with mail-reader in default panel
  10. sed -i -r -e 's,xfce4-appfinder,exo-mail-reader,' xfce4-panel.xml
  11. # disable storing session at logout by default
  12. _backup xfce4-session.xml
  13. sed -i -r -e 's,(<property name="general"[^>]*>),\1\n <property name="SaveOnExit" type="bool" value="false"/>,' xfce4-session.xml
  14. ## upgrade cleanup
  15. # fix mark auto-installed recommended packages previously excluded
  16. chroot /target apt-mark auto evolution-data-server gvfs libvisual-0.4-plugins libwebkitgtk-1.0-0