[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Switching desktops at the command line



On Mon, 28 Nov 2022 16:34:56 -0500
<paulf@quillandmouse.com> wrote:

> Folks:
> 
> Assume some desktop environment like LXQt. Is there a way to change
> desktops (as in 1, 2, 3...) at the command line? I'm looking to use
> something like sxhkd to do this, but the only examples of this type of
> thing I can find are related to bspwm, which has its own
> infrastructure. Is there some Xorg or freedesktop type functionality I
> can use?
> 
> Paul
> 

For those interested, you can install the "wmctrl" package, then run
wmctrl -s <desktop number>. There might be a dbus command which does
this, but I finally found the above and tested it.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster


Reply to: