Skip to content

Instantly share code, notes, and snippets.

(io.elementary.switchboard:30321): GLib-CRITICAL **: 13:37:31.016: g_variant_get_string: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_STRING) || g_variant_is_of_type (value, G_VARIANT_TYPE_OBJECT_PATH) || g_variant_is_of_type (value, G_VARIANT_TYPE_SIGNATURE)' failed
(io.elementary.switchboard:30321): GLib-CRITICAL **: 13:37:31.017: g_variant_get_string: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_STRING) || g_variant_is_of_type (value, G_VARIANT_TYPE_OBJECT_PATH) || g_variant_is_of_type (value, G_VARIANT_TYPE_SIGNATURE)' failed
(io.elementary.switchboard:30321): GLib-CRITICAL **: 13:37:31.017: g_variant_get_string: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_STRING) || g_variant_is_of_type (value, G_VARIANT_TYPE_OBJECT_PATH) || g_variant_is_of_type (value, G_VARIANT_TYPE_SIGNATURE)' failed
(io.elementary.switchboard:30321): GLib-CRITICAL **: 13:37:31.017: g_variant_get_string: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_STRING) || g_variant_is_of_type (value, G_V
# Template file for 'kindd'
pkgname=kindd
version=2.1.0
revision=2
build_style=cmake
hostmakedepends="cmake pkg-config qt5-qmake qt5-host-tools"
makedepends="qt5-devel qt5-declarative-devel qt5-quickcontrols2-devel
qt5-svg-devel"
depends="qt5-quickcontrols qt5-graphicaleffects"
short_desc="Kindful dd, written by qt-quick"
# Template file for 'kindd'
pkgname=kindd
version=2.1.0
revision=1
build_style=cmake
hostmakedepends="cmake pkg-config qt5-qmake qt5-host-tools"
makedepends="qt5-devel qt5-declarative-devel qt5-quickcontrols2-devel qt5-svg-devel"
depends="polkit-gnome qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects qt5-declarative qt5-svg"
short_desc="Kindful dd, written by qt-quick"
maintainer="linarcx <linarcx@gmail.com>"
/etc/xdg/autostart/io.elementary.desktop.agent-polkit.desktop
/usr/libexec/policykit-1-pantheon/io.elementary.desktop.agent-polkit
/usr/share/applications/io.elementary.desktop.agent-polkit.desktop
/usr/share/locale/aa/LC_MESSAGES/io.elementary.desktop.agent-polkit.mo
/usr/share/locale/ab/LC_MESSAGES/io.elementary.desktop.agent-polkit.mo
/usr/share/locale/ae/LC_MESSAGES/io.elementary.desktop.agent-polkit.mo
/usr/share/locale/af/LC_MESSAGES/io.elementary.desktop.agent-polkit.mo
/usr/share/locale/ak/LC_MESSAGES/io.elementary.desktop.agent-polkit.mo
/usr/share/locale/am/LC_MESSAGES/io.elementary.desktop.agent-polkit.mo
/usr/share/locale/an/LC_MESSAGES/io.elementary.desktop.agent-polkit.mo
╰ io.elementary.switchboard
** (io.elementary.switchboard:1585): CRITICAL **: 21:33:59.727: Battery.vala:63: acpi couldn't get upower devices
** (io.elementary.switchboard:1585): CRITICAL **: 21:33:59.730: PowerSupply.vala:69: power supply couldn't get upower devices
** (io.elementary.switchboard:1585): CRITICAL **: 21:33:59.820: power_upower_device_get_is_present: assertion 'self != NULL' failed
** (io.elementary.switchboard:1585): CRITICAL **: 21:33:59.823: power_upower_device_get_is_present: assertion 'self != NULL' failed
--- /etc/xdg/autostart/io.elementary.desktop.agent-polkit.desktop 2020-03-14 02:18:29.000000000 +0330
+++ new.txt 2020-04-09 18:04:34.562265193 +0430
@@ -44,9 +44,11 @@
Name[zh_CN]=权限认证对话框
Name[zh_TW]=身份核對對話盒
Name=Authentication Dialog
-Exec=/usr/libexec/policykit-1-pantheon/io.elementary.desktop.agent-polkit
-Icon=dialog-password
-Terminal=false
-Type=Application
[Finally](https://github.com/void-linux/void-packages/issues/13243) pantheon desktop is ready for void users!
To use it, you have two options:
1. Install a display manager like lightdm or gdm.(recommended)
1.1. There is a [greeter](https://github.com/elementary/greeter) for pantheon, and i'm going to send it as a separate PR.
2. Use `startx`(has some drawback)
Edit your `.xinitrc` file like this:
```
export XDG_SESSION_TYPE=X11
export DESKTOP_SESSION=Pantheon
dbus-daemon[27364]: [session uid=989 pid=27364] Activating service name='org.xfce.Xfconf' requested by ':1.1' (uid=989 pid=27367 comm="gsettings get org.gnome.system.locale region ")
dbus-daemon[27364]: [session uid=989 pid=27364] Successfully activated service 'org.xfce.Xfconf'
mkdir: cannot create directory ‘/nix/var/nix/profiles/per-user/gdm’: Permission denied
WARNING: bad ownership on /nix/var/nix/profiles/per-user/gdm
mkdir: cannot create directory ‘/nix/var/nix/gcroots/per-user/gdm’: Permission denied
WARNING: bad ownership on /nix/var/nix/gcroots/per-user/gdm
gnome-session-binary[27366]: WARNING: Falling back to non-systemd startup procedure due to error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
gnome-session-binary[27366]: WARNING: Could not parse desktop file orca-autostart.desktop or it references a not found TryExec binary
can't load /usr/lib/spa/support/libspa-support.so: /usr/lib/spa/support/libspa-support.so:
[+0.01s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.01s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1201
[+0.01s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.01s] DEBUG: Registered seat module local
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.13s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ...
x86_64-repodata: [625KB 0%] 45MB/s ETA: 00m00s
x86_64-repodata: [625KB 2%] 677KB/s ETA: 00m38s
x86_64-repodata: [625KB 61%] 373KB/s ETA: 00m01s
x86_64-repodata: 625KB [avg rate: 608KB/s]
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...