I’m running a script that automatically copies (picture) files from a USB into a sub-directory of HOME (/home/pix)
The script is supposed to launch when I plug in the USB, which I have achieved using ivman. Since I enhanced the script to include popup message, it’s failing. I think I’ve narrowed it down to some issue with kdialog:
if I simply issue the command,
kdialog --passivepopup ‘Files are loading’ 30
from a user terminal session, I see the popup nicely. If I issue that same command from a root terminal session, it simply hangs and I need to ^z to escape, then kill the job.
Any clues?