summaryrefslogtreecommitdiff
path: root/tweaks/desktop
blob: 816ca232493faca20981ab289fc26b89d1c82083 (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
  11. -e 's,xfce4-appfinder,exo-mail-reader,'
  12. xfce4-panel.xml;
  13. # disable storing session at logout by default
  14. _backup xfce4-session.xml;
  15. sed -i -r
  16. -e 's,(<property name="general"[^>]*>),\1\n <property name="SaveOnExit" type="bool" value="false"/>,'
  17. xfce4-session.xml;
  18. ## upgrade cleanup
  19. # fix mark auto-installed recommended packages previously excluded
  20. chroot /target apt-mark auto
  21. evolution-data-server gvfs libvisual-0.4-plugins libwebkitgtk-1.0-0;