## arg 1: the new package version post_install() { # Show desktop icons on primary desktop, # otherwise some of them might be invisible (as they are too far down the screen) xfconf-query --create -c xfce4-desktop -p /desktop-icons/primary -t 'bool' -s 'true' # Double the scaling factor xfconf-query -c xsettings -p /Gdk/WindowScalingFactor -s 2 } ## arg 1: the old package version post_remove() { # TODO: restore previous xfconf values true }