start program without focus?

Chris Green cl at isbd.net
Wed Dec 28 12:41:04 CET 2016


Ulli Horlacher <framstag at rus.uni-stuttgart.de> wrote:
> On Sun 2016-12-25 (19:16), Chris Green wrote:
> > On Sun, Dec 25, 2016 at 10:40:20AM +0100, Ulli Horlacher wrote:
> > 
> > > Can I start a program without giving it the focus?
> > > 
> > > For example, I run "xmessage hello &" but I want to keep the focus in the
> > > current xterm.
> > > 
> > 
> > Yes, in Settings -> Window Manager you need to unset "Automatically
> > give focus to newly created windows".
> 
> No, I want it just for one program, I do not want to change the default!
> 
OK, you probably need a utility like wmctrl (command line) or
devilspie (gui) then.  They will allow you to do things to specific
windows.

-- 
Chris Green
ยท



More information about the Xfce mailing list