Results 1 to 4 of 4

Thread: Trying to find a way to make applications always start in the same position and size

  1. #1
    Join Date
    Dec 2020
    Beans
    20

    Trying to find a way to make applications always start in the same position and size

    I want apps like Firefox to always start up in the same position and have the same size as last session, is it possible?
    I've tried this method but this is not working for firefox.

  2. #2
    Join Date
    May 2010
    Beans
    1,071

    Re: Trying to find a way to make applications always start in the same position and s

    Could try devilspie

  3. #3
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    5,718
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Trying to find a way to make applications always start in the same position and s

    To be pedantic, applications don't start in any particular position or size. Windows open in a particular position and size, but applications may open multiple windows or none at all. When an application wants a window, it asks the window manager to open a window with a particular size, position and title. It may also give an icon for the window, request to disable decorations or use full screen. The window manager then opens a window, if it can, but doesn't necessarily fulfil all requests.

    So there are two approaches to this problem. You can tell the window manager to open a window with a particular title always at the same location and same size, or tell the application to always request the same position and size and tell the window manager not to override that. If application and window manager support this.

    My Firefox always gets its window in the same position and size as the last time I closed it (the full height of my screen, but somewhat narrower, along the left edge), unless that causes it to overlap with an existing window. That's rarely the case. Firefox gets a big window, so I always give it its own desktop (I've got 15 of them).

  4. #4
    Join Date
    Dec 2020
    Beans
    20

    Re: Trying to find a way to make applications always start in the same position and s

    Quote Originally Posted by ActionParsnip View Post
    Could try devilspie
    Thanks! This was exactly what I was looking for!

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
  •