summaryrefslogtreecommitdiff
path: root/gnome-settings-daemon
Commit message (Collapse)AuthorAgeFilesLines
* bus: Auto-start screen saver serviceFlorian Müllner2021-01-151-2/+1
| | | | | The service was split out of the main gnome-shell process for security reasons, and no longer runs unconditionally.
* gnome-settings-plugin-info: Replace deprecated 'g_type_class_add_private'Pablo Barciela2019-08-261-6/+2
|
* build: Apply a workaround for D-Bus code generationIñigo Martínez2018-02-052-2/+57
| | | | | | | | | | | | | | | | | meson uses gdbus-codegen for D-Bus code generation. However, both files are generated implicitly, so meson is not able to know how many files are generated, so it does generate only one opaque target that represents the two files. A new script has been created only to call gdbus-codegen and simulate the generation of the source code and header as different targets. Please see: https://bugzilla.gnome.org/show_bug.cgi?id=791015 https://github.com/mesonbuild/meson/pull/2930 https://bugzilla.gnome.org/show_bug.cgi?id=793087
* build: Remove autotoolsIñigo Martínez2018-02-051-93/+0
| | | | | | | To avoid the burden of maintaining multiple build systems, this patch removes autotools support. https://bugzilla.gnome.org/show_bug.cgi?id=793087
* build: Port to meson build systemIñigo Martínez2018-02-051-0/+41
| | | | | | | | meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools. https://bugzilla.gnome.org/show_bug.cgi?id=793087
* main: Remove gnome-settings-plugin.hBastien Nocera2016-10-113-217/+0
| | | | | | | The plugin system is not used any more, and wasn't dist'ed, which broke building from tarballs. https://bugzilla.gnome.org/show_bug.cgi?id=772370
* build: Remove separate check for gnome-desktopBastien Nocera2016-10-111-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=772370
* build: Add separate GTK+ skeletonBastien Nocera2016-10-111-7/+2
| | | | | | | | | And simplify library requirements for each helper. This should allow us to trim the number of dependencies for each one of the helpers. This also moves the libnotify initialisation directly into the plugins that need it. https://bugzilla.gnome.org/show_bug.cgi?id=772370
* main: Remove gnome-settings-daemon binaryBastien Nocera2016-10-114-1005/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=772370
* main: Remove GSettings override for plugin priorityBastien Nocera2016-10-113-61/+6
| | | | | | There's a default value already available in the plugin file itself. https://bugzilla.gnome.org/show_bug.cgi?id=772370
* main: Remove ability to start/stop individual pluginsBastien Nocera2016-10-113-43/+8
| | | | | | | All the plugins are now enabled by default, until we use another way to start them individually. https://bugzilla.gnome.org/show_bug.cgi?id=772370
* main: Remove localeexec wrapper fileBastien Nocera2016-09-281-20/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=766180
* main: Remove localeexec wrapperBastien Nocera2016-09-281-7/+0
| | | | | | | | | Now that gnome-session handles exporting locale information, we don't need to do this ourselves anymore. See https://bugzilla.gnome.org/show_bug.cgi?id=756324 https://bugzilla.gnome.org/show_bug.cgi?id=766180
* Don't override preset xim setupsTakashi Iwai2015-10-232-4/+11
| | | | | | | | When $QT_IM_MODULE or $XMODIFIERS has been already set beforehand, we should honor it and not override brutally. This makes GNOME as a good citizen coping with other IMs more smoothly. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* daemon: Plug a memory leak when checking installed schemasRui Matos2015-09-071-16/+9
| | | | | | | g_settings_schema_source_list_schemas() returns allocated string arrays that must be freed. https://bugzilla.gnome.org/show_bug.cgi?id=754681
* daemon: Add chassis type helperBastien Nocera2015-01-272-0/+47
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=743456
* daemon: Use GOnce to check for WaylandBastien Nocera2015-01-271-12/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=743588
* daemon: Add a check for wayland sessionsRui Matos2014-10-103-0/+36
| | | | | | | | | | | | | | | | | | | | We want to do some things differently, or disable some features entirely, when running under a wayland session. Adding a global function which tries to connect to a wayland compositor using the same method as a regular wayland client allows us to achieve that. For now, since we don't need to do anything else with the wayland connection we tear it down immediately after checking. Note that g-s-d uses the X11 GDK backend exclusively so there's no danger of this being a duplicated wayland connection. This commit introduces an optional build time dependency on libwayland-client which is, by default, enabled or disabled automatically depending on the pc file existence. https://bugzilla.gnome.org/show_bug.cgi?id=738009
* keyboard: Remove input sources handlingRui Matos2014-09-111-19/+2
| | | | | | | | All of this functionality is moving into mutter/gnome-shell so that both wayland and X sessions follow the same code paths as closely as possible. https://bugzilla.gnome.org/show_bug.cgi?id=736436
* daemon: Fix crash when a plugin failed to startBastien Nocera2014-07-151-2/+2
| | | | | | | | | | | When a plugin failed to start, and wouldn't return an error, we'd crash trying to access the error. The error wasn't immediately visible as this part of the code is implemented as one large macro. This fixes a crash on startup when gnome-settings-daemon is compiled with systemd support but logind isn't available on the running system. https://bugzilla.gnome.org/show_bug.cgi?id=732836
* daemon: Stop using deprecated GSettings APIRui Matos2014-05-261-4/+15
|
* main: Unown our DBus name when gnome-session says "Stop"Rui Matos2014-03-261-0/+24
| | | | | | | | | | | | We don't want to quit yet because if we do, gnome-shell and still mapped windows lose their theme and icons. But we have to unown our DBus name otherwise gnome-session will hang waiting for us. This only works due to a bug in gnome-session where it handles any client name being unowned as if the client has disconnected. Will need to be revisited when that bug is fixed in gnome-session. https://bugzilla.gnome.org/show_bug.cgi?id=727049
* main: don't die when gnome-session says StopGiovanni Campagna2014-02-031-3/+0
| | | | | | | | | | | | gnome-session asks all registered clients to stop after the user confirms the poweroff/logout dialog, but we should ignore that request, because non registered applications are still mapped and they would lose their theme and icons if we die (and same for the shell). We will go away as soon as the X11 connection is closed or the session bus dies anyway. https://bugzilla.gnome.org/show_bug.cgi?id=707790
* main: modernize code for handling SIGTERMGiovanni Campagna2014-02-031-36/+3
| | | | | | | Let's use glib's builtin facilities for signals instead of our own pipe. https://bugzilla.gnome.org/show_bug.cgi?id=707790
* main: remove unused codeGiovanni Campagna2014-02-031-15/+0
| | | | | | | The SessionOver signal is legacy and is never emitted by gnome-session. https://bugzilla.gnome.org/show_bug.cgi?id=707790
* Updated FSF's addressDaniel Mustieles2014-01-3112-32/+12
|
* main: Generate org.gnome.Shell proxyCarlos Garnacho2013-11-204-0/+83
| | | | | This will be used across multiple plugins, so put it together with the screensaver and session proxies.
* Restrict GTK to use the X11 backendGiovanni Campagna2013-08-201-0/+2
| | | | | | | We're working actively to reduce the dependency on x11, but for now this is a hard requirement. https://bugzilla.gnome.org/show_bug.cgi?id=706419
* common: move screensaver proxy fetching into common codeRay Strode2013-08-064-1/+93
| | | | | | | | | | | | | | Much like with the session manager, several plugins need to connect to the screen saver (to lock the screen in response to various events). This commit adds a new api: gnome_settings_bus_get_screen_saver_proxy that parallels the existing gnome_settings_bus_get_session_proxy call, and changes all users of their own screen saver proxies to use this shared proxy. https://bugzilla.gnome.org/show_bug.cgi?id=705127
* common: rename gnome-settings-session to gnome-settings-busRay Strode2013-08-064-11/+10
| | | | | | | | | | | | | The gnome-settings-session code is so named because it used to exclusively house login session specific code (ConsoleKit/logind/gnome-session). Since then it's been used more generally as a place to stuff singleton dbus proxies used across multiple plugins. This commit renames it to gnome-settings-bus to give it a more appropriate name for its current role. https://bugzilla.gnome.org/show_bug.cgi?id=705127
* common: generate session manager proxyRay Strode2013-08-065-14/+479
| | | | | | | | | | | | | Generating D-Bus proxies is more convienent and more typesafe than using naked GDBusProxy objects. As a first step this commit changes the common session manager proxy to be generated from XML. Since the generated proxy can be compatibly used in any existing GDBusProxy calls, this commit doesn't attempt to rewrite all the plugins to use the generated apis. That can happen in future clean ups. https://bugzilla.gnome.org/show_bug.cgi?id=705127
* main: Remove _stop() functionBastien Nocera2013-07-243-28/+9
| | | | | We'll just dispose the manager afterwards, so let the caller do that instead of introducing another way to do it.
* main: Use GCancellableBastien Nocera2013-07-241-9/+26
| | | | | | And check for g_dbus_connection_register_object()'s retval. https://bugzilla.gnome.org/show_bug.cgi?id=704791
* main: Remove empty finalize functionBastien Nocera2013-07-241-17/+0
|
* build: Fix from previous commitColin Walters2013-07-021-0/+1
| | | | Generally I add $(AM_FOO) before each modname_FOO variable.
* main: Fix automake warningBastien Nocera2013-07-021-1/+1
| | | | gnome-settings-daemon/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
* main: Remove generated script on cleanBastien Nocera2013-06-171-0/+2
|
* main: Use sh not bash for the localeexec helperBastien Nocera2013-06-131-2/+3
| | | | | | Replace the bash-only substitution with an sh-compatible version. https://bugzilla.gnome.org/show_bug.cgi?id=701322
* main: Fix incorrect quote removalBastien Nocera2013-06-131-1/+1
| | | | | | We were trying to remove a comma instead of a single-quote. https://bugzilla.gnome.org/show_bug.cgi?id=701322
* Avoid calling setenv after starting threadsMatthias Clasen2013-06-103-33/+28
| | | | | | | | | | | 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
* main: fix buildWilliam Jon McCann2013-02-151-39/+41
|
* main: Set our own IBus envvars as wellBastien Nocera2013-02-151-1/+9
| | | | | | Just as we set gnome-session's. https://bugzilla.gnome.org/show_bug.cgi?id=693381
* main: Set locale envvars on startupBastien Nocera2013-02-151-0/+23
| | | | | | | | 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
* daemon: Also apply LC_PAPERBastien Nocera2013-01-261-0/+1
| | | | | | User-specified format should also apply to the paper format. https://bugzilla.gnome.org/show_bug.cgi?id=690750
* Fix PluginName handling in new macroMatthias Clasen2013-01-021-1/+1
| | | | | | When constructing a string literal, one needs to use stringification, not tokenization. This was causing PluginName## to appear in debug output.
* main: Use new defines for D-Bus namesBastien Nocera2012-12-192-8/+5
|
* main: Export D-Bus name and interface to pluginsBastien Nocera2012-12-191-0/+4
|
* main: Start plugins as early as possibleBastien Nocera2012-12-171-2/+1
| | | | | | 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.
* plugins: Simplify plugin creation with a huge macroBastien Nocera2012-12-131-5/+75
| | | | Shaves about 2.7k lines of code.
* main: exit gracefully if the session name is already takenPeter Hutterer2012-12-121-1/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=690078