Bug 512016

Summary: Run Commands sample commands should be different on Windows
Product: [Applications] kdeconnect Reporter: treaki
Component: windows-applicationAssignee: brute4s99 <piyushaggarwal002>
Status: CONFIRMED ---    
Severity: normal CC: albertvaka
Priority: NOR    
Version First Reported In: 25.04.2   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description treaki 2025-11-12 22:33:50 UTC
Hi,

on windows the default command "Lock screen" should be something like 

rundll32.exe user32.dll,LockWorkStation

that works fine with me, but loginctrl youll find hardly on a windows system. i guess unlock screen is not supported...

Also its a hassle to reenter all commands for 4 devices i have connected, maybe add a way to also list commands defined on other device config screen that can be enabled with a simple checkbox ;)

thanks in advance
Comment 1 treaki 2025-11-12 22:34:48 UTC
Regarding not having the latest version installed, i used the microsoft store for it and thats the version it came with...
Comment 2 Albert Vaca Cintora 2025-12-10 21:22:05 UTC
I don't know how to check for Windows from QML, but we used to have different commands when the settings were widgets-based: https://invent.kde.org/network/kdeconnect-kde/-/blob/1275c8e031fc06c5f31bb1448b31676cb8127315/plugins/runcommand/runcommand_config.cpp#L40-68