| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Replace the bash-only substitution with an sh-compatible version.
https://bugzilla.gnome.org/show_bug.cgi?id=701322
|
|
|
|
|
|
| |
We were trying to remove a comma instead of a single-quote.
https://bugzilla.gnome.org/show_bug.cgi?id=701322
|
|
|
|
|
|
|
|
|
|
|
| |
In particular, we can't get the locale value out of GSettings
in order to set LC_PAPER etc, since calling into GSettings
initializes the dconf backend which in turn uses gdbus, which
starts a worker thread.
As a simple workaround, set up the locale environment in
a small wrapper script that then exec's the g-s-d binary.
https://bugzilla.gnome.org/show_bug.cgi?id=701322
|
| |
|
|
|
|
|
|
| |
Just as we set gnome-session's.
https://bugzilla.gnome.org/show_bug.cgi?id=693381
|
|
|
|
|
|
|
|
| |
When starting up, we tell gnome-session to set the environment variables
for new starting programs, but we don't set the environment for our
own children. Do this on start up, as soon as possible.
https://bugzilla.gnome.org/show_bug.cgi?id=693381
|
|
|
|
|
|
| |
User-specified format should also apply to the paper format.
https://bugzilla.gnome.org/show_bug.cgi?id=690750
|
|
|
|
|
|
| |
When constructing a string literal, one needs to use
stringification, not tokenization. This was causing
PluginName## to appear in debug output.
|
| |
|
| |
|
|
|
|
|
|
| |
Even before we've registered with gnome-session, to avoid
the window manager starting before some of the necessary early plugins
such as the cursor plugin.
|
|
|
|
| |
Shaves about 2.7k lines of code.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=690078
|
|
|
|
|
|
|
| |
This is intended for quickly and easily testing g-s-d changes
without having gnome-session restart it.
https://bugzilla.gnome.org/show_bug.cgi?id=689402
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=689070
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than having gdm load all the new plugins by default,
especially when gnome-settings-daemon gets updated and gdm doesn't,
keep a list of whitelisted plugins. Only those can be enabled, others
will be unknown and ignored.
By default, all plugins are whitelisted.
https://bugzilla.gnome.org/show_bug.cgi?id=662220
|
|
|
|
|
|
|
| |
Remove an #include that was missed by Colin's patch to remove the
systemd dependency.
https://bugzilla.gnome.org/show_bug.cgi?id=686650
|
|
|
|
|
|
|
|
|
|
|
|
| |
After porting both users of the helper code (the power and
color plugins) to use gnome-session's SessionIsActive property,
remove the libsystemd-login dependent code.
As originally intended, gnome-settings-daemon requires
systemd for the power plugin to work at run-time, but does
not hard depend on libsystemd-login itself at compile-time.
https://bugzilla.gnome.org/show_bug.cgi?id=686650
|
|
|
|
| |
Only if IBus is available though. #fallback
|
|
|
|
|
|
| |
See http://git.gnome.org/browse/glib/commit/?id=7c42ab23b55c43ab96d0ac2124b550bf1f49c1ec
https://bugzilla.gnome.org/show_bug.cgi?id=687072
|
|
|
|
|
|
|
|
| |
This ensures that any plugin idles will only run after RegisterClient
but also that we only call RegisterClient after Setenv since otherwise
Setenv isn't effective.
https://bugzilla.gnome.org/show_bug.cgi?id=686814
|
|
|
|
|
|
| |
This reverts commit dcb54d8a1c4ecacf6fbe17bdffefdca3b1e6d2d5.
https://bugzilla.gnome.org/show_bug.cgi?id=686814
|
|
|
|
| |
Commit e76a752c7d3901b3abbc1733b824c80a3dddec16 broke it.
|
|
|
|
|
|
|
|
| |
There is no need at all to do the listening for systemd or
ConsoleKit signals more than once in the gnome-settings-daemon
process.
https://bugzilla.gnome.org/show_bug.cgi?id=686554
|
| |
|
|
|
|
|
|
|
|
| |
Instead of offering both ConsoleKit and logind support.
We already require logind being available for inhibition and
suspend/hibernation in the power plugin, so requiring logind
for session tracking doesn't add any new dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We're deferring some slower operations to idles, in plugins,
to have it happen after session registration and not slow down
login - but I've observed that the ordering is unreliable.
Sometimes we end up doing the RegisterClient call after the
initial set of idles.
Ensure that the session registration happens before other idles by
making the idle higher priority than the plugins.
https://bugzilla.gnome.org/show_bug.cgi?id=686579
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=686556
|
|
|
|
|
|
|
|
| |
Many plugins were creating these on their own, with ugly async
code. It seems much more straightforward and efficient to get
a proxy once, and keep it around for everybody to use.
https://bugzilla.gnome.org/show_bug.cgi?id=686556
|
|
|
|
|
|
|
|
|
|
|
| |
If IBus isn't installed, don't set the QT_IM_MODULE or XMODIFIERS
envvars, as that breaks other Input Methods.
As we advice people who don't want to use IBus to just uninstall
ibus itself, we should handle being built with IBus support but run-time
support not being there.
https://bugzilla.gnome.org/show_bug.cgi?id=685514
|
|
|
|
|
|
|
|
|
| |
If we are compiled with IBus support and the current session isn't
fallback then we always set the QT_IM_MODULE and XMODIFIERS
environment variables so that Qt and XIM supporting applications work
as best as possible.
https://bugzilla.gnome.org/show_bug.cgi?id=680313
|
|
|
|
|
|
|
|
| |
We already have a convenience macro for plugins to use to
define their types.
This commit augments and leverages that macro to remove
class_finalize function definition boilerplate.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673555
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=673555
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Years ago, GDM activated gnome-settings-daemon via dbus as
part of its hand-rolled greeter session. These days it uses
gnome-session instead of a hand-rolled session, and so
gnome-settings-daemon no longer needs to be activatable.
Furthermore, when gnome-settings-daemon is activated, the only
way it functions is if it's subsequently given an "Awake" call.
This limitation was added because it was getting unintentionally
activated in none-GNOME sessions (when those sessions were hosting
gnome apps, like rhythmbox), causing all sorts of havoc.
This doesn't-function-until-Awake-called limitation means that if
settings daemon ever crashes and gets unintentionally dbus activated
before gnome-session has a chance to respawn it, then the whole desktop
breaks (since whatever accidentally activates it won't call Awake).
This actually happens in practice because gnome-shell's power indicator
tries to track the power plugin's object properties.
This commit removes the ability for gnome-settings-daemon to be dbus
activated. It only causes problems, and no longer solves anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=673586
|
| |
|
|
|
|
|
|
|
|
| |
Do not force G_MESSAGES_DEBUG to "all" if it is already set. This makes it much
easier to limit debug output to a particular plugin by starting g-s-d with
e. g. G_MESSAGES_DEBUG="mouse-plugin".
https://bugzilla.gnome.org/show_bug.cgi?id=671928
|
|
|
|
|
|
| |
libgsd.so refused to link as some glib symbols didn't get defined.
https://bugzilla.gnome.org/show_bug.cgi?id=670651
|
| |
|
| |
|
|
|
|
|
|
| |
As done in Debian and OpenSUSE
https://bugzilla.gnome.org/show_bug.cgi?id=670695
|
|
|
|
|
|
| |
Link the shared library that uses it with systemd's libraries
https://bugzilla.gnome.org/show_bug.cgi?id=670525
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently plugins can call back into the main binary; if the program
is linked with -Bsymbolic then what happens is the plugin process will
contain duplicate functions from libgsd-session.la.
Ubuntu has patched their toolchain to link with -Bsymbolic-functions
by default which causes a failure here.
This is also just cleaner and better; there's only one copy of the
code on disk.
https://bugzilla.gnome.org/show_bug.cgi?id=670244
|
| |
|
|
|
|
|
|
| |
This avoids duplicating the session monitor code in two places.
https://bugzilla.gnome.org/show_bug.cgi?id=666787
|
|
|
|
|
|
|
|
|
| |
This implementation uses the logind apis for tracking active sessions
instead of ConsoleKit. It is only compiled if --enable-systemd is
passed to configure, otherwise the ConsoleKit implementation is
used.
https://bugzilla.gnome.org/show_bug.cgi?id=666787
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This lets docking stations work better in the light of plugging external monitors.
It used to be that a docked laptop, with a closed lid, would still keep the
LCD active, thus making it pretty useless with an external monitor.
Now, we disable the LCD if the laptop's lid is closed, as expected.
Additionally, to decide when to suspend the laptop, we do so if there
are no plugged or usable RANDR outputs. For example, a docked laptop
with a closed lid and *no* external monitor has no usable outputs, so
it will get suspended.
This requires gnome-desktop 3.3.4 or later, as the semantics of
gnome_rr_screen_new() are slightly different there - now it returns a
singleton instead of a new object every time.
|
| |
| |
| |
| |
| |
| |
| | |
It was done to return a singleton from up_client_new(), but in fact
up_client_new() already returns a singleton.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|