| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
We rounded properly for percentage to absolute value, but we always
floored the other way around. Also round when converting the absolute
value to percentage, this should prevent issues where the percentage
changes becaues the calculated absolute value will be resolved to a
different percentage than it was calculated from.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit c8258744f4179b06b2ef44601e6a86540160e42f)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since commit e4297f2ae ("media-keys: Use G_DECLARE_FINAL_TYPE for
MprisController"), the MPRIS support in g-s-d no longer works.
This is caused by the mpris_proxy_ready_cb changes, after the troublesome
commit, the MprisController self pointer is retreived by
the mpris_proxy_ready_cb like this:
MprisController *self = MPRIS_CONTROLLER (object);
But the object parameter to the GAsyncReadyCallback is the source object,
which in this case is the just created GDBusProxy, not our MprisController
object, leading to these warnings:
gsd-media-keys[x]: invalid cast from 'GDBusProxy' to 'MprisController'
Our MprisController is passed through the user_data pointer, so
this commit fixes the code to use this instead.
This fixes the warning and more importantly also makes the MPRIS support work
again, since it now will now properly set self->mpris_client_proxy again.
Fixes: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/437
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Those settings don't apply on wayland, we could care really hard to emulate
volume/pitch/duration there but this is essentially an easter egg. Just
avoid these on Wayland sessions.
|
|
|
|
|
| |
There's no way X11 clients will be able to mess with screensaver state
on wayland, so this is useless there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the facility added in the previous commit, we can add systemd user
service files for all plugins and know when they have started up.
This is roughly based on the work previously done by Iain Lane
<iain@orangesquash.org.uk> and Bastien Nocera hadess@hadess.net>.
For each g-s-d process we have a service and a target file. This
separation only exists to contain dependency failures which would cause
an OnFailure action to trigger and is needed so that we can use
OnFailure for the gnome-session fail-whale
(gnome-session-failed.target).
In general, the approach taken is that we start g-s-d processes after
gnome-session-initialized.target and before gnome-session.target.
We want to be able to selectively start the services only when one or
more dependencies are there, or even mask out services under some
conditions. The approach taken is the following:
* To mask a service, use a Conflicts entry. This is e.g. used to not
start certain services in GDM using
Conflicts=gnome-session@gnome-login.target
* To depend on multiple targets to be up and running to start, we set
each of these targets in Requisite/After/PartOf/WantedBy. We always
do this for gnome-session-initialized.target but this method is
extensible to any number of further targets (e.g. bluetooth.target)
|
|
|
|
|
|
|
| |
The plugins are about to switch to being activated by systemd. We need a
way for them to signal to systemd when they are ready. We'd like to
avoid linking to libsystemd, so sd_notify() is out - let's have the
plugins claim a name on the bus and then we can create Type=dbus units.
|
| |
|
|
|
|
|
|
|
|
| |
Heavily based on code from nm-applet.
Follow-Ups:
- Allow to store SIM in keyring
- Handle PUKs? (or do that in g-c-c)
|
|
|
|
|
|
|
|
|
|
| |
The planckian calculation is much better, but it also means we need to
change the default from 4000K to 2700K to get a similar effect. 2700K is
actually a good value as it is similar to commonly found "warm-white"
artificial lights.
Note that the defaults and range in g-c-c will also need to be adjusted
for this change.
|
|
|
|
|
|
|
|
|
|
| |
We tried to switch to a better way of calculating the blackbody color,
but unfortunately the switch was only partial and not used in most
cases. Revert this to the old calculation for stable so that we can
update the default values and configuration panel when moving to the
better blackbody color calculation.
Fixes #403
|
|
|
|
|
| |
We already have a dependency on 1.3.5 which removes the need for the
switches.
|
|
|
|
|
|
| |
This responsibility was taken over by mutter, where it can be made to work
both on Wayland and X11. This clipboard manager implementation becomes
superfluous then.
|
|
|
|
|
|
|
|
|
|
|
| |
There is nothing left in the mouse plugin but the settings migration,
which occurred more than 3 years ago in GNOME 3.14.
Remove that plugin altogether.
Note, we keep the schemas as this is still used by the XSettings plugin.
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/115
|
|
|
|
|
|
| |
As pointed out in !118
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/118
|
|
|
|
| |
This will be used by GTK.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Gnome-shell now passes the additional device-node parameter in the variant
we can use to directly look up the right stream for the key event, so
pass it all the way through.
In order to add some wiggle room, still handle the device-id argument as
a fallback, so it works in combination with older gnome-shell. Only do it
on X11 sessions though, as the device ID is only meaningful there.
Related: https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/618
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using gnome-tweaks to set a text scale factor that is not a
multiple of 0.25 (e.g. 1.1), Xft.dpi would be calculated as a
floating point number, which breaks the fdo spec:
https://www.freedesktop.org/wiki/Specifications/XSettingsRegistry/
Although GNOME could handle the floating point Xft.dpi, graphical
programs restrictively followed the above-mentioned spec would be
influenced negatively. For example, QT applications (running on
GNOME desktop) may ignore text scaling factor when Xft.dpi was
calculated as a floating point number:
https://bugreports.qt.io/browse/QTBUG-64738
The patch at the same time has few impact to GNOME itself.
|
|
|
|
|
|
|
|
|
|
|
| |
Allow for more precise values to be sent to the shell to fix a bug
where the volume icon in the shells OSD is not the "muted" icon while
the volume bar shows a value of 0.
This happened because casting the volume to an integer value might
return 0 while the value actually is near 0. Since we also generate the
icon name inside media-keys and use the non-casted value for that, the
icon and the volume we show in the shell would be different.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
otherwise, the debug messages will have them joined with the next word.
This was an oversight introduced in 45cc86c410dac7c051c123934dfc2a6a49414e0b
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit allows handling airplane mode for WWAN interfaces
which will be handled via rfkill and Modem Manager.
The following boolean DBUS properties are added:
* WwanAirplaneMode: read/write
* WwanHardwareAirplaneMode: read
* WwanHasAirplaneMode: read
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/414
|
| |
|
| |
|
|
|
|
| |
We now rely on new settings there, even if for migration purposes.
|
|
|
|
|
|
| |
This moved to mutter, and the setting to gsettings-desktop-schemas. We
migrate the remember-numlock-state setting, but not the numlock state
itself.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The pointer accessibility features handled by "mousetweaks" cannot work
on Wayland, so they need to migrate in the Wayland compositor instead.
Remove support for "mousetweaks" from gnome-settings daemon.
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/95
https://gitlab.gnome.org/GNOME/mutter/merge_requests/512
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/474
|
| |
|