I tried using certain kde plasma services along with using latte dock outside of plasma.I also tried kdeconnect device mounting in ranger.The following details are applicable to Plasma 5.19.4.
I already had the base install of kde. You might need to install required services or apps if the are not installed already.
Mounting phone drives using kdeconnect and accessing them through ranger:
Find your device id using
kdeconnect-cli -l
Your phone drives can be mounted using
qdbus-qt5 org.kde.kdeconnect /modules/kdeconnect/devices/<your device id>/sftp mountAndWait
Just replace your device id in the above command.
So now put the following command in rc.conf(config file for ranger).
map <key bind> shell qdbus-qt5 org.kde.kdeconnect /modules/kdeconnect/devices/<your device id>/sftp mountAndWait
The drives will be mounted on
/run/user/<uuid>/<your device id>/
So for quick access put the following commands in rc.conf.
map <key bind> cd /run/user/<uuid>/<your device id>/
Powerdevil (Plasma power management module):
Put the following line in the startup script.
/usr/lib/org_kde_powerdevil &
This will start the power management module.
Background Services,Lock Screen and Global Menu in Latte:
Start kded5 and ksmserver with following commands
kded5 &
ksmserver &
After which start appmenu and statusnotifierwatcher services.
These two are needed for global menu in latte dock to work.Also statusnotifierwatcher service seems to be needed by apps for using system tray.
So put following two commands in startup script.
qdbus org.kde.kded5 /kded loadModule statusnotifierwatcher &
qdbus org.kde.kded5 /kded loadModule appmenu &
Note:kded5 has to be started before executing above commands.
kmserver is needed for lock screen to work.
So if anyone desires to incorporate kde lock screen with other window managers, use the following command to lock screen.
qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock
Note:ksmserver has to be started before executing this command.
Also executable for screen locker is located at /usr/lib/kscreenlocker_greet (incase if anyone wants to know).
SOCIAL SHARE CARD GENERATOR