3

On Ubuntu 18.04 I can setup custom keyboard shortcuts to run terminal commands via:

Settings > Devices > Keyboard > +

Name: htop keyboard shortcut
Command: htop
ShortCut: Ctrl+Super+Delete

This usually works without issue when I've created shortcuts for other terminal commands, other than htop. When I try and issue the htop to Ctrl+Super+Delete it just doesn't work.

I press Ctrl+Super+Delete and the htop system monitor doesn't initiate on my system. What's wrong? All the other keyboard shortcuts I've created in this manner are working fine.

AEM
  • 1,156
  • 2
  • 14
  • 19
Display name
  • 2,331

2 Answers2

6

WorkAround

use the command gnome-terminal -- htop instead of htop

Verified on Ubuntu 18.04

enter image description here

0

In case you want to use Terminator or something, you can use the command terminator -x htop to run it. The -x parameter in Terminator is intended to run a specified command instead of the default shell or profile command. Htop needs to be run inside a terminal, which is why you can't just use htop as a command in a shortcut.

Run htop

juanma_
  • 101