summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneded gdkx includesjjardon/remove_gdkxJavier Jardón2019-11-241-1/+0
|
* media-keys: Skip volume-change feedback while playingFlorian Müllner2019-11-232-1/+4
| | | | | The audio feedback for volume changes is useful when nothing is outputting sound, but only then. Skip the sound notification in that case.
* media-keys: Add guard to map_keybinding()Bastien Nocera2019-11-161-0/+1
| | | | Just in case g_variant_get_strv() returns NULL when it really shouldn't.
* media-keys: Fix crash on key bindings migrationBastien Nocera2019-11-161-1/+1
| | | | | | | The loop would add items to the array in an infinite loop as the position of the source "pos" never advanced. Closes: #471
* power: Use logind helper to change backlight brightnessCarlos Garnacho2019-11-091-7/+60
| | | | | | | | | | | | | This is the favored method, over our own polkit helper, and over RandR. Since this helper does its own smart queueing of events, just forward them as fast as possible, and mark all tasks as completed ASAP on our side. However, as this is a recent logind feature (New in systemd 243), make this a soft runtime dependency, by checking first that the required DBus method exists. We forget about logind and go through the other methods if this one is not available. Closes: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/429
* media-keys: Remove no longer used functionCarlos Garnacho2019-11-091-12/+0
| | | | This was missed in 41a84e315d.
* media-keys: Let the screenshot service save to clipboard itselfCarlos Garnacho2019-11-061-32/+2
| | | | | | | | | | | | | | This is both broken currently on wayland (since this daemon doesn't request the x11 backend, and wayland clients need a proper surface/serial to request clipboard), and conceptually wrong (we wouldn't like to enable the X11 backend just to let it save to clipboard). Let gnome-shell handle saving the screenshot to clipboard instead, this also saves us from saving to /tmp just to copy it to the clipboard afterwards. We achieve this by passing an empty string as the filename. Related: https://gitlab.gnome.org/GNOME/mutter/issues/789 https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/810
* Update Friulian translationFabio Tomat2019-10-171-190/+253
|
* power: Fix rounding of brightness valueBenjamin Otte2019-10-111-10/+9
| | | | | | | | | | | We rounded properly for percentage to absolute value, but we always floored the other way around. The new code achieves this by always rounding. This way the following rule holds (assuming the the min value is 0 for this discussion) x = round (round (x * scale) / scale) with scale = (max - min) / 100 and assuming that scale >= 1 If scale < 1, the rule holds for the other direction.
* Updated Spanish translationDaniel Mustieles2019-10-101-193/+200
|
* Update Catalan translationJordi Mas2019-10-081-2/+2
|
* Updated Danish translationAlan Mortensen2019-10-061-352/+291
|
* smartcard: Change timeout on spurious event errorJack Massey2019-09-171-1/+1
| | | | | | | The 0.5s timeout was probably based on the fact that the SECMOD_WaitForAnyTokenEvent call was blocking, it doesn't make sense to have the timeout on the error case less than the timeout on the normal case.
* smartcard: Change manager to non-blockingJack Massey2019-09-171-2/+13
| | | | | | | | | | | | | | | | | | | | | | NSS's SECMOND_WaitForAnyTokenEvent uses the pkcs11 C_WaitForSlotEvent, and by default NSS will use p11-kit, at least on Fedora and Ubuntu. p11-kit doesn't support the blocking call for C_WaitForSlotEvent so NSS falls back to a polling simulation of the C_WaitForSlotEvent. This causes the LED on the smartcard to blink constantly as the card is polled. If we instead use the non-blocking version of the call, which p11-kit supports, NSS doesn't poll the card. The downside of this is that the application will wake up every second to check for events even if there hasn't been any, plus the fact that there could be up to a second delay between the event and it being picked up by gsd-smartcard. However, NSS is polling anyway so this is consistent with existing behaviour. The reason a one second delay was chosen was because this is what was currently used in NSS. nss/lib/dev/devslot.c:17 /* measured in seconds */ #define NSSSLOT_TOKEN_DELAY_TIME 1
* Added a READMEJack Massey2019-09-171-0/+65
| | | | | | | | Currently there is no information on the project for a user who is new to it. I found the Linux From Scratch page quite useful and so I have based the README on this page. http://www.linuxfromscratch.org/blfs/view/systemd/gnome/gnome-settings-daemon.html
* GsdSmartcardService: Use correct parent type for structsSimon McVittie2019-09-162-2/+2
| | | | | | | | | | | | | GDBusObjectSkeleton objects are larger than GObject, so we need to allocate enough space. Otherwise, if we're lucky we'll get: Sep 13 11:09:32 espresso gsd-smartcard[12882]: specified class size for type 'GsdSmartcardService' is smaller than the parent type's 'GsdSmartcardServiceManagerSkeleton' class size Sep 13 11:09:32 espresso gsd-smartcard[12882]: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed and if we're unlucky we'll get object fields overwriting each other. Signed-off-by: Simon McVittie <smcv@debian.org> Fixes: 76b6b794 "smartcard: Use G_DECLARE_FINAL_TYPE for GsdSmartcardService"
* Update Persian translationDanial Behzadi2019-09-141-2552/+2870
| | | | (cherry picked from commit 570d0881592681d1a3c41674927b74d47a9f58d4)
* media-keys: Divide keyboard brightness value by 100Jonas Dreßler2019-09-131-1/+1
| | | | | | | Since the OSD in the shell changed [1] to using float values from 0.0 to 1.0, send a double instead of a percentage via DBus. [1] https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/385
* Updated Czech translationMarek Černocký2019-09-101-1/+1
|
* power: Make notification message regexps in tests more genericCarlos Garnacho2019-09-091-3/+3
| | | | | | | | | | The output format changed slightly in newer versions, some typing information being embedded (eg. "dbus.UInt32(0)" vs. "0"). Those integer arguments are not even what we are testing for here, so make the regexes more generic to cater for old and new output formats. Closes: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/445
* xsettings: Start/stop logind mock on testsCarlos Garnacho2019-09-091-0/+3
| | | | | | This is an indirect dependency as we spawn gnome-session in them. Closes: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/445
* Update Greek translationEfstathios Iosifidis2019-09-091-70/+71
| | | | (cherry picked from commit df084ebe974c832db99a440f1e9fe8ec09a8ab12)
* Update Greek translationEfstathios Iosifidis2019-09-091-421/+921
| | | | (cherry picked from commit 57abe92720290e95dff54594743b13a0a1aa2b74)
* Update Hungarian translationBalázs Úr2019-09-091-191/+200
|
* Update Turkish translationEmin Tufan Çetin2019-09-061-403/+867
|
* Update Italian translationMilo Casagrande2019-09-051-774/+828
| | | | (cherry picked from commit 978e00ccab5ebba757a23b5d2bbc55c00f7e65ed)
* Update Brazilian Portuguese translationRafael Fontenelle2019-09-041-422/+956
| | | | (cherry picked from commit 4dd2f843d35fdefabbc8861dec05ce57bedd7994)
* Updated Czech translationMarek Černocký2019-09-031-440/+930
|
* Update Korean translationChangwoo Ryu2019-09-031-846/+800
| | | | (cherry picked from commit bf8b68cf0df5ab0371144b0d698f8669e42b3aaa)
* xsettings: Ensure plugin is started after the shellBenjamin Berg2019-09-021-0/+1
| | | | | | | | | In the processes of adding support to auto-shutdown Xwayland, the "After" rule was accidentally deleted. Re-add the rule, as otherwise gsd-xsettings may be started before gnome-shell is and that causes an immediate session failure. Fixes: #442
* Updated Danish translationAsk Hjorth Larsen2019-08-291-729/+1254
|
* Update Polish translationPiotr Drąg2019-08-261-331/+748
|
* gnome-settings-plugin-info: Replace deprecated 'g_type_class_add_private'Pablo Barciela2019-08-261-6/+2
|
* xsettings: Make it able to run on demandCarlos Garnacho2019-08-263-9/+10
| | | | | | | | | | | | | There's some changes in how this service is started: - Instead of it being part of the gnome-session target initialization chain, it now depends on a new gnome-session-x11-services target. Initialization of this target is left up in the air here, and may happen during startup or at any random point during the running session. The same analogous behavior will be seen at shutdown. - The Restart condition has been softened to on-abnormal, as unclean exits are somewhat unavoidable on Xwayland restart scenarios. Other crashes or abnormal signals should still be intercepted as usual, and lead to the fail whale.
* Change "GNOME settings" to "GNOME Settings"scootergrisen2019-08-261-3/+3
|
* media-keys: Add support for volume steps in codeHaxk202019-08-261-6/+8
| | | | Grab the value of the key into a variable and adjust volume steps according to it.
* media-keys: Add volume step keyHaxk202019-08-261-0/+6
| | | | This adds new key so that it the value of the key can be edited with dconf.
* Update Galician translationFran Dieguez2019-08-251-2018/+984
|
* Update Hungarian translationBalázs Úr2019-08-241-153/+117
|
* Update German translationTim Sabsch2019-08-221-403/+884
|
* Update Catalan translationJordi Mas2019-08-211-642/+1155
|
* Update Swedish translationAnders Jonsson2019-08-201-409/+868
|
* Updated Spanish translationDaniel Mustieles2019-08-201-19/+67
|
* Update Romanian translationDaniel Șerbănescu2019-08-191-402/+865
|
* Update Finnish translationJiri Grönroos2019-08-181-414/+1004
|
* Update Indonesian translationKukuh Syafaat2019-08-161-8/+63
|
* Update Icelandic translationSveinn í Felli2019-08-161-208/+177
| | | | (cherry picked from commit c8258744f4179b06b2ef44601e6a86540160e42f)
* Update Basque translationAsier Sarasua Garmendia2019-08-141-14/+66
|
* Update British English translationBruce Cowan2019-08-131-426/+947
|
* media-keys: Fix MprisController no longer workingHans de Goede2019-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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