[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to switch to chromium window via script



On Thu, Mar 27, 2014 at 12:54:31PM +0800, jidanni@jidanni.org wrote:
> I did
> $ chromium &
> $ chromium
> and it does what I want: opens another tab in the running chromium.
> Alas it doesn't raise the chromium window, and I have to manually switch
> to in via ALT TAB or clicking, here in icewm.
> 
> What shell command can I put in a wrapper to cause the switch?

Not tried it myself, but "wmctrl -a Chromium" should work (where
"Chromium" is a string that is searched for in the titles of windows.
See the man page for more details.

> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 87ob0sz1fc.fsf@jidanni.org">https://lists.debian.org/[🔎] 87ob0sz1fc.fsf@jidanni.org
> 

Attachment: signature.asc
Description: Digital signature


Reply to: