default_desktop 402 Bytes
Newer Older
Joey Hess's avatar
Joey Hess committed
1 2 3 4 5
# Shell library to get the default desktop that tasksel will select 
# for an architecture.
#
# This may be used outside of tasksel (eg, by debian-cd) so should be a
# stable interface.
6 7 8

default_desktop_for_arch() {
	case "$1" in
9 10 11 12 13 14
		i386) echo gnome ;;
		amd64) echo gnome ;;
		# gnome only works on linux,
		# and only on arches with 3d hardware
		# or llvmpipe. See #765839.
		*) echo xfce ;;
15 16
	esac
}