Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Commandline

  1. #11
    Join Date
    Jan 2006
    Beans
    23

    Re: Commandline

    I apologise for being so vague with my question.

    Here is a more precise form -
    I want a command that will open notepad such that -
    1) the notepad window has dimensions - height = 100% and width = 20%
    2) the notepad window is at the rightmost corner of the screen
    3) it is visible on all the workspaces

    I use Ubuntu 8.04 and am working with the defaults that come with the install.

    I tried reading some manuals, but most of it goes over my head. The intention of this program is to be able to make a script where notepad (or any application) opens in a particular fashion every time I run the script.

    Thanks

  2. #12
    Join Date
    Jun 2006
    Location
    Gwangju, Korea
    Beans
    3,479

    Re: Commandline

    Quote Originally Posted by kedarm View Post
    1) the notepad window has dimensions - height = 100% and width = 20%
    Many programs provide a geometry option to set the window size. I don't know of any way to control window placement without requiring the user to have some additional software installed that knows how to talk to their window manager. The sticky attribute is also window manager-specific.

  3. #13
    Join Date
    Apr 2006
    Location
    Sheffield - England
    Beans
    Hidden!

    Re: Commandline

    Check out the extended window manager hints (EWMH) specification. It allows you to tell the window manager where and how it should display your application. Remember however that the window manager might decide to simply ignore your application's requests.

    http://standards.freedesktop.org/wm-...-spec-1.4.html

Page 2 of 2 FirstFirst 12

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
  •