[openbox] Go to a program if it's already running

Vlad George mail at vlad-george.de
Thu Jul 18 13:04:41 EDT 2013


Hello,

On Thu, Jul 18, 2013 at 06:17:53PM +0200, Antoine wrote:
> Hello!
> I've been an Openbox user for a while now, and it is the best
> interface known to man.
> However, there's something I never managed to do :
> Imagine you have an item in the root menu corresponding to an
> application. If the application has not been launched yet, then run
> it.
> But if the application is already running, just go to the workspace
> where the window is, and raise the window.
I think this is an application-side behaviour. Some programs, like
pidgin or firefox, behave this way.

> In an ideal world, if there are more than one window, display a
> submenu allowing to choose the wanted one.
> You'll notice that it's the habitual behavior of most "docks", like
> in Unity or even Windows. But it would be awesome to be able to do
> it with Openbox menus.
> Is there currently some hackish way to do this? I believe it would
> be a very useful feature otherwise.
You can use bash startup scripts: check if application is running and
raise it with wmctrl, or start the application in usual manner.

Vlad

-- 


More information about the openbox mailing list