Debian – How to determine which window managers are installed from the command line

command linedebianwindow-manager

How can I determine which window managers are installed from the command line? I use Ubuntu.


I know that:

Best Answer

There's no way to find all window managers programmatically because any program could potentially act as a window manager and it's impossible to write a program that knows what an arbitrary program does. However, if you limit the search to window managers provided by a Debian package, there's an easy way. All window managers in Debian provide the x-window-manager alternative.

update-alternatives --list x-window-manager
Related Question