You are not logged in.

#1 2010-08-11 10:04:16

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

[Solved] Command to send Alt+tab to openbox

I'd like to simulate the Alt+tab behaviour in openbox from the command line. Basically I want to do something like this:

#!/bin/bash
firefox
send-openbox-cmd un-minimise firefox

I'd rather not do this by faking keystrokes but by using the window manager.

Ideally I'd prefer a way to unminimise a specified window, not really alt+tab.

Thanks for any help!

Last edited by brendan (2010-08-11 13:16:35)

Offline

#2 2010-08-11 12:24:45

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: [Solved] Command to send Alt+tab to openbox

brendan wrote:

Ideally I'd prefer a way to unminimise a specified window, not really alt+tab.

This can be done with wmctrl (in community):

wmctrl -a firefox

You may want to use -R instead. See wmctrl(1).

Offline

#3 2010-08-11 13:16:20

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

Re: [Solved] Command to send Alt+tab to openbox

Just had a little play with that at work on my ubuntu desktop and it works great! Thanks alot!

Brendan

Offline

Board footer

Powered by FluxBB