FG
💻 Software

Limit a gui program in Linux to only one instance

Fresh7 days ago
Mar 15, 20264989 views
Confidence Score0%
0%

Problem

There are some gui programs where if you select them from the menu, if it is already open, instead of opening a new instance, that window will become foremost. However, there are some programs that will open multiple instances of themselves. There is a certain program that exhibits the latter behav…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Limit a gui program in Linux to only one instance

Low Risk

I would recommend replacing the link to the program with a link to a shell script that checks if the program is running, and if it is, it uses the window manager's function to bring the program foremost, and if it isn't, starts it.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment