echo " cursor Run cursor selection wizard"
echo " sound [true or false] Toggle the sound when an event occurs"
echo " logo [image] Specify the logo of the login screen"
+ echo " tap [true or false] Toggle whether to recognize the tap as a click"
echo
echo " Webkit2 command:"
echo " theme Run theme selection wizard"
gdm_set_config "org/gnome/desktop/sound" "event-sounds" "${1}"
}
+command_gdm_tap(){
+ if ! check_bool "${1-""}"; then
+ msg_error "Please specify true or false"
+ script_usage
+ exit 1
+ fi
+ gdm_set_config "org/gnome/desktop/peripherals/touchpad" "tap-to-click" "${1}"
+}
+
#== Webkit2用の汎用関数 ==#
webkit2_init_configs(){
if [[ ! -f "${GREETER_CONFIG["lightdm-webkit2-greeter"]}" ]]; then
gdm_init_configs
command_gdm_logo ${COMMAND_ARGS}
;;
+ "tap")
+ check_root
+ gdm_init_configs
+ command_gdm_tap ${COMMAND_ARGS}
+ ;;
*)
msg_error "Undefined commnad(${COMMAND})"
;;