remove potential destructive actions from default configuration
In my usage only the "+lock-screen"
is relevant. Everything else is already at the end of the main Applications
menu.
The "+switch-user"
action is potentially dangerous because it leads to (unreproducible) crashes. Details are in bugzilla, somewhere.
Closing the lid makes another item obsolete, in case a lid actually exists of course.
So my proposal is: leave just lock screen:
--- a/plugins/actions/actions.c
+++ b/plugins/actions/actions.c
@@ -1355,16 +1355,21 @@ actions_plugin_default_array (void)
const gchar *defaults[] =
{
"+lock-screen",
+#if 0
"+switch-user",
"+separator",
+#endif
+#if 0
"+suspend",
"-hibernate",
"-hybrid-sleep",
"-separator",
+
"+shutdown",
"-restart",
"+separator",
"+logout"
+#endif
};
array = g_ptr_array_sized_new (G_N_ELEMENTS (defaults));