1

I am running xubuntu 14.04.03 (ubuntu + xfce4) and use the gnome-system-monitor to check the processor and memory load, as well as get an overview of the running processes.

I struggle to open multiple instances of that tool. Simple calling gnome-system-monitor from different terminal windows does not help. It also does not have any sort of "new instance" options. And according to this question -- Run true multiple process instances of gnome-terminal -- it is a general problem with gnome applications. That answer provides a solution that should assign an --app-id to the gnome-terminal. That does not seem to work with the gnome-system-monitor.

I am wondering if there is an option to run any application in a new instance regardless of its options. I would want the system monitor to be assigned to a hotkey and pop-up on the current workspace in a new instance. Is there a command for that? Like exec gnome-system-monitor --new-instance.

Thank you!

  • There's no app-id in this case... You'll have to wait for gnome-system-monitor to be fully ported to gapplication and hope that one of the actions will be new-window. – don_crissti Jan 15 '16 at 14:05
1

I know this answer is slow but I had the same problem and solved it this way:

  1. Open system monitor using whatever method (gnome-system-monitor).

  2. Open the next instance with sudo (sudo gnome-system-monitor).

This only gives you two instances but for me that is enough. I automated it with a script like this:

#!/bin/bash

gnome-system-monitor &
printf '<PASSWORD>\n' | sudo -S gnome-system-monitor

It isn't ideal that the password is in the file but at least you can make sure that no other users on the system can read the file.

  • Ha! That's a good one – Ufos Jan 6 '17 at 10:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.