command line to select desktop 1?

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
boof
Posts: 555
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

command line to select desktop 1?

Post by boof »

need to select dectop to execute auto script on if on other desktop. thx

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: command line to select desktop 1?

Post by taersh »

You could use xdotool to send a key command (fitting to the definitions of JWM), or to switch directly to a different desktop.

E.g.: xdotool set_desktop 0 (which would be desktop 1)

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

williams2
Posts: 1059
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 302 times

Re: command line to select desktop 1?

Post by williams2 »

wmctrl -s0

Post Reply

Return to “Users”