Commit 64a14224 authored by Jonas Smedegaard's avatar Jonas Smedegaard

Import Upstream version 3.22.1

parents
Mattias Clasen <mclasen@redhat.com>
Jasper St. Pierre <jstpierre@mecheye.net>
Ray Strode <rstrode@redhat.com>
Design:
William Jon McCann <jmccann@redhat.com>
Jakub Steiner <jimmac@gmail.com>
This diff is collapsed.
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_CFLAGS = ${WARN_CFLAGS}
SUBDIRS = data gnome-initial-setup po
EXTRA_DIST = \
autogen.sh \
COPYING \
AUTHORS \
NEWS \
gnome-initial-setup.doap
This diff is collapsed.
This diff is collapsed.
GNOME initial setup
===================
After acquiring or installing a new system there are a few essential things
to set up before use. gnome-initial-setup aims to provide a simple, easy,
and safe way to prepare a new system.
This should only include a few essential steps for which we can't provide
good defaults:
* Select your language
* Get onto the network
* Create a user account
* Set the correct timezone / location
* Set up online accounts
* Learn some basics about GNOME 3
The desired experience is that the system boots straight into the
initial-setup tool, and when the setup tasks are completed, we smoothly
transition into the user session for the newly created user account.
To realize this experience, we rely on gdm to launch gnome-initial-setup
in a 'first boot' situation. We are using gnome-shell in an 'initial-setup'
mode that shows a somewhat reduced UI, similar to the way it is used on
the login screen.
We also want to offer the user a friendly way to learn more about GNOME,
by taking a 'tour' after completing these setup tasks.
The design for the initial-setup application can be found here:
https://live.gnome.org/GnomeOS/Design/Whiteboards/InitialSetup
* Language
** the dialog moves around when a different language is selected
** language list - only show the varient (eg - United Kingdom) if there is more than one language that needs
* Network
** need to check the connecting progress
* Account
** various alignment issues - text entry boxes need be longer
** password entry - inline error icon isn't good here; we need a better approach to password hints
* Location
** automatic detection of location/timezone is not implemented
** location data isn't good
** map is too small
* General
** on small screens the window should be maximised
* Other
** opt out of diagnostics?
This diff is collapsed.
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="gnome-initial-setup"
(test -f $srcdir/configure.ac \
&& test -f $srcdir/gnome-initial-setup.doap) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level gnome-initial-setup directory"
exit 1
}
which gnome-autogen.sh || {
echo "You need to install gnome-common"
exit 1
}
REQUIRED_AUTOMAKE_VERSION=1.7
. gnome-autogen.sh
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
//
// DO NOT EDIT THIS FILE, it will be overwritten on update.
//
// Allow the gnome-initial-setup user to do certain actions without
// being interrupted by password dialogs
polkit.addRule(function(action, subject) {
if (subject.user !== 'gnome-initial-setup')
return undefined;
var actionMatches = (action.id === 'org.freedesktop.udisks2.filesystem-mount-system' ||
action.id.indexOf('org.freedesktop.hostname1.') === 0 ||
action.id.indexOf('org.freedesktop.locale1.') === 0 ||
action.id.indexOf('org.freedesktop.packagekit.system-sources-configure') === 0 ||
action.id.indexOf('org.freedesktop.accounts.') === 0 ||
action.id.indexOf('org.freedesktop.timedate1.') === 0 ||
action.id.indexOf('org.freedesktop.realmd.') === 0 ||
action.id.indexOf('org.freedesktop.RealtimeKit1.') === 0);
if (actionMatches) {
if (subject.local)
return 'yes';
else
return 'auth_admin';
}
return undefined;
});
NULL =
edit = $(AM_V_GEN) sed \
-e 's|@SBINDIR[@]|$(sbindir)|g' \
-e 's|@SYSCONFDIR[@]|$(sysconfdir)|g' \
-e 's|@LIBDIR[@]|$(libdir)|g' \
-e 's|@LIBEXECDIR[@]|$(libexecdir)|g' \
-e 's|@LOCALSTATEDIR[@]|$(localstatedir)|g'
%.desktop.in: %.desktop.in.in Makefile
$(edit) $< >$@
@INTLTOOL_DESKTOP_RULE@
rulesdir = $(datadir)/polkit-1/rules.d
rules_DATA = 20-gnome-initial-setup.rules
sessiondir = $(datadir)/gnome-session/sessions
session_DATA = gnome-initial-setup.session
modedir = $(datadir)/gnome-shell/modes
mode_DATA = initial-setup.json
desktopdir = $(datadir)/gdm/greeter/applications
desktop_DATA = \
gnome-initial-setup.desktop \
setup-shell.desktop \
$(NULL)
EXTRA_DIST = \
20-gnome-initial-setup.rules \
gnome-welcome-tour \
setup-shell.desktop \
gnome-welcome-tour.desktop.in.in \
gnome-initial-setup-first-login.desktop.in.in \
gnome-initial-setup.desktop.in.in \
gnome-initial-setup-copy-worker.desktop.in.in \
gnome-initial-setup.session \
initial-setup.json \
$(NULL)
CLEANFILES = \
gnome-initial-setup.desktop.in \
gnome-initial-setup.desktop \
gnome-initial-setup-copy-worker.desktop.in \
gnome-initial-setup-copy-worker.desktop \
gnome-initial-setup-first-login.desktop \
gnome-welcome-tour.desktop.in \
gnome-welcome-tour.desktop \
$(NULL)
autostartdir = $(sysconfdir)/xdg/autostart
autostart_DATA = \
gnome-welcome-tour.desktop \
gnome-initial-setup-copy-worker.desktop \
gnome-initial-setup-first-login.desktop \
$(NULL)
libexec_SCRIPTS = \
gnome-welcome-tour
This diff is collapsed.
[Desktop Entry]
Name=GNOME Initial Setup Copy Worker
Type=Application
Exec=@LIBEXECDIR@/gnome-initial-setup-copy-worker
OnlyShowIn=GNOME;
NoDisplay=true
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Phase=EarlyInitialization
This diff is collapsed.
This diff is collapsed.
[GNOME Session]
Name=GNOME Initial Setup
RequiredComponents=setup-shell;gnome-initial-setup;gnome-settings-daemon;
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.