1005.3.1
by Michael Terry
add gdmflexiserver helper script |
1 |
#!/bin/sh
|
2 |
#
|
|
3 |
# Copyright (C) 2011 Canonical Ltd
|
|
4 |
# Author: Michael Terry <michael.terry@canonical.com>
|
|
5 |
#
|
|
6 |
# This program is free software: you can redistribute it and/or modify it under
|
|
7 |
# the terms of the GNU General Public License as published by the Free Software
|
|
8 |
# Foundation, version 3 of the License.
|
|
9 |
#
|
|
10 |
# See http://www.gnu.org/copyleft/gpl.html for the full text of the license.
|
|
11 |
||
1014
by Robert Ancell
Simplify gdmflexiserver using new XDG_SEAT_PATH variable |
12 |
if [ -z "$XDG_SEAT_PATH" ]; then |
1005.3.1
by Michael Terry
add gdmflexiserver helper script |
13 |
# something went wrong
|
14 |
exit 1 |
|
15 |
fi
|
|
16 |
||
1014
by Robert Ancell
Simplify gdmflexiserver using new XDG_SEAT_PATH variable |
17 |
dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.DisplayManager $XDG_SEAT_PATH org.freedesktop.DisplayManager.Seat.SwitchToGreeter |