Results 1 to 2 of 2

Thread: Lock the size and position of a window

  1. #1
    Join Date
    Dec 2019
    Beans
    2

    Lock the size and position of a window

    Hello to everyone I want to make a very simple (but I believe that it is not so easy to answer or maybe just it is not possible) question.
    Is there a way to lock the position and the size of a certain window? In other words Is there a way to disable the size change and the movement of a window?
    I'm using Fluxbox if that change something (I believe , if that is possible is something related with window manager, but really I don't know)

    Thanks!

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    22,164
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Lock the size and position of a window

    I've never used fluxbox nd don't thnk 'locking' s possible, but many x11 applications support the -geometry option to place and size application windows. Unfortunately, while this is automatic in x11 coding, some popular GUI toolkits break that for reasons that are unclear to me.
    Some examples:
    Code:
    xterm $XTERM_OPTS -geometry 80x25+0+170 &
    xterm $XTERM_OPTS -geometry 80x25+430+100 &

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
  •