LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2022, 11:37 AM   #1
goosesensor
LQ Newbie
 
Registered: Jan 2019
Location: Santa Cruz, CA
Distribution: Arch
Posts: 11

Rep: Reputation: Disabled
Manipulating window geometries


Hi guys,

I'm on arch + xfce + x. I have been using 2x 1920x1200 monitors for ages but am considering a new 3840x1600 display. Currently, to my knowledge, there aren't any window tiling solutions that will meet my desires so I have to make my own. Where is a good place to start?

No bash
Python fine
C/C++ fine

Thanks,
Morgan

Edit: to clarify, I'm looking for suggestions on APIs that can detect for example the active window, its geometry, the geometry of its decorations, and allow them to be changed.

Last edited by goosesensor; 09-11-2022 at 11:39 AM.
 
Old 09-12-2022, 05:30 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,997

Rep: Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338
do you mean something like this: http://www.qtile.org/ ?
 
1 members found this post helpful.
Old 09-15-2022, 11:52 AM   #3
goosesensor
LQ Newbie
 
Registered: Jan 2019
Location: Santa Cruz, CA
Distribution: Arch
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks for the reply.

I have seen Qtile before, but I'm not looking for an entire window manager. Just an API or tool that can be used to get information about windows and set their positions.

For example, right now I use a combination of QuickTile and scripts around wmctrl, xwininfo, and xdotool to manipulate windows to my liking via key bindings. However this solution is awfully clunky as QuickTile doesn't do everything I want and wmctrl, xwininfo, and xdotool all report or manipulate geometries slightly differently etc. I was hoping there was some clean C or Python API into X where I could implement all my tiling needs in one place.

It looks like libwnck may be what I want.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dd when geometries aren't exact mreff555 Linux - Newbie 1 02-19-2012 04:08 PM
hdparms gives conflicting geometries between -g and -i(I) ricalicious Linux - Hardware 6 01-13-2005 09:29 PM
manipulating sound, theory klod Programming 1 06-26-2003 01:12 PM
Manipulating the PATH variable. redgore Linux - General 2 07-11-2002 05:56 AM
Tool for manipulating ext2 images on windows ugenn Linux - General 2 04-17-2002 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration