Find the answer to your Linux question:
Results 1 to 6 of 6
Hello, I'm looking for a script that automatically switches between all workspaces in regular intervals, e.g. 15 seconds or 1 minutes. Ideally, the user should be able to adjust the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    4

    Question script for switching between workspaces


    Hello,
    I'm looking for a script that automatically switches between all workspaces in regular intervals, e.g. 15 seconds or 1 minutes. Ideally, the user should be able to adjust the interval.

    I need it for Ubuntu 10.04 LTS and GNOME 2.30.2.

    Hopefully you can help.

  2. #2
    Just Joined!
    Join Date
    Aug 2010
    Posts
    4
    Come on you guys, does nobody have an idea?

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    6
    Do you know a shell command to change "workspace"? You can make a script similar to this for that:
    Code:
    #!/bin/bash
    until read -n 1 -t 15; do
        <place the command here>
    done
    In a terminal you'll just have to press a key to terminate it.

  4. #4
    Just Joined!
    Join Date
    Aug 2010
    Posts
    4
    Unfortunately, I have not found a command to do that.

    But one could avoid this problem by simulating the keyboard shortcut for switching workspaces: Ctrl + Alt + [some arrow key].

    Do you know how to do that?

  5. #5
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    The <place the command here> you are looking for is wmctrl.
    But it is an optional package.
    Debian GNU/Linux -- You know you want it.

  6. #6
    Just Joined!
    Join Date
    Aug 2010
    Posts
    4

    Thumbs up

    Thanks for the advice!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •