Skip to main content

Issuing

kquitapp5 kglobalaccel && sleep 2s && kglobalaccel5 & 

works fine for me, at least for kglobalshortcutsrc file. You just need to reopen settings window afterwards to see the change.

As for \\t issue: I'm using following sed command. Hope it helps someone:

sed -i '/Lock Session/s/\\\\t/\\t/g' ~/.config/kglobalshortcutsrc

-i is for edit in-place /Lock Session/ finds the proper line to edit and s/\\\\t/\\t/g changes all occurences of \\t into \t for that line.

  • -i is for edit in-place
  • /Lock Session/ finds the proper line to edit and
  • s/\\\\t/\\t/g changes all occurences of \\t into \t for that line.

kquitapp5 kglobalaccel && sleep 2s && kglobalaccel5 & works fine for me, at least for kglobalshortcutsrc file. You just need to reopen settings window afterwards to see the change.

As for \\t issue: I'm using following sed command. Hope it helps someone:

sed -i '/Lock Session/s/\\\\t/\\t/g' ~/.config/kglobalshortcutsrc

-i is for edit in-place /Lock Session/ finds the proper line to edit and s/\\\\t/\\t/g changes all occurences of \\t into \t for that line.

Issuing

kquitapp5 kglobalaccel && sleep 2s && kglobalaccel5 & 

works fine for me, at least for kglobalshortcutsrc file. You just need to reopen settings window afterwards to see the change.

As for \\t issue: I'm using following sed command. Hope it helps someone:

sed -i '/Lock Session/s/\\\\t/\\t/g' ~/.config/kglobalshortcutsrc
  • -i is for edit in-place
  • /Lock Session/ finds the proper line to edit and
  • s/\\\\t/\\t/g changes all occurences of \\t into \t for that line.
Source Link

kquitapp5 kglobalaccel && sleep 2s && kglobalaccel5 & works fine for me, at least for kglobalshortcutsrc file. You just need to reopen settings window afterwards to see the change.

As for \\t issue: I'm using following sed command. Hope it helps someone:

sed -i '/Lock Session/s/\\\\t/\\t/g' ~/.config/kglobalshortcutsrc

-i is for edit in-place /Lock Session/ finds the proper line to edit and s/\\\\t/\\t/g changes all occurences of \\t into \t for that line.