Recommended Posts

homepage: http://modeemi.cs.tut.fi/~tuomov/pwm/

before I start, I would just like to point out that I am not an expert/know it all on the subject of pwm, but I think I've got far enough with it that I'm posting a guide that may help anyone just starting with this wm, or thinking of switching to another one.. but enough of me blabbing about my inadequcies :p

Introduction to PWM:

PWM is one of the more uncommon window managers out there (if the lack of screenshots in the monthly Desktops thread that featrue it is anything to go by, that is :p)

PWM doesn't use a taskbar or desktop icons. PWM is also ultra lightweight. I've heard fluxbox and many others called "lightweight" (which to fair, they are) but PWM loads up in under a second for me, whereas fluxbox can take 10 seconds or more... talk about impatiance...

Unfortunately pwm in not EWMH compliant, meaning that it may not work with many desktop pagers and panels, programs to enable desktop icons etc. This "feature" may well put people off..

As for system trays etc. I find that if a certain app was designed to work with a systray / dockapp in another wm, it will work for pwm. eg both Rhythmbox and Gaim work with the Gnome panel (whch I'm now using as systray / clock). The same can't be saud for desktop and window pagers..

Having said that, I like pwm for a number of reasons:

-It uses tabs (titlebars that can be shorter than the width of the window)

-Mutiple windows can be attatched to the same frame

-It is very unobtrusive

-Mouse actions are *very* configurable

pwmexample23kw.th.jpg

This is a screenshot of my own desktop using pwm (and yet another picture from the lake district in England, as usual :p)

Note the mutiple xterms in the same frame (middle right) and the docker (bottom left).

I use xclock as there is no default panel (and no panel that in my experience works correctly).

I've arranged the tabs into a make-shift taskbar (which I find works really quite well) and have most of my windows shaded at any one time. I've also changed my theme to make sure that a tab / titlebar of a window will not exceed 0.3 of the length of the window itself..

Using PWM:

Menus:

The default way to access the main PWM menu (root menu) is by right clicking the desktop (or root window, or root context). Although as mention above, this mouse action is configurable.

You actually have to click the labels on submenus to get them to open (this took me a minute to figure out :p). I've gotten to like this feature however. It means that I can't accidentally roll over the Debian --> Apps --> System submenu and have my desktop flooded with said huge submenu..

Alternatively you can hold the mouse button down, navigate through the menu and release on the itme you want. (This is the behaviour the client window menu uses). I'm not going to go into exhaustive detail on how to use menus however, I trust most of you to work it out ;)

Middle clicking the desktop will bring up the "Goto Window" menu.

Move and Resizing windows:

As usual, you can move windows by dragging their taskbar, and resize them by stretching the borders. PWM also supports Alt-dragging the left or right mouse button on any part of the window to move or resize it, as many window managers now do. As always, this behaviour is completely configurable.

To shade/maximze/iconfy a window, use use the appropriate option of the client window. There are no buttons on the titlebar / tab as with with many other wms. The default double click on a tab action is to shade the window.

Yet again, all these options can be changed.

Multiple Desktops (or workspaces):

The main complaint I have with pwm is the way it handles this. You can send a window to another workspace from the "send to ws" submenu of each client window's menu. However, the only way to goto another workspace (aside from keyboard shortcut Alt-1 to Alt-6 - 6 workspaces by default) is to call up the Goto Window menu (middle click on desktop by default) and select a window that is already in another workspace.

Multiple Windows in the same frame:

Use the middle mouse button to drag the titlebar / tab of one window ontop of another, and they will merge into the same frame, taking up as much space as just one window. To reverse the process, middle button drag one window onto a free area of the desktop. Alternately, use the client window menu (right click window frame) and use the attach / detach options.

When two windows are sharing the frame, middle click the part of the appropriate part of the titlebar / tab to make that window visible.

Configuring PWM

And now, the bit you probably haven't been waiting with baited breath for... Configuring pwm involves editing the raw text files, so it will help if you are used to doing that sort of thing..

On the other hand, backup all the pwm .conf files and you could get some really handy practise with editing raw configuration text files for your own needs - a really useful skill under any *nix system - in an enviroment as harmless as getting your wm to look nice ;)

