OnWorks favicon

choosewm - Online in the Cloud

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

This is the command choosewm 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



choosewm - Select a window manager to be used.


choosewm [-f] [-p] [-t]
choosewm [-t] -c


choosewm presents a window to let the user choose a window manager to start. By default
it shows everything registered as window manager at the Debian menu system, but it allows
global and local configuration to change that data.


-c, --config
Allow the user to change the default. Beside telling choosewm to not start the
chosen window manger, this mostly changes the text of some buttons and labels

-f, --force
Show the selection window unconditionally.

-p, --print
Do not start the window-manager, but print it to stdout.

-t, --text
Do not ask by opening an X11 window, but ask on the terminal. Needs a terminal as
stdin. This is activated by default with -c and DISPLAY not set.


After reading /var/lib/choosewm/windowmanagers, treating anything before a equal (=) sign
in a line a name and everything after that as window manager path, choosewm checks
/etc/X11/choosewm/config and after that by default .choosewm/config in the user's $HOME-
directory. Lines containing only spaces or starting with a # are ignored. Every other
line may contain one of the following commands:

add: name=path
Add an additional window manager to the list. name will be shown in the list, path
will be started.

This option is only useful to add something that should be only added to this list.
If you installed a window manager by hand, please consider to register it in the
Debian menu instead. That way all potent enough window managers will be able to
offer switching to that window manager by menu.

remove: path
Do not list the window manager with path in the list to choose from.

default: defaultwindowmanagerpath
Use the window manager defaultwindowmanagerpath as default, when no last selection
of the window manager is available.

userconf: filename
Read the user's config from $(HOME)/filename. If filename is -, no user config is

Default is .choosewm/config

dontaskfile: filename
Create the file $(HOME)/filename, if the user selected to not be asked about the
window manger, and do not ask if this file is present. (Unless -f is command line

Default is .choosewm/dontask

lastdecisionfile: filename
Read the last decision from the file $(HOME)/filename, and save the decision of the
user there.

Default is .choosewm/lastwm

inalias: oldold=newpath
If the last decision is oldpath, change it to newpath.

askalias: oldold=newpath
If the last decision is oldpath, change it to newpath and force showing of the
selection window.

outalias: path=output
If the user has chosen path as window manager, write instead output to the file as
new last decision.

sTAG: text
Are used to set strings to be shown to the user in labels, buttons or headers. The
CONFIGTAG variants are used with -c.

The following are the currently definied Tags and their default values:
sCONFIGHEADER: Choose default Window Manager
sHEADER: Choose Window Manager
sCONFIGWELCOME: Please choose the default window manager and whether to reask at
start time.
sWELCOME: Welcome, please select a Window manager to use.
sCONFIGASK: _Ask when starting
sASK: _Ask again at every login
sSELECT: _Start
sCANCEL: _Log out


HOME The current home directory of the current user.

If no default is specified in the config files nor by the user's last choice, the
content of this environment variable is tried before the path /etc/alternatives/x-
window-manager is pointing to is tried.

Use choosewm online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

Linux commands

  • 1
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 2
    abicompat - check ABI compatibility
    abicompat checks that an application
    that links against a given shared
    library is still ABI compatible with a
    subsequent ve...
    Run abicompat
  • 3
    cpphs - liberalised cpp-a-like
    preprocessor for Haskell ...
    Run cpphs-hugs
  • 4
    cpphs - liberalised cpp-a-like
    preprocessor for Haskell ...
    Run cpphs
  • 5
    gbase - small numeric base converter ...
    Run gbase
  • 6
    gbbin - A program to bin data ...
    Run gbbin
  • More »