obnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 3 个月前Noicelemmy.imagisphe.reimagemessage-square122linkfedilinkarrow-up1488arrow-down111
arrow-up1477arrow-down1imageNoicelemmy.imagisphe.reobnomus@lemmy.ml to linuxmemes@lemmy.worldEnglish · 3 个月前message-square122linkfedilink
minus-squareMountainaire@lemmy.worldlinkfedilinkarrow-up2·3 个月前I figured it out, at least in Linux Mint: Install Keysharp (which includes installing Microsoft’s .NET 10 Runtime, but not SDK!) Put this in a .ks folder: !s::{ ; Press Alt+S to use sudo on the previous Terminal line KeyWait 's' If WinActive('ahk_exe gnome-terminal-server') Send 'sudo {!}{!}{Enter}' } Set it as a Startup Program with the command keysharp "(filepath)/(filename).ks" and it’ll always be ready to go!
Ah oki lol
I figured it out, at least in Linux Mint:
.ksfolder:Set it as a Startup Program with the command
keysharp "(filepath)/(filename).ks"and it’ll always be ready to go!