Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: mitrofanzzz on July 22, 2011, 12:27:02 AM

Title: dynamic window manager
Post by: mitrofanzzz on July 22, 2011, 12:27:02 AM
Hello everyone.
I am search a way to replace FLTKwm to dwm.
But dwm for make need Xinerama libs...
Somebody know how-to make dwm and it default in my tinycore flashusb?
I used current iso image from this site to make my flashusb stick.

Sorry for my English, i am from Russia.
Title: Re: dynamic window manager
Post by: Juanito on July 22, 2011, 12:35:39 AM
The Xinerama libs are in the Xorg-7.5-lib extension and the headers, etc are in Xorg-7.5-dev

There are several alternative window managers for tc, but (probably) not the one you speak of - see:

http://wiki.tinycorelinux.net/wiki:window_managers_and_desktop_environments
Title: Re: dynamic window manager
Post by: mitrofanzzz on July 22, 2011, 02:44:51 AM
so sad...
Title: Re: dynamic window manager
Post by: Juanito on July 22, 2011, 02:46:12 AM
You could try and compile it yourself?

Edit: from http://dwm.suckless.org/

Quote
Because dwm is customized through editing its source code... This keeps its userbase small and elitist. No novices asking stupid questions.

 :P
Title: Re: dynamic window manager
Post by: mitrofanzzz on July 22, 2011, 02:52:56 AM
Now i think about this? but i am not a guru. this can take a billion hours... On weekend i will try...
Title: Re: dynamic window manager
Post by: Juanito on July 22, 2011, 04:05:32 AM
If you edit dwm-5.9/config.mk so that the following lines read as follows:
Code: [Select]
X11INC = /usr/include/X11
X11LIB = /usr/lib

XINERAMALIBS = -L/usr/local/lib -lXinerama

CFLAGS = -std=c99 -pedantic -Wall -march=i486 -mtune=i686 -Os -pipe ${INCS} ${CPPFLAGS}

..it compiles and seems to work  :)
Title: Re: dynamic window manager
Post by: mitrofanzzz on July 22, 2011, 04:12:25 AM
Good news for me! Thanks a lot!
I myself had not thought of, but the idea I had a true ...
If not too much trouble, check what extensions should be installed.
How to understand what dependencies are missing?
Title: Re: dynamic window manager
Post by: Juanito on July 22, 2011, 05:25:08 AM
To compile dwm, you need the compiletc, Xorg-7.5-lib and Xorg-7.5-dev extensions.

To run dwm, you need only the Xorg-7.5-lib extension.
Title: Re: dynamic window manager
Post by: mitrofanzzz on July 22, 2011, 06:47:01 AM
Great thank you from me and my russian bear :)