You are not logged in.
Pages: 1
how can i programmatically switch workspace in a script? i want to initialize my working setup by launching a terminal in each of 4 different workspaces.
Offline
wmctrl -s <WORKSPACE>
...workspace numbering starts at 0.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
thanks! i was using wmctrl -o x,y which was not working. now i see in the man page that a window manager may ignore the -o request.
Offline
i have replicated my multi-terminal auto-startup from Unity to Xfce. when the first terminal starts it starts up 6 more terminals in other workspaces for that user, 1 or 2 terminals per workspace. this currently works by xfce >> terminal >> bash >> .bashrc >> .bashrc9 where the code in .bashrc9 determines it it the only bash process by that user under a terminal. if so, then it runs a sequence of steps where each switches to a workspace, starts an instance of xfce4-terminal, a sleeps for brief period to give xfce4-terminal time to open the window. it is my intent to redesign this so it is triggered by login rather than starting the first terminal.
Offline
Pages: 1
[ Generated in 0.007 seconds, 8 queries executed - Memory usage: 524.33 KiB (Peak: 525.17 KiB) ]