aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2024-02-23 23:18:04 +0100
committerRobert Tari <robert@tari.in>2024-02-23 23:18:04 +0100
commit8738816d591f1452d92d059d1884691ce0b30e6b (patch)
treeff82b03415a1fd29535f90702787cc0c3172b7ed /data
parent0403a06b309ace61db1dfb50c59d67c77b8d0463 (diff)
downloadayatana-indicator-display-8738816d591f1452d92d059d1884691ce0b30e6b.tar.gz
ayatana-indicator-display-8738816d591f1452d92d059d1884691ce0b30e6b.tar.bz2
ayatana-indicator-display-8738816d591f1452d92d059d1884691ce0b30e6b.zip
Add data/50-org.ayatana.indicator.display.AccountsService.pkla to support old systems
Diffstat (limited to 'data')
-rw-r--r--data/50-org.ayatana.indicator.display.AccountsService.pkla6
-rw-r--r--data/CMakeLists.txt4
2 files changed, 10 insertions, 0 deletions
diff --git a/data/50-org.ayatana.indicator.display.AccountsService.pkla b/data/50-org.ayatana.indicator.display.AccountsService.pkla
new file mode 100644
index 0000000..f607642
--- /dev/null
+++ b/data/50-org.ayatana.indicator.display.AccountsService.pkla
@@ -0,0 +1,6 @@
+[Allow LightDM to set AccountsService fields]
+Identity=unix-user:lightdm
+Action=org.ayatana.indicator.display.AccountsService.ModifyAnyUser
+ResultActive=yes
+ResultInactive=yes
+ResultAny=yes
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 451c9e8..e24a925 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -82,4 +82,8 @@ if (ENABLE_COLOR_TEMP)
install (FILES 50-org.ayatana.indicator.display.AccountsService.rules DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/polkit-1/rules.d")
+ # 50-org.ayatana.indicator.display.AccountsService.pkla
+
+ install (FILES 50-org.ayatana.indicator.display.AccountsService.pkla DESTINATION "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/lib/polkit-1/localauthority/10-vendor.d")
+
endif ()