SUMMARY xdotool script gives error STEPS TO REPRODUCE 1. create a script like: #! /bin/bash xdotool key ALT+F4 2. create a launcher in the panel pointing to this script 3. try to close windows by clicking on the launcher - u get error "KDEInit could not launch '/home/a/close.sh'" OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
on debian buster with the stock plasma version
the script is executable, the action of closing the window completes but there is the error described earlier
surprisingly the error is only seen if the earlier mentioned launcher is added to the top panel and then launched. it works as expected when added to bottom panel. nothing of significance in journalctl or syslog or messages
Can you confirm how you "created a launcher" please
Hi David, thanks for your reply. I will describe in detail below: 1. Add a top panel, empty one 2. Add widget > add quick launch widget 3. Then add app > browse > select the xdotool script close.sh 4. Select is executable then when I open any app and click on the above created launcher, the app closes but i get error on the desktop ""KDEInit could not launch '/home/a/close.sh'". But surprisingly the launcher is able to close that app's window. if i add the same launcher on the bottom panel then there is no issue. If I add another launcher pointing to the same script on the top panel then there is no error either. It appears that the error is seen only when there is a single launcher on the top panel pointing to the script. I then even changed the script and directly wrote in the command box of the launcher's properties "xdotool key ALT+F4" then I get different error viz. "KDEInit could not launch '/usr/bin/xdotool'" please let me know if you need any other information. thanks for taking a look. its nothing major, I know, but still thought its best to report as I could not find anything in logs anywhere.
r u able to replicate it?
Can you reproduce that with a recent release?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!