Problems with Plasma 6

In KDE Neon the upgrade to Plasma 6 has produced several problems:

  • No working power commands (logout, restart, shutdown): this could be a problem from espanso (a text expander for Wayland). Try to stop it (espanso stop) and, if so, create a logout script.
  • applications as root from menu don’t work: you can use a code like this (it’s an example):
[Desktop Entry]
Comment=Twin-Panel File Manager
Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true krusader
GenericName=File Manager
Icon=krusader_user
Name=Krusader-root
NoDisplay=false
Path=
StartupNotify=true
StartupWMClass=krusader
Terminal=false
TerminalOptions=
Type=Application
X-DocPath=krusader/index.html
X-KDE-SubstituteUID=false
X-KDE-Username=root
  • reimage service menu (in Dolphin) could not work; to fix it try with this:
 sudo mv /usr/share/kservices5/ServiceMenus/reimage* /usr/share/kio/servicemenus/

no root uninstall system app in android

1) From smartphone enable debug USB (settings -> developer options or something similar);
2) enable MTP mode
3) istall and start adb  (adb start-server).
4) search for exact name of the apps you want to remove (i.g. Facebook is “com.facebook.katana”).
5) in (linux) terminal do this command: adb shell pm uninstall  –user 0 [appname]

It works!

As an example I made this bash file

#!/bin/sh
adb start-server
adb shell pm uninstall –user 0 com.facebook.katana
adb shell pm uninstall –user 0 com.facebook.orca
adb shell pm uninstall –user 0 com.asus.ephotoburst
adb shell pm uninstall –user 0 com.asus.task
adb shell pm uninstall –user 0 com.asus.gallery
adb shell pm uninstall –user 0 com.asus.microfilm
adb shell pm uninstall –user 0 com.asus.kidslauncher
adb shell pm uninstall –user 0 com.asus.fmradio
adb shell pm uninstall –user 0 com.asus.taskwidget
adb shell pm uninstall –user 0 com.google.android.apps.photos
adb shell pm uninstall –user 0 com.google.android.gm
adb shell pm uninstall –user 0 com.google.android.videos
adb shell pm uninstall –user 0 com.google.android.music
adb shell pm uninstall –user 0 com.google.android.talk
adb shell pm uninstall –user 0 com.google.android.youtube
adb kill-server