Monday, February 26, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 893  / 1 Year ago, tue, november 15, 2022, 8:56:07

Is there any limit of how many workspaces compiz can goto using "Switch to viewport"? If so, can this limit be changed or worked around?



I have configured 12 viewports, (4 * 3 under desktop size) on ubuntu 14.04. I've mapped all 12 viewports to key commands in compiz under
"Viewport switcher" -> "Goto specific viewport"
mapping the switch to control, alt and another letter on the keyboard as such:




  • control+alt+q: "Switch to viewport 1"

  • control+alt+w: "Switch to viewport 2"

  • control+alt+e: "Switch to viewport 3"

  • control+alt+r: "Switch to viewport 4"

  • control+alt+a: "Switch to viewport 5"

  • control+alt+s: "Switch to viewport 6"

  • control+alt+d: "Switch to viewport 7"

  • control+alt+f: "Switch to viewport 8"

  • control+alt+z: "Switch to viewport 9"

  • control+alt+x: "Switch to viewport 10"

  • control+alt+c: "Switch to viewport 11"

  • control+alt+v: "Switch to viewport 12"



The first 10 works, "Switch to viewport 11" and "Switch to viewport 12" does not work.



Using the workspace switcher, however, I can click on the last 2 workspaces and go to them that way. So it seemes to be supported.



I can also move windows to all 12 workspaces using a mapping I've made under
Window manager -> Put -> Bindings -> Put on arbirtrary viewport -> "Put on viewport X" using 12 similar key commands (shift+alt instead of control+alt)


More From » 14.04

 Answers
3

I found a work around that allows me to go to the last 2 desktops. And that is to use the wmctrl command and map them using
general -> commands -> command line 1 and 2.



Desktop 11:



wmctrl -o 7680,2400


Desktop 12:



wmctrl -o 11520,2400


I have a screen resolution of 3840x1200 (since i use 2 monitors with 1920x1200 resolution)


[#23018] Wednesday, November 16, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nalystcul

Total Points: 390
Total Questions: 106
Total Answers: 115

Location: Tokelau
Member since Sun, May 7, 2023
11 Months ago
nalystcul questions
Sun, May 1, 22, 17:05, 2 Years ago
Mon, Sep 6, 21, 08:12, 3 Years ago
Fri, Mar 18, 22, 20:06, 2 Years ago
;