LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-08-2016, 03:29 AM   #1
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 177

Rep: Reputation: Disabled
How to build a Window Manager?


One thing I like most in using Linux is freedom to choose Window Manager.
I moved from one to another and back to one again. There are a lot of WMs out there. Many of them are very few codes and small binary. So, I wonder can I build my own Window Manager by emulating or copying codes from an existing WM I like.
How can I build my own Window Manager? What do I have to learn?
Please suggest the webpages or ebook if anyone can.
thanks in advance.
 
Old 02-08-2016, 10:36 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I'd download the source for a window manager you like and start by building it, installing what you've built, and verifying that you can accomplish that part first. Next make a small change and rebuild to verify that you can do that step.

After that, start customizing.

Note that whatever programming disciplines you'll need will depend a minor amount on the language which the window manager is written in. Otherwise just learning how to program is a good starting idea.

For instance, if you can't even start by downloading the source, building it, and installing it without modification, then what you ought to do is read the documentation for the window manager and getting to the point where you can do those first steps.
 
Old 02-08-2016, 10:51 AM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,140
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
Here is one.

Here is two

Edit: here is mine set up to my druthers/preferences.

Happy Trailz, Rok

Last edited by rokytnji; 02-08-2016 at 10:55 AM.
 
Old 02-08-2016, 01:33 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i remember there used to be "the smallest window manager"... as a project to help others learn how to make one...

maybe this one:
http://incise.org/tinywm.html
https://github.com/mackstann/tinywm
https://wiki.debian.org/TinyWM

or have a look here:
http://www.xwinman.org/others.php
 
Old 02-08-2016, 07:29 PM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Have a look here:
http://www.linuxquestions.org/questi...ct-4175542914/

The code iz now up on github as well.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get window size with tiling window manager in SDL Snark1994 Programming 1 02-24-2013 08:46 PM
Creating a Fixed Window Size in a Window Manager (Odd Question) Stupac Programming 3 06-30-2011 04:04 AM
Awesome Window manager ~ resize window key bindings do not work. bubnoff Linux - Desktop 0 12-23-2010 01:08 PM
Beryl Window Manager / Emerald Theme Manager Not Changing With ATi Drivers. Z3R0o Linux - Desktop 2 01-06-2007 11:23 PM
Change/add window manager to login manager kunalagon Debian 3 06-04-2006 03:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10: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