Eeems-Org / oxide

A desktop environment for the reMarkable tablet
https://oxide.eeems.codes
MIT License
251 stars 21 forks source link

Rot/xdg-settings does not seem to accept string object_paths. #344

Open aniket-deole opened 10 months ago

aniket-deole commented 10 months ago

Describe the bug Rot/xdg-settings does not seem to accept string object paths.

To Reproduce Steps to reproduce the behavior:

  1. Install oxide.
  2. Use rot to change lockscreenApplication (See below)

Expected behavior Lockscreen application should be changed using rot.

Screenshots

reMarkable: ~/code/ rot apps get applications | jq
{
  "KOReader": "/codes/eeems/oxide1/apps/67a9b43a3c265ebfb21ce90997e7b7d3",
  "codes.eeems.decay": "/codes/eeems/oxide1/apps/549212b2493354f4a9ee5da097a2dacd",
  "codes.eeems.erode": "/codes/eeems/oxide1/apps/f8c23b4485cf5760b3468cae491a0a72",
  "codes.eeems.fret": "/codes/eeems/oxide1/apps/f3999e4363cb568ea6ccc50aa4b27b23",
  "codes.eeems.oxide": "/codes/eeems/oxide1/apps/d3641f0572435f76bb5cc1468d4fe1db",
  "rtc": "/codes/eeems/oxide1/apps/593bdfedbfc1584b91b325063c26b9b4",
  "xochitl": "/codes/eeems/oxide1/apps/d941cc3512975cd9beb7dde71108afce"
}
reMarkable: ~/code/ rot apps set lockscreenApplication "/codes/eeems/oxide1/apps/593bdfedbfc1584b91b325063c26b9b4"
Failed to set value
QDBusError("", "")
reMarkable: ~/code/

reMarkable: ~/code/ xdg-settings get apps lockscreenApplication
"/codes/eeems/oxide1/apps/549212b2493354f4a9ee5da097a2dacd"
reMarkable: ~/code/ xdg-settings check apps lockscreenApplication "/codes/eeems/oxide1/apps/549212b2493354f4a9ee5da097a2dacd"
no
reMarkable: ~/code/

Version Information:

Additional context Add any other context about the problem here.