pwm.conf : Use this file to point to your other config files (menus.conf, keys-default.conf and buttons-default.conf by default). You can also choose your pwm theme with this file.

The other neat thing that can be achieved with this file is making all windows of one type of app appear in the same frame by default. (You may like to have all your xterms confine themselves to the same frame so they don't fill the entire screen).

#
# PWM sample configuration file
#

include "menus.conf"
include "keys-default.conf"
include "buttons-default.conf"

screen 0 {
	include "look-brownsteel.conf"

	workspaces 2

	dock "-0-0"
}


# Uncomment the below to have all netscape main windows placed in the
# same frame.
#
# winprop "Netscape.Navigator" {
#	frame 10
# }

menus.conf : Use this to define the submenus and entries for your root menu and context menus. You can also include other menu .conf files if you wish.

The syntax for an entry in a menu is as follows:

entry "label", "keyword"

You can also use the following syntax to define an entry that will execute any shell command:

entry, "label", "exec", "my_custom_command"

-edit- When you write a menu that is to be a submenu of another, make sure the parent window is *below* the submenu. -/edit-

keys-default.conf : This file contains all the keybindings that you can use in pwm. The syntax is very similar to that of the menu.conf file. Just look at the default enties to find the keywords and the syntax understood by pwm, and change or recreate them to your own needs.

buttons-default.conf : This file contains all the mouse-button bindings to be used in pwm. You can define actions for different buttons in any context (eg top left corner) and keyboard modifiers as well. You could have your own custom menus come up when you click a certian part of the window frame or anything, really.

Look carefully at the syntax used in this file, you really can do a lot with all the various options you're given. Again, look at the keywords etc given by the default button bindings - I'm not gonig to explain them here. (Indeed - I have to look at the mouse button bindings already there to remember the exact keywords available).

Custom Themes:

Since themes are just plain text files, it would be easy to write your own.

Again, my advice would be to look carefully at the syntax and keywords used by existy theme files, and copy them and change the values to create your own themes.

You can basically change the text font / colour and the colours on the frames and tabs.

Conclusion

I hope this guide will give you an insight into the lightweight window manager that is pwm. Hopefully someone may try pwm and not get stuck so quickly as a result of this guide.

Thanks for taking the time to read it ^.^

Corrections / Suggestions:

If anyone notices anything incorrect, or if you can add any information, or if you can help me re-word certain parts (writing not being my strong point...) please feel free to reply to this thread, pm or email me. All suggestions / corrections much appreciated.

Edited by theotherdave
Link to comment
https://www.neowin.net/forum/topic/358566-introduction-to-pwm/
Share on other sites

Wow. And I thought *box was pretty minimalistic! :p (not so much any more, as I see people using desktop icons - which I find I dislike - in flux and such).

I remember uisng TWM (?) early on with my first time using Linux, and this reminds me of an advanced version of that.

I'm only using PWM, I'm afraid. PWM2 was essentially a wm designed to handle "desktops with floating windows" for the Ion wm.

As far as I know, PWM2 is also only available as part of the Ion wm package, not as a standalone wm.

Configuring PWM2 involves learning the Lua scripting language. While PWM2 looks like PWM (and is obviously based on it), configuring them is completely different. There are also a few minor behavioural differences that have made me stick with the original PWM.

Basically, *I* wouldn't use PWM2, and this guide certainly only applies to the original.

If it helps, PWM is Unicode complient, but has no config tools that I have come accross. It would be easy enough to write menu editing GUIs or whatever, if you wished, as all options are stored a plain text files..

If you're using debian, you can do

sudo apt-get build-dep pwm
--or-
sudo apt-get install pwm

to install with no hassle. I'm sure other package managers will install pwm just as easily. It's just a matter of finding a repository for it.

As for the gnome tray, I installed 'docker' which is a window maker dock-app that acts a systray.

As for getting the windows to float.. how do you mean? I just move them..

If you mean in Ion, you can create a new "floating workspace" by pressing F9, giving your workspace a name and then choosing WFloatWS to create a workspace using PWM2 as the wm.

Yea I use Gentoo. That float thing apparently works for ion3 as well. Had a bit of fun with Ion3, cute idea of a WM. It definitely takes a bit of getting used to. I definitely love how F1 opens prompt for man, F2 opoens terminal, F3 prompts you to run a command etc, that is really neat. However my monitor is 1280x960 and if you split the windows, they become a bit small to work with. PWM would definitely be a bit useful to allow some kind of cascading-grouping features.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • BATorrent 4.1.0 by Razvan Serea BATorrent is a lightweight, open-source BitTorrent client built with modern C++ and Qt 6, offering a clean, fast, and privacy-focused alternative to traditional torrent apps. It supports magnet links, .torrent files, resume data, sequential downloading, per-file priorities, and even imports from qBittorrent. Power users benefit from integrated RSS auto-download with regex filtering, duplicate detection, and automatic tracker lists from Stremio. Streaming is seamless thanks to auto-detected players like VLC and IINA. BATorrent includes robust VPN tools—interface binding, auto-detection for WireGuard-based services like Mullvad and NordLynx, kill switch, proxy support, and IP filtering. A full WebUI enables remote control, while integrations with Plex, Jellyfin, and Emby automate library updates. With themes, speed scheduling, system-tray alerts, and cross-platform support for Windows, Linux, and macOS, BATorrent delivers a polished, high-performance torrenting experience. BATorrent features: Core .torrent file and magnet link support Resume data — picks up where you left off after restart Import torrents from qBittorrent Create .torrent files from any file or folder Sequential download mode Per-file priority control (skip, low, normal, high) Seed ratio limits with auto-pause DHT, PEX, UPnP, NAT-PMP RSS Auto-Download Subscribe to RSS feeds — automatically download new torrents as they appear Regex filters — match only what you want (e.g. 1080p|720p, S01E\d+) Per-feed settings — custom save path, check interval (5–1440 min), enable/disable Auto-download — matched items are downloaded automatically in the background Supports magnet links, .torrent URLs, and tags Tray notifications when items are auto-downloaded Duplicate detection — never downloads the same item twice Stremio Stremio Addon System pre-installed — works out of the box Auto tracker list from ngosang/trackerslist Streaming Play while downloading — stream video files before the download is complete Supports mp4, mkv, avi, mov, wmv, flv, webm, m4v, ts Auto-detects installed players (VLC, IINA, system default) VPN & Privacy Interface binding — lock torrent traffic to a specific network interface (e.g. tun0) Auto VPN detection — identifies VPN interfaces (tun, tap, WireGuard, Mullvad, NordLynx, ProtonVPN) Kill switch — automatically pauses all torrents if the VPN interface drops Auto-resume — resumes only the torrents paused by the kill switch when VPN reconnects Proxy support — SOCKS5 and HTTP proxy with optional authentication IP filtering — load P2P blocklists to block unwanted IP ranges Protocol encryption (enabled / forced / disabled) WebUI Remote management — control torrents from any browser at http://localhost:8080 REST API with JSON responses Add torrents via magnet link or .torrent upload Pause, resume, remove torrents remotely View peers and files per torrent Dark theme matching the desktop app HTTP Basic Auth with SHA-256 password hashing Configurable port and remote access (localhost vs 0.0.0.0) Interface 3 themes: Dark, Light, Midnight (bat/vampire aesthetic) Real-time speed graph Detailed panel with tabs: General, Peers, Files, Trackers Filter bar: search by name, filter by state (Active, Downloading, Seeding, Paused, Finished) Drag & drop .torrent files and magnet links Drag & drop reorder in torrent list System tray with notifications (download complete, kill switch events, RSS auto-downloads) Splash screen with bat animation Bilingual: English and Portuguese (BR), auto-detected from system locale Bandwidth Scheduler Alternative speed limits — set different download/upload limits on a schedule Time range — configure active hours (e.g. 01:00 to 07:00), supports overnight ranges Per-day control — choose which days of the week the schedule applies Automatically switches between normal and alternative speeds Media Server Integration Plex — automatically trigger library scan when a download completes Jellyfin / Emby — same automatic library refresh via API Configure server URL and authentication token/key in Settings System Cross-platform: Windows, Linux, macOS Auto-shutdown — automatically shut down PC when all downloads complete (60s cancellable countdown) Auto-update system (AppImage on Linux, installer on Windows, DMG on macOS) CLI arguments: pass .torrent files or magnet: URIs directly Keyboard shortcuts: Space to toggle pause, Ctrl+A to select all, Ctrl+O to open BATorrent 4.1.0 release notes: A community-driven release: everything here came straight from your reports and requests. It closes the remaining gaps with qBittorrent and fixes the Windows settings/tray/splash issues several of you hit. Fixed Settings now actually save. A whole class of preferences — speed limits (and the alternative limits), max active downloads, seed ratio, listen port, max connections, DHT/uTP/encryption, VPN interface, kill switch and proxy — weren't being persisted and reset to defaults on every launch. They now round-trip correctly. (Thanks to everyone who reported "the upload limit always goes back to 0".) Splash and tray toggles stick on Windows. Turning off the startup animation (or "close to tray") no longer reverts — the Windows registry stored these booleans as integers and the UI was misreading them. Close-to-tray hint. The first time the window hides to the tray you get a one-time notification, so the app doesn't look like it vanished (Windows 11 tucks new tray icons into the overflow). macOS Dock icon size. The icon filled its canvas edge-to-edge and rendered larger than neighbouring apps; it now uses the standard safe-area padding. Native file picker language. The "Torrent file / All files" filter in the open dialog follows the app language instead of being hard-coded. Added — qBittorrent parity Alternative speed limits toggle — a turtle button in the toolbar flips your throttled limits on/off instantly, independent of the scheduler. Follow system theme — switch light/dark automatically with the OS (Settings → Appearance). Pre-allocate disk space — reserve the full file size up front to reduce fragmentation (Settings → Downloads). Recheck data on add — optionally force a hash check when adding a torrent, so existing or partial files on disk are detected. Port status indicator — a 🔴 dot in the status bar shows whether your listen port looks reachable (UPnP/NAT-PMP + listen state; fully local, no external check). Add torrent from URL — File → Add torrent from URL (Ctrl+U) fetches a remote .torrent and routes it through the normal add dialog. Export .torrent — right-click a torrent → Export .torrent to save its metadata file. Already there (in case you missed it) Watch folder — auto-add .torrent files dropped into a monitored directory (Settings → Files). This release just surfaces it. Incomplete files already carry a .!bt suffix until they finish. Under the hood Regression tests for the settings-persistence and Windows boolean bugs. A new Qt Quick Test harness covering the startup splash and the design-system widgets. Download: BATorrent 4.1.0 | 37.5 MB (Open Source) Download: BATorrent Portable | 51.7 MB Links: BATorrent Website | Screenshot | Changelog Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Disabling open on hover, great! That was so stupid! They need to do a fix, where if a network share is disconnected, it doesn't hang when opening "This PC" for 20 seconds.
    • Microsoft releases major feature updates for stock Windows 11 apps by Taras Buria In addition to releasing new Windows 11 preview builds, Microsoft announced that inbox Windows apps now have dedicated release notes in the official documentation. At long last, users have access to all the release notes for each app, with changes listed in chronological order. Microsoft used to announce feature updates for stock apps with each build. Now, with Windows Insider release notes hosted on the Microsoft Learn website, each app has a dedicated space for its changelog, which is very useful for those who want to track new features and improvements. Alongside that, Microsoft dropped massive feature updates for six stock apps: Clock, Media Player, Calculator, Voice Recorder, Photos, and Paint. Each app packs quite a lot of changes and new capabilities, so here are the release notes. Here are quick notes so that you can jump to the app you are interested in the most: Calculator Camera Clock Media Player Paint Photos Sound Recorder Here is what is new for the Calculator in version 11.2605.9.0: More accurate square-root results — Fixed rare cases where a calculation that should equal zero (like sqrt(2.25) - 1.5) returned a tiny leftover value instead. Readable text in High Contrast themes — Settings text now shows the correct colors in the High Contrast Aquatic and Desert themes. Fixed layout for right-to-left languages — For languages like Arabic and Hebrew, the graph, number pad, equation fields, and scroll buttons now appear correctly oriented. Reliable launch after upgrading — Fixed an issue where upgrading from much older versions could leave outdated settings that stopped the app from opening. Here is what is new for the Camera app (version 2026.2605.7.0): Zoom slider works on more cameras — The zoom slider now works on the latest cameras, respects your system zoom settings, and updates instantly when you change those settings. Full range of zoom levels — Fixed an issue where the zoom slider only showed three steps on some devices that zoom in finer increments. Front camera works on more devices — Resolved a problem that blocked the front-facing camera on certain wide-angle devices. More video resolution choices — You can now pick video resolutions that were previously hidden; the app shows a heads-up warning instead of removing them. QR links you can still use — When a scanned QR code points to something with no matching app, the link is now copied to your clipboard (with a notification) while still offering a Store search. Smarter default settings — When you haven't set a preference, the app now follows your system settings by default. The Clock app has a massive changelog with the following improvements in version 11.2605.9.0: Timers keep counting after they hit zero — When a timer runs out, it now keeps counting up (for example, -00:27:31) so you can see how far past the time you've gone. You can turn off the daily goal — Focus Sessions now include an "Off" option so you can skip setting a daily goal entirely. New 15-minute snooze option — Alarms now offer a 15-minute snooze interval. Run up to 3 countdowns at once — The Countdown Widget now supports three simultaneous countdowns, up from two. Timer Widget notifications now appear — Fixed an issue where the "timer finished" notification didn't show when the timer was started from the widget. Less clutter in Focus Sessions — Tasks you've already completed no longer show up in the Focus Session task list. More accurate focus progress — Fixed a rounding issue that could show your daily focus progress as a minute short (for example, 49 minutes instead of 50). Smoother World Clock comparisons — The World Clock compare page now loads dates as you scroll, so it feels more responsive. Up-to-date World Clock locations — Refreshed country and city names to match their current names. Correct sun and moon icons during midnight sun — Fixed an icon that wrongly showed a moon during all-day daylight in polar regions. Fixed back-button behavior in clock comparisons — Pressing back once now takes you back as expected, instead of jumping the date to 1926. Corrected the Newfoundland time zone — Newfoundland now uses the right time zone (St. John's). Disabled alarms stay looking disabled — Editing a turned-off alarm no longer makes it appear turned on. Cleaner timer cards — The expand button is now turned off on timer cards that have no time set, preventing actions that wouldn't do anything. Clearer theme setting — Updated the wording to "Choose your preferred app theme." Smoother Settings links — The "About" links in Settings no longer trigger an unexpected "switch apps" prompt. Fixed spacing in Spotify settings — Corrected uneven spacing in the Spotify settings card. Better focus visibility in High Contrast — The focus highlight in World Clock is now clearly visible in the High Contrast Aquatic and Desert themes. No more double announcements — Screen readers no longer read the timer value twice. Countdown names read correctly — Screen readers now properly announce the name of each countdown. Keyboard focus stays put — Focus no longer disappears after you press the Timer Reset button. Clearer alarm toggle for screen readers — Tidied up how the alarm on/off switch is announced. The Media Player app received plenty of changes as well (version 11.2605.14.0): Custom captions — You can now personalize how closed captions appear, with caption styling tied to your Windows caption settings, plus a quick link to open those settings directly. "Indexing" banner in the play queue — When your media library is still being scanned, a banner now explains why some items may not appear yet. Fixed the look of selected items — Corrected a layout glitch with selected items in lists. Fewer playback failures — Improved how the app recognizes supported file types, so more files play without issues. Playlists need a name — You can no longer accidentally save a playlist with a blank name. Cleaner look for empty playlists — Improved how a playlist appears when it has no items yet. More stable play queue edits — Fixed a crash that could happen when changing the play queue while the app was switching between sessions. Clearer "missing codec" message — Improved the dialog that appears when a file needs a codec you don't have, with clearer guidance on what to do. A big update is also available for Paint in version 11.2605.61.0: Adjustable eraser transparency — You can now control how transparent the eraser is. Cleaner stamp brush strokes — Fixed visible color shifts and artifacts when using stamp-style brushes. JPEG photos save in place — Opening a rotated JPEG and pressing Save now overwrites the original instead of unexpectedly prompting "Save As." No more crash on bad image files — Opening a damaged or invalid image, from within the app, by double click, or commandline, now shows a clear error message instead of closing the app. Classic selection behavior restored — The selection outline now hides while you move, resize, or rotate a selection, just like in classic Paint. Tidier AI image panel — Fixed missing spacing at the bottom of the AI image generation panel for a cleaner layout. Visible button hover in light theme — Toolbar split buttons now show a clear hover highlight in the light theme. Snappier toolbar — Streamlined how the ribbon lays out, giving a small speed boost at startup. Fewer background crashes — Fixed a crash that could happen while background tasks were finishing up. Stable app shutdown — Prevented rare crashes when closing the app. Fixed layer removal glitch — Deleting the active layer no longer leaves the layers list in an inconsistent state. Here is what is new in the Photos app (version 2026.11060.2004.0): AI watermarking — AI-generated or edited images can now carry a visible Copilot watermark. You choose Never, Always, or Ask Every Time in Settings, with a confirmation when saving. The watermarking is off by default in settings. Better viewing of small images and pixel art — Tiny images (like 16×16 pixel art) now zoom in far more to fill the screen and stay crisp instead of looking blurry. Select scanned text with the keyboard — When text is detected in an image, you can now navigate and select it using the arrow keys, Shift+Arrow, Home/End, and Ctrl+A, with a clear focus highlight. Fixed a crash in text recognition — Resolved a crash that could close Photos while detecting text in images; the app now recovers gracefully. Easier keyboard navigation — Tabbing through the navigation bar no longer stops on hidden controls, so it takes a single Tab to move past it instead of three. And finally, here is the Sound Recorder (version 11.2605.1.0): Waveform shows with Bluetooth mics — The live waveform now displays correctly when you record using a Bluetooth audio device. No more stray scrollbar — A non-working horizontal scrollbar no longer appears at the bottom of the waveform unless you've zoomed in. Mark button ready right away — The Mark button no longer looks grayed out until you hover over it after opening the app. Markers hidden for WAV files — Markers are now turned off for WAV recordings, since that format can't store them — so they're no longer lost silently. Smoother deleting — Quickly pressing Delete and Enter to remove several recordings in a row no longer triggers a "file doesn't exist" error. Fixed a memory issue — Resolved a memory leak that occurred each time a recording started. You can find all these changelogs in the official documentation here.
    • again, an article about Microsoft Edge and ridicules hater's comments
    • From this very same article: "For organizations that prefer a “more deliberate pace”, the Extended Stable channel remains an option."
  • Recent Achievements

    • Very Popular
      AndrewSteel earned a badge
      Very Popular
    • Veteran
      Taliseian went up a rank
      Veteran
    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Week One Done
      Timaximus earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      514
    2. 2
      PsYcHoKiLLa
      170
    3. 3
      +Edouard
      162
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      78
  • Tell a friend

    Love Neowin? Tell a friend!