gnome-command-menu
gnome-command-menu copied to clipboard
A command to kill ssh tunnel is not working.
I have no idea why this not working.
[
{
"title": "Disconnect",
"command": "ps -lef | grep ssh | grep 1337 | awk '{print $4}' | xargs kill",
"icon": "network-error"
}
]
`
Running the command in the terminal just works.
i have the same problem: terminal works, tool - not. mine is
echo password | sudo -S ryzenadj --fast-limit=35000 --slow-limit=32000 --stapm-limit=28000
Could you try running through gnome-terminal - for e.g. -
{
"title": "Pipe",
"icon": "utilities-terminal",
"command": "gnome-terminal -- bash -c 'ls | grep Downloads; read'"
}
@arunk140 Seems an error occurs while parsing json. No command after reloading.
{
"title": "Disconnect",
"command": "gnome-terminal -- bash -c 'ps -lef | grep ssh | grep 1337 | awk \'{print $4}\' | xargs kill'",
"icon": "network-error"
}