[openbox] Fw: Restart different WM

Corey Wright undefined at pobox.com
Mon Aug 9 09:09:45 EDT 2004


On Mon, 9 Aug 2004 12:33:54 +0400
"Oleg Popov" <opopov at samaratransgaz.gazprom.ru> wrote:

> > I want to add menu item for switching to another WM.
...
> > I need something like this:
> > 
> >  <item label="restart Window Maker">
> >    <action name="Restart"><execute>restart
> >    winmaker</execute></action>
> > </item>
> > or
> > 
> > item label="restart Window Maker">
> >    <action name="Restart"><restart> winmaker<restart></action>
> > </item>
> > 
> > But that not works on openbox.
> > Anyone knows how to do that?

from my debian-generated menu:

  <menu id='WindowManagers' label='WindowManagers'>
    <item label='flwm'>
      <action name='Restart'><execute>/usr/bin/flwm</execute></action>
    </item>
    <item label='Metacity'>
      <action
name='Restart'><execute>/usr/bin/metacity</execute></action>
    </item>
    <item label='Openbox'>
      <action
name='Restart'><execute>/usr/bin/openbox</execute></action>
    </item>
    <item label='XFwm'>
      <action name='Restart'><execute>xfwm4</execute></action>
    </item>
  </menu>

i just tried it and it worked (though launching xfwm4 was kinda useless
as it's just a window manager, left me without any menus, and i had no
applications open with which to launch menus or kill xfwm4).

actually, i use selectwm <http://ordiluc.net/selectwm/> to accomplish
the same and prefer it (wm agnostic, wm autodetection, edit wm entries
from within selectwm, etc).  just kill your wm and you are presented
with selectwm to choose a new wm.  and you can choose whatever wm when
starting x.
-- 
undefined at pobox.com



More information about the openbox mailing list