summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2019-08-11mouse: Add acceleration profilesVictor Kareh1-0/+171
Currently libinput supports Adaptive and Flat acceleration profiles. We can use these to change mouse behavior. Synaptic touchpads are not supported through libinput, so they will not be affected by this change. The Default acceleration profile reads the value from the libinput defaults and sets them as the current profile. Usually ends up being Adaptive.
2019-08-02plugins a11y-settings: fix deprecated g_type_class_add_privateWu Xiaotian2-12/+4
2019-08-02plugins a11y-keyboard: fix deprecated g_type_class_add_privateWu Xiaotian3-18/+6
2019-07-27plugins mouse: fix deprecated g_type_class_add_privateWu Xiaotian3-64/+51
2019-07-27Change media-keys volume-step default from 6 to 5 in the gschema and use ↵gm101-5/+5
only that instead of a redundant constant in the code.
2019-07-26plugins background: fix deprecated g_type_class_add_privateWu Xiaotian2-12/+4
2019-07-25xrandr plugin: i18n dropdown menurbuj1-8/+8
2019-07-17plugins keyboard: fix deprecated g_type_class_add_privateWu Xiaotian2-13/+4
2019-07-11plugins: drop libXxf86 dependencyraveit654-49/+11
The X server hasn't implemented it in over 10 years. and it was dropped from debian since a long time. fixes https://github.com/mate-desktop/mate-settings-daemon/issues/284
2019-07-05plugins housekeeping: optimization codeWu Xiaotian1-2/+1
2019-07-05Avoid build warningWu Xiaotian1-1/+1
/usr/include/glib-2.0/glib/gmacros.h:366:42: warning: division ‘sizeof (gchar ** {aka char **}) / sizeof (gchar * {aka char *})’ does not compute the number of array elements [-Wsizeof-pointer-div] 366 | #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) | ^ msd-ldsm-dialog.c:163:25: note: in expansion of macro ‘G_N_ELEMENTS’ 163 | for (i = 0; i < G_N_ELEMENTS (settings_list); i++) { | ^~~~~~~~~~~~
2019-07-05plugins common: fix deprecated g_type_class_add_privateWu Xiaotian1-6/+2
2019-07-01Remove trailing whitespacesLaurent Napias18-147/+147
2019-06-13media-keys: Execute default instant messaging application defined by schemarbuj2-0/+21
2019-06-10Change url project's websiteLaurent Napias1-1/+1
2019-06-06locate-pointer: Do not grab pointer button when trying to locateVictor Kareh1-15/+1
2018-12-07media-keys: Execute default calculator application defined by schemaZhang Xianwei1-9/+17
Signed-off-by: Zhang Xianwei <[email protected]>
2018-12-05media-keys: Add microphone mute key supportZhang Xianwei4-25/+168
Pressing the microphone mute button now toggles the mute status. Fix https://github.com/mate-desktop/mate-settings-daemon/issues/175 Signed-off-by: Zhang Xianwei <[email protected]>
2018-12-04msd-xrdb-manager: realize the widgetPablo Barciela1-0/+1
Fixes https://github.com/mate-desktop/mate-settings-daemon/pull/248#issuecomment-443527197
2018-12-03media-keys: Make sound changes quiet with AltZhang Xianwei2-5/+32
<Alt>+volume control keys will change the sound, without playing a notification sound, which can be useful when things need to be quiet. This uses the settings stored in GSettings for those audio keys. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-28msd-xrdb-manager.c: avoid deprecated 'gtk_widget_ensure_style'Pablo Barciela1-1/+0
2018-11-26media-keys: always round the render coordinates for media iconsZhang Xianwei1-4/+4
This ensures the pixbuf is always rendered as crisp as possible. See https://github.com/GNOME/gnome-settings-daemon/commit/a03c072a8241d4d481ee94e5e1ffd829e85271f5 Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-26media-keys: Tweak the OSD's volume bar positionZhang Xianwei1-2/+2
Move it down a little. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-26osd-window: make the window smallerZhang Xianwei1-2/+2
Matches the gnome's mockups better. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-26media-keys: Make icon smaller in OSDZhang Xianwei1-1/+1
Make the icon take up less space inside. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-26media-keys: Use constant for icon size in OSDZhang Xianwei1-4/+6
Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-25media-keys: Add test for display switch OSD iconsZhang Xianwei1-0/+14
Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-25media-keys: Add support for display switch OSDZhang Xianwei2-1/+27
Some laptops have a display switch mode hotkey. This is bound by default to XF86Display. Add OSD to give people a visual feed back. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-20media-keys: Don't show a level when mutedZhang Xianwei1-0/+3
As discussed in: https://bugzilla.gnome.org/show_bug.cgi?id=644537#c4 Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-18fix running distcheckraveit651-1/+2
2018-11-14media-keys: Add test for rfkill OSD iconsZhang Xianwei1-0/+28
Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-14media-keys: Add label for the touchpad OSDZhang Xianwei2-3/+3
Which should hopefully make the touchpad icon a bit clearer. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-14media-keys: Add labels for the rfkill OSDZhang Xianwei5-18/+98
Which should hopefully make the icons a bit clearer. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-10media-keys: Remove unuseful show_level argument in ↵Zhang Xianwei4-50/+13
msd_media_keys_window_set_action_custom Since brightness OSD has been moved to m-p-m, there is no any situation to use show_level in msd_media_keys_window_set_action_custom, should remove this argument. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-10media-keys: Remove test for screen brightness OSD iconsZhang Xianwei1-32/+2
Screen brightness OSD has been moved from m-s-d to m-p-m, see: https://github.com/mate-desktop/mate-power-manager/commit/4fd2ae34e50e63ef562356f804dbdea81341f4e2 So remove test for brightness OSD icons in m-s-d. Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-24media-keys: Add support for Killswitch media keysZhang Xianwei2-0/+184
Add support for the XF86Bluetooth and XF86WLAN media keys. The first one will toggle Bluetooth on/off, as the Bluetooth panel does, the latter one will toggle the global software killswitch. The reasoning XF86WLAN media key toggling the global software killswitch is that: - we don't have a killswitch for only WiFi - there are very very few laptops with a UWB killswitch button, if anyone actually remembers what UWB actually is - there are no XF86 keys for the global killswitch, so they usually get mislabeled as the WLAN killswitch from https://github.com/GNOME/gnome-settings-daemon/commit/3fa0f7260a6864dfe67bdbd82b22b168e1e66457 Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-24rfkill: Add RFKill support plugin on Linux systemsZhang Xianwei11-0/+1746
from https://github.com/GNOME/gnome-settings-daemon/commit/444af32e343a79ca3db0f957bf73687a0f0df9ec Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-17Add shortcut to start mate-control-centerZhang Xianwei2-0/+8
Some laptops have a setting hotkey. This is bound by default to XF86Tools. Add shortcut to start mate-control-center to support it. Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-11media-keys: Add test for touchpad OSD iconsZhang Xianwei1-0/+14
Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-08media-keys: Remove touchpad OSD icons and use theme's insteadZhang Xianwei16-3571/+2
To be controllable by theme, use the touchpad enabled/disabled icons in mate-icon-theme. Refer to mate-icon-theme commit "add icons for touchpad": 932961db50aaea23b953a79e0967385bf66a12ea Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-05media-keys: Simplify touchpad OSDZhang Xianwei1-8/+2
Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-01media-keys: Add support for XF86TouchpadOn/OffZhang Xianwei2-0/+19
Using hard-coded keys. This requires new keycodes added to X.org in: https://bugs.freedesktop.org/show_bug.cgi?id=31300 Signed-off-by: Zhang Xianwei <[email protected]>
2018-09-30Add support for org.mate.accessibility-keyboard.stickykeys-latch-to-lockColomban Wendling1-1/+6
2018-08-28Xrandr:remove an unused functionlukefromdc1-10/+0
2018-08-24xsettings: add setting to enable/disable primary paste from middlemouselukefromdc1-0/+2
2018-08-23xsettings: replace deprecated gdk_error_trap_push/popraveit651-9/+15
2018-08-23xrandr-manager: replace deprecated gdk_error_trap_push/popraveit651-10/+18
2018-08-22mouse-manager: replace deprecated gdk_error_trap_push/popraveit651-102/+152
2018-08-22media-keys-manager: replace deprecated GdkDeviceManagerraveit651-5/+5
2018-08-22keyboard-manager: replace deprecated gdk_error_trap_push/popraveit651-5/+7