sc-controller icon indicating copy to clipboard operation
sc-controller copied to clipboard

[BUG] Saving an 'Execute command' action modifies entry to broken state

Open PowerUser64 opened this issue 3 years ago • 1 comments

While saving the configuration options for the shell command action, SC Controller changes the line that defines the shell command I want to run from name('screenshot', shell('/home/blake/Documents/System/cemu-screenshot.sh')) to name('screenshot', shell('b'/home/blake/Documents/System/cemu-screenshot.sh'')) Notice the 'b and the ' that got added to the beginning and end of the shell action after saving the action. This makes saving and editing very frustrating because it is impossible to save certain actions (I noticed a similar issue before that would cause SC Controller to not accept binding only the 'hold' and the 'double-click' actions or all actions at once, but that seems to have been fixed in the latest release.)

If you want to see and try out what I mean, here's my profile. Try changing the 'LGrip' Double-click action to a script of your own, and you'll see what I mean. Profile.zip

PowerUser64 avatar Dec 07 '20 23:12 PowerUser64

For anyone looking for a temporary workaround, removing the 'b and the extra ' manually, with a text editor will do. You can find your profiles in the ~/.config/scc/profiles folder. Be sure to change it in the corresponding .mod file too.

PowerUser64 avatar Dec 08 '20 02:12 PowerUser64