I initially installed Ubuntu, then installed kubuntu-desktop and switched to Plasma. However, initially, my removable drives no longer auto-mounted on (automatic) login. So I went to settings and configured the drive to automount on login. After restarts however, there is something like a full minute where the drive is unmountable. I get "you are not authorized to mount this device" from the removable media pop-up. After a minute it goes away, and I can manually mount the drive from dolphin.
Because of this, since I have various desktop shortcuts (some pinned to taskbar), that refer to scripts on the removable drive (or refer to local links that themselves refer to scripts that reside on the removable drive), many shortcuts on the taskbar are thus missing. After mounting, I can hover over them and see their names, but not their icons. If I log out and log in, it works normally.
So I created a script that touches a temporary file in the shortcuts folder and then deletes it. This indirectly triggers both Gnome & Plasma to refresh these icons, and it works. But in Plasma I have to wait random delays until it takes effect and sometimes I have to run the script twice. Ubuntu/Gnome had a nice command one could run to immediately refresh/update these icons. I forgot its name. Is there something similar for KDE?
Btw I had the same problem on Gnome, except that Gnome correctly and directly auto-mounts the removable media on login. I don't have to wait, then manually mount. Yet still probably because of timing issues, the shortcuts still didn't all load properly until I updated the desktop.
Also, does anyone know why the drive is mounting so late and how to make this happen before login or before loading the desktop?