Bug 514400 - Keyboard shortcut for script doesn't work without file extension, and shows no errors or notifications
Summary: Keyboard shortcut for script doesn't work without file extension, and shows n...
Status: CONFIRMED
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.21.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2026-01-10 02:28 UTC by kde.slip812
Modified: 2026-01-12 20:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde.slip812 2026-01-10 02:28:34 UTC
SUMMARY

For keyboard shortcuts, `/home/user/Assets/Scripts/ww-run-raise/ww -f "zen-beta" -c "zen" -p "zen "` doesn't work nor shows any error messages / notifications. The command works in bash. I asked for help in multiple places and no one figured it out: the script must have a file extension like `.sh` to work: `/home/user/Assets/Scripts/ww-run-raise/ww.sh`.  

STEPS TO REPRODUCE
1. Download [ww-run-raise](https://github.com/academo/ww-run-raise).
2. Create a shortcut in Settings > Keyboard > Shortcuts, with the following for `command`: `/home/user/Assets/Scripts/ww-run-raise/ww -f "zen-beta" -c "zen" -p "zen "` *(without using the choose file button)*
3. Assign a keyboard shortcut. 

OBSERVED RESULT

Nothing happens, no error messages or notifications when doing all the steps above, but the command doesn't work.

EXPECTED RESULT

I think one of the following should happen:

1. The command should work if it calls a valid shell script (with a shebang in it), even if there's no file extension.
2. KDE shows an error somewhere if the command is not valid, maybe a message in the "Edit Command" box after entering in the command, or a notification. 

Right now if the file has an extension but the path is invalid, I get an error notification like so: `Could not find the program '/home/user/Assets/Scripts/ww-run-raise/wwdd.sh' `

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

Operating System: NixOS 26.05
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1