[SOLVED] how to install tinywm a new window manager in slackware 14.1?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how to install tinywm a new window manager in slackware 14.1?
i have download the tar file from tinywm site...i want to install the same on my machine and replace my existing fluxbox window manager to tinywm......
i have also copied the old fluxbox file and renamed to tinywm...now if i type xwmconfig i can see the tinywm there but i know i cant run it since the user binaries doesnt exist....i am stuck here....
hey didier thanks for the info....yes i saw it too....well looking for something neat and fast.....and get a terminal open would be the only thing i would be looking at....
p.s. i havent logged out for a long long time...hoping i get back in without much hassles...
@moisespedro: yes i ran make install and this is what i got..incompatibility issues with stock 64 bit?
again, i have the multi-lib enabled....do correct me if am wrong....
so just hoping i get through this last hurdle there....
"
in/ld: skipping incompatible /usr/X11R6/lib/libgcc_s.so when searching for -lgcc
"
later if i type whereis tinywm i get no results...
Last edited by nitecrawler; 05-02-2015 at 01:09 AM.
> bash-4.2# make all
> cc -Os -pedantic -Wall -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -o tinywm tinywm.c
> tinywm.c: In function 'main':
> tinywm.c:49:51: warning: 'start.button' may be used uninitialized in this function [-Wmaybe-uninitialized]
> attr.x + (start.button==1 ? xdiff : 0),
> ^
> tinywm.c:47:19: warning: 'start.y_root' may be used uninitialized in this function [-Wmaybe-uninitialized]
> ydiff = ev.xbutton.y_root - start.y_root;
> ^
> tinywm.c:46:19: warning: 'start.x_root' may be used uninitialized in this function [-Wmaybe-uninitialized]
> xdiff = ev.xbutton.x_root - start.x_root;
> ^
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libgcc_s.so when searching for -lgcc_s
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libc.so when searching for -lc
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libc.a when searching for -lc
> /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libgcc_s.so when searching for -lgcc_s
just to show the complete error i receive and why i perceive its a 64bit compatibility issue
Last edited by nitecrawler; 05-02-2015 at 01:23 AM.
I downloaded tinywm-1.3. It builds without a problem. This is on Slackware64 current. Do you have the *proto packages from Slackware's x directory installed?
There is no /usr/X11R6/lib/libX11.so in Slackware64 but /usr/X11R6/lib64/libX11.so instead. I think that you don't have a genuine and full Slackware64. Maybe multilib?
Last edited by Didier Spaier; 05-02-2015 at 05:28 AM.
Reason: "and full" added/
Didier is correct, lib/ is the wrong location on 64bit slackware. Try removing the -I and -L options from the cc command and let gcc sort it out. '-lX11' is likely all that is needed.
P.S. I think he was also right to point out that you will likely find tinywm a little too tiny for any practical use.
There is no /usr/X11R6/lib/libX11.so in Slackware64 but /usr/X11R6/lib64/libX11.so instead. I think that you don't have a genuine and full Slackware64. Maybe multilib?
i distinctly remember downloading the 64bit version when i had downloaded slackware....i did the upgrade a couple of days back as i encountered the error....i could give you more info if required....
@Didier: once again, thanks for the tip on the window manager...looking for something lightweight and just on experimental basis want to try it out.....
@Gazl: yes gazl, i just want to run xterm's when my desktop is opened...and am ok working from the command line..and prefer it too....
---------- Post added 05-04-15 at 09:20 AM ----------
Quote:
Originally Posted by Speek
I downloaded tinywm-1.3. It builds without a problem. This is on Slackware64 current. Do you have the *proto packages from Slackware's x directory installed?
well, i would like to know how you built it too...
i ran tar -xzvf on that file and got the tinywm directory again...when i do a makeall after cd to the directory, i get the errors listed...
"*proto packages from Slackware's x directory" - could you let me know how to check the same and i will get back with the feasible results....
Last edited by nitecrawler; 05-03-2015 at 10:52 PM.
@nitecrawler: I just downloaded tinywm-1.3.tgz, and changed -L$(PREFIX)/lib to -L$(PREFIX)/lib64 in its Makefile and ran make. There were some warnings, but I got a binary that I could run. I'm on Slackware64 -current w/ multilib. (Without changing the Makefile I got a binary too, though.)
However, there are other window managers you could try as well, like dwm (tiling), mcwm (floating) or cwm. They all have SlackBuilds available, and are pretty lightweight.
@nitecrawler: are you sure tinywm is not build, despite these warnings? After you do 'make' or 'make all', is there a file "tinywm"? That is the window manager.
@nitecrawler: are you sure tinywm is not build, despite these warnings? After you do 'make' or 'make all', is there a file "tinywm"? That is the window manager.
no, i dont find "tinywm" inside the /var/log/packages
Quote:
cd /var/log/packages/ && ls *proto*
i get the following result more or less like yours unless am missing any file...below is the output of the same
@nitecrawler: I just downloaded tinywm-1.3.tgz, and changed -L$(PREFIX)/lib to -L$(PREFIX)/lib64 in its Makefile and ran make. There were some warnings, but I got a binary that I could run. I'm on Slackware64 -current w/ multilib. (Without changing the Makefile I got a binary too, though.)
However, there are other window managers you could try as well, like dwm (tiling), mcwm (floating) or cwm. They all have SlackBuilds available, and are pretty lightweight.
didnt see the post...will check on this and be right back...thanks for the other lightweight options present in slackbuilds..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.