OnWorks favicon

lwm - Online in the Cloud

Run lwm in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lwm that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



lwm - Lightweight Window Manager for the X Window System


lwm [ -s session-id ]


Lwm is a window manager for the X Window System. It provides enough features to allow the
user to manage their windows, and no more.

Windows are surrounded by a frame with a titlebar at the top next to a small box. The
frame is a grey colour for all windows except that which has the input focus, where it is

In the default configuration, lwm uses the enter-to-focus scheme, where moving the pointer
into a window gives that window the input focus. Lwm may also be configured to use the
click-to-focus scheme, where a window must be clicked on (with any button) to receive the
input focus. Clicking on a window in this mode causes the window to be raised. Note that a
click used to focus a window is always swallowed by lwm, so clicking a button in a new
window requires two clicks.

A button 1 click on a window frame brings that window to the top. Dragging button 1 on the
frame of a resizable window repositions that edge of the window. If a corner rather than
an edge is dragged, then both edges forming the corner are repositioned. While you're
reshaping a window, a little window pops up to show you the window's current size.

In the default configuration, button 1 on the root window does nothing.

Button 2 is used to drag a window by its frame, repositioning the window but maintaining
its position in the window stack.

In the default configuration, button 2 on the root window brings up a new shell.

A button 3 click on a window frame hides that window. Pressing button 3 on the root
window brings up a menu of all the hidden windows. Releasing the button while over an
item will unhide the named window.

A button 3 click in the frame while Shift is held down pushes the window to the back,
under any other windows. (Users with 4-button mice are encouraged to use their fourth
button for this function.)

A click with any button inside the little white box in a window's frame can be used to
close the window.


Lwm accepts the following command line options:

-s specifies a client ID for the X Session Management system, and is used exclusively
by session managers.


Lwm understands the following X resources:

titlefont font used in window titles

popupFont font used in popup window (menu/size indicator)

border width in pixels of window borders

button1 program spawned when button 1 is clicked on the root window

button2 program spawned when button 2 is clicked on the root window

focus focus mode, one of "enter" for enter-to-focus (or sloppy focus), or "click"
for click-to-focus

Use lwm online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 2
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Download libusb
  • 3
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    Download SWIG
  • 4
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 5
    Package repo for ArchLabs This is an
    application that can also be fetched
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 6
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • More »

Linux commands

  • 1
    4s-import � Import RDF into a 4store KB
    Run 4s-importJ
  • 2
    4s-query � Run SPARQL queries on a
    4store storage backend ...
    Run 4s-queryJ
  • 3
    cpuburn, burnBX, burnK6, burnK7,
    burnMMX, burnP5, burnP6 - a collection
    of programs to put heavy load on CPU ...
    Run cpuburn
  • 4
    cpufreq-aperf - Calculates the average
    frequency over a time period SYNTAX:
    cpufreq-aperf [options] DESCRIPTION: On
    latest processors exist two MSR
    registers r...
    Run cpufreq-aperf
  • 5
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • 6
    g.extension - Maintains GRASS Addons
    extensions in local GRASS installation.
    Downloads, installs extensions from
    GRASS Addons SVN repository into local
    GRASS i...
    Run g.extensiongrass
  • More »