Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-06-02 18:34:15

jay2375
Member
Registered: 2020-06-02
Posts: 2

Workspaces beyond 12

Hello, I have a question. How can I configure shortcuts for workspaces beyond 12? Window manager makes allowance for custom shortcuts for workspaces 1-12, but not beyond? I expanded my workspaces from 12 to 24, and it did not create a new allowance for shortcuts.

Is there a config file that I can add this to? Is there any resources you would suggest that could enable me to do this?

In particular, the shortcuts I need are:
move workspace to window N
window N (focus on window N)

If I could replicate this functionality for workspaces 13-24, that would be an amazing enhancer to my workflow.

Thanks in advance!

Offline

#2 2020-06-02 19:39:07

jay2375
Member
Registered: 2020-06-02
Posts: 2

Re: Workspaces beyond 12

Hello. I have solved this. In case anyone else needs to know how to do this here is my solution:

I used xdotool to solve this problem. The key commands were xdotool set_desktop and xdotool set_desktop_for_window.

I made custom keyboard shortcut bindings for xdotool set_desktop 12-23 (it starts counting workspaces at 0)

I needed to create bash scripts for all of the move window commands, though.

$!/usr/bin/bash
xdotool set_desktop_for_window $(xdotool getactivewindow) 12-23

The compound script wouldn't run natively in the keyboard shortcut menu, so that's why I needed the bash script.

Anyway, maybe someone with a similar workflow will find this useful! Cheers!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 11 queries executed - Memory usage: 515.34 KiB (Peak: 516.25 KiB) ]