Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8875739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:03:03+00:00 2026-06-14T19:03:03+00:00

Just getting started with linux programming and X Windows in specific. I am trying

  • 0

Just getting started with linux programming and X Windows in specific. I am trying to make an application where I launch 4 different programs (such as VLC, web browser etc) in a quadrant view. For now I don’t need (or want) an window manager sitting on top, just the bare bones applications running.

I can do this with the x utils (like a clock etc) using the -geometry commands.

My question is, how do I control the placement of these other applications?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T19:03:04+00:00Added an answer on June 14, 2026 at 7:03 pm

    Solution 1

    devilspie is the perfect tool for this. As an example:

    +--------+------------------------+
    | Pidgin |                        |
    | Buddy  |        Pidgin          |
    | List   |     Conversation       |
    |        |                        |
    |        +------------------------+
    |        |                        |
    |        |        Xchat           |
    |        |                        |
    |        |                        |
    +--------+------------------------+
    

    could be done with the following configuration.

    (if (is (application_name) "Pidgin")
            (begin
                    (if (is (window_role) "buddy_list")
                            (begin
                                    (undecorate)
                                    (skip_tasklist)
                                    (geometry "199x767+0+0")
                            )
                    )
                    (if (is (window_role) "conversation")
                            (begin
                                    (undecorate)
                                    (geometry "822x400+201+0")
                            )
                    )
            )
    )
    

    Solution 2

    start the desired applications and then use wmctrl to move and resize the windows to their desired positions. You may use the -r argument to acheive this.

      -r <WIN> -e <MVARG>  Resize and move the window around the desktop.
    

    Devilspie experience (update)

    As requested in the comment. I use devilspie all the time, it’s really great and works with every window manager I’ve used gnome, xfce, kde, fvwm. I’ve put together a working devilspie config that will do part of what you want. You can place this file in ~/.devilspie/devilspie.ds. There is a screenshot attached as well showing the result of this config file. The best documentation I have found for devilspie is on foosel.org. I highly recommend you use that. when testing devilspie run it in the foreground in a terminal. Make sure there are no other devilspie process running kill them if so. Every time you change your config and want to see the result do a CTRL+C on the devilspie and run it again. Some other things to keep note of if vlc was maximized when it was closed, then it will open again maximized and will ignore devilspie requests for resizing and moving. So make sure vlc is not maximized when you close it. You could alternatively call unmaximize and then do the geometry call.

    (debug)
    (if
        (is (application_name) "VLC media player")
        (geometry "500x300+0+0")
    )
    (if
        (is (application_name) "xterm")
        (geometry "300x300+510+0")
    )
    (focus)
    

    screetshot
    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm just getting started with flask and I've hit a snag. I'm trying to
Just getting started with Linq to SQL so forgive the newbie question. I'm trying
Just getting started with OpenFrameworks and I'm trying to do something that should be
Just getting started with Obj-C and iOS programming. I have some code that loads
I am just getting started with gcc on Linux. I am following the tutorial
Just getting started with Powershell and have a quick question. Trying to run this
Just getting started with C++ here. I am working on OSX with Eclipse CDT.
Just getting started with db2. Quick question about giving it SQL commands from a
Just getting started on NVelocity (v1.1.1) and it seems to be working just fine.
Just getting started building an app using the v6 of the facebook c# sdk

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.