Results 1 to 6 of 6

Thread: How to make specific applications open on corresponding workspaces?

  1. #1
    Join Date
    Apr 2009
    Beans
    44
    Distro
    Ubuntu

    How to make specific applications open on corresponding workspaces?

    I have a lot of application scheduled to load at startup (GoldenDict, Tomboy Notes, Evolution Mail, Liferea, etc.) and I'd like some of them to appear on the workspaces different from the default.

    I have Ubuntu 10.10 with Gnome and Compiz effects.

    Is there a way to do this without a lot of mess?

  2. #2
    Join Date
    Jun 2006
    Location
    UnderTheSea
    Beans
    265

    Re: How to make specific applications open on corresponding workspaces?

    Use Compiz Place Windows
    So She Said Internet, And I Said Inter-Not



  3. #3
    Join Date
    Apr 2009
    Beans
    44
    Distro
    Ubuntu

    Re: How to make specific applications open on corresponding workspaces?

    I took a look at it and it's quite strange and buggy, for instance, "Grab" dialogue do not grab anything and you have to fill all details yourself.

    And worst, it do not work at all in the start up: all windows are in the one big messy pile on the first workspace.

    Anyway, thank you for help.

    P.S. I don't think there is a way to make it sort windows in the boot up as well? Anyway, I have filled a bug reports about it.
    Last edited by vaul; October 18th, 2010 at 10:54 PM.

  4. #4
    Join Date
    Aug 2007
    Beans
    65
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to make specific applications open on corresponding workspaces?

    It looks a bit messy, but I think you can get it to work.

    I assume from your description that you have gone into the CompizConfig Settings Manager, into the Place Windows section, into the Fixed Window Placement tab, and you have clicked to add a new item at Windows with fixed viewport and clicked on the green + button.

    Before you hit the 'Grab' button, select the type Window Name from the dropdown list. After hitting 'Grab', you have to click somewhere in the window of an application (not on its title bar, unintuitively). Then the name appears. Copy it, hit 'Add', and paste it behind name=. Select the viewport where you want it to open by default and close the dialog box.

    All of this requires, apparently, that the Regex Matching module of CompizConfig is also enabled.

  5. #5
    Join Date
    Apr 2009
    Beans
    44
    Distro
    Ubuntu

    Re: How to make specific applications open on corresponding workspaces?

    Yes, thank you, but I figured that out myself.

    Problem still remains — it do not place windows where they should belong on the system startup, I guess that's because a lot of things happen too fast on the login.

    That's what I opened a bug about.

  6. #6
    Join Date
    Aug 2007
    Beans
    65
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to make specific applications open on corresponding workspaces?

    Quote Originally Posted by vaul View Post
    Problem still remains — it do not place windows where they should belong on the system startup, I guess that's because a lot of things happen too fast on the login.
    You could install wmctrl and try to work with that: as a final startup command after the launch of all those programs, you'd have it run a list of commands like
    Code:
     wmctrl -r firefox -e 0,1280,0,-1,-1
    (this moves the Firefox window to the second viewport if your screen is 1280 pixels wide).

Tags for this Thread

Bookmarks

Posting Permissions

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