Solved Tasklist menu in JWM

How do I add options like "Move" to the Tasklist menu in JWM?

The more recent versions of JWM group window tasks together in the tray bar. When I right click it, it shows: Send to, Restore, Minimize and Close. I want to move the windows to one monitor, by clicking on the task bar, such as when they're off that screen.
 
How do I add options like "Move" to the Tasklist menu in JWM?

The more recent versions of JWM group window tasks together in the tray bar. When I right click it, it shows: Send to, Restore, Minimize and Close. I want to move the windows to one monitor, by clicking on the task bar, such as when they're off that screen.
It would be good if you share the configuration and customization of jwm.
 
I think it has to do with the newer JWM upgrade than this...
Code:
<?xml version="1.0"?>
<JWM>

    <!-- The root menu. -->
    <RootMenu onroot="12">
        <Program icon="rxvt.png" label="Terminal">rxvt</Program>
        <Program icon="xterm.png" label="Terminal">xterm</Program>
    <Menu label="Internet">
        <Program label="Firefox">firefox</Program>
        <Program label="Thunderbird">thunderbird</Program>
        <Program icon="chat.png" label="Gajim">gajim</Program>
        <Program icon="chat.png" label="Pidgin">pidgin</Program>
        <Program label="Hexchat">hexchat</Program>
    </Menu>

    <Menu label="Desk">
        <Program label="Featherpad">featherpad</Program>
        <Program label="Xcalc">xcalc</Program>

    </Menu>

    <Menu icon="folder.png" label="Multimedia">
        <Program icon="music.png" label="Deadbeef">deadbeef</Program>
        <Program label="Geeqie">geeqie</Program>
    </Menu>
   
    <!--Menu icon="folder.png" label="Applications">
           
            <Program label=""></Program>
    </Menu-->
   
    <Menu icon="folder.png" label="Utilities">
            <Program icon="font.png" label="Fonts">xfontsel</Program>
            <Program icon="window.png" label="Window Properties">
                xprop | xmessage -file -
            </Program>
            <Program icon="window.png" label="Window Information">
                xwininfo | xmessage -file -
            </Program>
    </Menu>
        <Separator/>
        <Program icon="lock.png" label="Lock">
            xlock -mode blank
        </Program>
        <Separator/>
        <Restart label="Restart" icon="restart.png"/>
        <Exit label="Exit" confirm="true" icon="quit.png"/>
        <Move label="move" />
    </RootMenu>

    <!-- Options for program groups. -->
    <Group>
        <Option>tiled</Option>
        <Option>aerosnap</Option>
        <Option>constrain</Option>
    </Group>
    <Group>
        <Class>Pidgin</Class>
        <Option>sticky</Option>
    </Group>
    <Group>
        <Name>xterm</Name>
        <Option>vmax</Option>
    </Group>
    <Group>
        <Name>xclock</Name>
        <Option>drag</Option>
        <Option>notitle</Option>
    </Group>

    <Group>
        <Name>urxvt</Name><Name>wmmoonclock</Name>
        <Option>noborder</Option>
        <Option>sticky</Option>
        <Option>nopager</Option>
        <Option>nolist</Option>
        <Option>layer:below</Option>
    </Group>


   

    <!-- Tray at the top. -->
    <Tray x="1700" y="3" autohide="off">

        <TrayButton icon="jwm-blue">root:1</TrayButton>
        <Spacer width="4"/>
        <TrayButton label="_">showdesktop</TrayButton>
        <Spacer width="2"/>

        <Pager labeled="true"/>

        <TaskList maxwidth="128"/>

        <Dock/>
      
       
        <Clock  format="%R %b %d | %a " zone="America/Chicago"></Clock>
    </Tray>


  


    <!-- Visual Styles -->
    <WindowStyle>
        <Font>Sans-9:bold</Font>
        <Width>4</Width>
        <Height>21</Height>
        <Corner>3</Corner>
        <Foreground>#FFFFFF</Foreground>
        <Background>#555555</Background>
        <Outline>#000000</Outline>
        <Opacity>0.5</Opacity>
        <Active>
            <Foreground>#FFFFFF</Foreground>
            <Background>#0077CC</Background>
            <Outline>#000000</Outline>
            <Opacity>1.0</Opacity>
        </Active>
    </WindowStyle>
    <TrayStyle group="true" list="all">
        <Font>Sans-9</Font>
        <Background>#333333</Background>
        <Foreground>#FFFFFF</Foreground>
        <Outline>#000000</Outline>
        <Opacity>0.75</Opacity>
    </TrayStyle>
    <TaskListStyle>
      <Font>Sans-9</Font>
      <Active>
        <Foreground>#FFFFFF</Foreground>
        <Background>#555555</Background>
      </Active>
      <Foreground>#FFFFFF</Foreground>
      <Background>#333333</Background>
    </TaskListStyle>
    <PagerStyle>
        <Outline>#000000</Outline>
        <Foreground>#555555</Foreground>
        <Background>#333333</Background>
        <Text>#FFFFFF</Text>
        <Active>
            <Foreground>#0077CC</Foreground>
            <Background>#004488</Background>
        </Active>
    </PagerStyle>
    <MenuStyle>
        <Font>Sans-9</Font>
        <Foreground>#FFFFFF</Foreground>
        <Background>#333333</Background>
        <Outline>#000000</Outline>
        <Active>
            <Foreground>#FFFFFF</Foreground>
            <Background>#0077CC</Background>
        </Active>
        <Opacity>0.85</Opacity>
    </MenuStyle>
    <PopupStyle>
        <Font>Sans-9</Font>
        <Foreground>#000000</Foreground>
        <Background>#999999</Background>
    </PopupStyle>

    <!-- Path where icons can be found.
         IconPath can be listed multiple times to allow searching
         for icons in multiple paths.
      -->
    <IconPath>
        $HOME/.icons
        /usr/local/share/icons
        /usr/local/share/pixmaps
        /usr/local/lib/X11/icons
    </IconPath>
    <IconPath>
        /usr/local/share/jwm
    </IconPath>

    <!-- Virtual Desktops -->
    <!-- Desktop tags can be contained within Desktops for desktop names. -->
    <Desktops width="2" height="1">
        <!-- Default background. Note that a Background tag can be
              contained within a Desktop tag to give a specific background
              for that desktop.
         -->
        <Background type="solid">#111111</Background>
    </Desktops>

<StartupCommand>xscreensaver</StartupCommand>
<StartupCommand>urxvt -bg black -fg white +sb -uc -bc -geometry 85x21+25+30</StartupCommand>
<StartupCommand>urxvt -bg black -fg white +sb -uc -bc -geometry 85x22+25-5</StartupCommand>
<StartupCommand>urxvt -bg black -fg white +sb -uc -bc -geometry 78x16-5+50 -fn "xft:pixelsize=11"</StartupCommand>
<StartupCommand>urxvt -bg black -fg white +sb -uc -bc -geometry 78x16-5+380 -fn "xft:pixelsize=11"</StartupCommand>
<StartupCommand>gvolwheel</StartupCommand>
<StartupCommand>osdwheel d d d d</StartupCommand>
<StartupCommand>wmmoonclock</StartupCommand>
    <!-- Double click speed (in milliseconds) -->
    <DoubleClickSpeed>400</DoubleClickSpeed>

    <!-- Double click delta (in pixels) -->
    <DoubleClickDelta>2</DoubleClickDelta>

    <!-- The focus model (sloppy or click) -->
    <FocusModel>sloppy</FocusModel>

    <!-- The snap mode (none, screen, or border) -->
    <SnapMode distance="10">border</SnapMode>

    <!-- The move mode (outline or opaque) -->
    <MoveMode>opaque</MoveMode>

    <!-- The resize mode (outline or opaque) -->
    <ResizeMode>opaque</ResizeMode>

    <!-- Key bindings -->
    <Key key="Up">up</Key>
    <Key key="Down">down</Key>
    <Key key="Right">right</Key>
    <Key key="Left">left</Key>
    <Key key="h">left</Key>
    <Key key="j">down</Key>
    <Key key="k">up</Key>
    <Key key="l">right</Key>
    <Key key="Return">select</Key>
    <Key key="Escape">escape</Key>

    <Key mask="A" key="Tab">nextstacked</Key>
    <Key mask="A" key="F4">close</Key>
    <Key mask="A" key="#">desktop#</Key>
    <Key mask="A" key="F1">root:1</Key>
    <Key mask="A" key="F2">window</Key>
    <Key mask="A" key="F10">maximize</Key>
    <Key mask="A" key="Right">rdesktop</Key>
    <Key mask="A" key="Left">ldesktop</Key>
    <Key mask="A" key="Up">udesktop</Key>
    <Key mask="A" key="Down">ddesktop</Key>

</JWM>
 
I found out how to access the tasklist menu options from the task-bar in JWM.

Right-click in the taskbar on the application, then right-click the first one in the menu. The options show up, of: move or restore, stick, layer, send to...

This is useful, for when I switch one monitor for use as a television, and I want to move an application over to the monitor that has the taskbar on it. Without this, I would have to switch the screen back to monitor mode to move it to the other monitor, or guess where I'm aiming the mouse off-screen.
 
I found out how to access the tasklist menu options from the task-bar in JWM.

Right-click in the taskbar on the application, then right-click the first one in the menu. The options show up, of: move or restore, stick, layer, send to...

This is useful, for when I switch one monitor for use as a television, and I want to move an application over to the monitor that has the taskbar on it. Without this, I would have to switch the screen back to monitor mode to move it to the other monitor, or guess where I'm aiming the mouse off-screen.

Hello sidetone, how to add or create application launcher in the jwm taskbar? For example, I would like to add the battery icons on the left side, and a browser on the right side, all that in the taskbar.
 
Back
Top