PDA

View Full Version : [xubuntu] how to control compiz or compton with pygame or pyglfw?



tcll5850
February 1st, 2015, 11:37 PM
so I've figured out how to control my XFCE desktop environment and render OpenGL over it,
but how can I reposition my windows between 2D and 3D space??

note: not using the compiz cube...
instead, imagine walking awound inside the cube with your windows either in front of you or left about in 3D space.

anything that runs on SDL (pygame) runs better on GLFW, so it doesn't matter which is used. :)

don't try to shoe me away from python ;)

I only know how to code well in python, and it's not as slow as alot of pros make it out to be.
(everything runs slower if you follow pythonic standards though)

here's what I've been able to do with python2.7:
http://lh6.ggpht.com/-zHYb4xryvq4/VM246NqAiOI/AAAAAAAAIZQ/zdzM5gQsuhM/s640/UMC_FileDialog9.png
yes, I'm using python.exe (portable), bite me


so I want to build a 3D desktop environment to use my desktop as if I were playing minecraft or something...
I don't know everything, so can I please get some help here :/
(I just need references/knowledge, I don't need any help with coding)

thanks :)

tcll5850
February 2nd, 2015, 10:35 PM
oh comon, you can't tell me nobody thinks of anything cool or this wouldn't have happened:

http://i.stack.imgur.com/CIkyp.jpg


^sorry for the image being too large, I'd resize it to w640 if it were a picasa link or [ img ] supported resizing.

but yea, how can I gain this control??

tcll5850
February 3rd, 2015, 12:13 AM
did a tiny bit of research and found out I need to build a compositing window manager in python.

I've looked at Qtile but that's just a basic window manager, I don't think that'll draw in 3D space :/

could I get some help with building a python compositing window manager please. :/