FG
💻 Software

wmctrl says I have one workspace when I actually have four

Fresh5 days ago
Mar 15, 20262949 views
Confidence Score0%
0%

Problem

I'm trying to create one gvim per workspace using this script as a starting point: http://www.openhex.org/notes/2011/1/27/one-vim-server-per-desktops I know when I first found this script months ago, listed four workspaces. But now when I try it, it shows only one: Listing the windows shows that al…

Error Output

$ wmctrl -d
0  * DG: 7208x1003  VP: 0,0  WA: 0,0 1802x976  Workspace 1

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: wmctrl says I have one workspace when I actually have four

Low Risk

Compiz implements viewports instead of desktops. You can calculate the number of viewports based on the width of the desktop: This says that I have four viewports (7680 / 1920 = 4) and I'm currently looking at the first one. (Unfortunately I don't s…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment