LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-01-2015, 10:02 AM   #1
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Rep: Reputation: Disabled
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 followed this thread but bumped at point 5 as the tar file that i extracted doesnt have the ./configure...
http://www.linuxquestions.org/questi...anager-383418/

how do i go about now?

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....
 
Old 05-01-2015, 10:12 AM   #2
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
If it is this tinywm it has a makefile, compile the wm with:

Code:
 make all
 
Old 05-01-2015, 11:28 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
From the README:
Code:
Usage:

  Focus follows pointer.
  Alt+Button1, drag: interactive window move
  Alt+Button3, drag: interactive window resize
  Alt+F1: raise focused window
Are these really all the features you expect from a windows manager?

It's a toy or a demonstrator intended for developers, so you don't have a need for it.
 
Old 05-02-2015, 12:09 AM   #4
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
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...
 
Old 05-02-2015, 01:06 AM   #5
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
@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.
 
Old 05-02-2015, 01:21 AM   #6
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
> 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.
 
Old 05-02-2015, 03:30 AM   #7
Speek
Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Slackware
Posts: 124

Rep: Reputation: 41
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?

Last edited by Speek; 05-02-2015 at 03:58 AM.
 
Old 05-02-2015, 04:34 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
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/
 
Old 05-02-2015, 06:19 AM   #9
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
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.

Last edited by GazL; 05-02-2015 at 06:29 AM.
 
Old 05-03-2015, 10:50 PM   #10
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
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 View Post
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.
 
Old 05-04-2015, 12:19 AM   #11
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
@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.

Last edited by lems; 05-04-2015 at 12:20 AM.
 
Old 05-04-2015, 01:45 AM   #12
Speek
Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Slackware
Posts: 124

Rep: Reputation: 41
Quote:
Originally Posted by nitecrawler View Post

well, i would like to know how you built it too...

"*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....
I just did 'make', but that does the same as 'make all'.

To check if you have the proto packages installed do:
Code:
cd /var/log/packages/ && ls *proto*
I have these:
Code:
~$ cd /var/log/packages/
/var/log/packages$ ls *proto*
compositeproto-0.4.2-noarch-1  kbproto-1.0.6-noarch-1         xcb-proto-1.11-x86_64-1
damageproto-1.2.1-noarch-1     presentproto-1.0-x86_64-1      xextproto-7.3.0-x86_64-1
dri2proto-2.8-x86_64-1         randrproto-1.4.1-noarch-1      xf86driproto-2.1.1-noarch-1
dri3proto-1.0-x86_64-1         recordproto-1.14.2-noarch-1    xf86vidmodeproto-2.3.1-noarch-1
fixesproto-5.0-x86_64-1        renderproto-0.11.1-noarch-1    xineramaproto-1.2.1-noarch-1
fontsproto-2.1.3-noarch-1      resourceproto-1.2.0-noarch-1   xproto-7.0.27-noarch-1
glproto-1.4.17-noarch-1        scrnsaverproto-1.2.2-noarch-1
inputproto-2.3.1-noarch-1      videoproto-2.3.2-noarch-1

Last edited by Speek; 05-04-2015 at 01:46 AM.
 
Old 05-04-2015, 02:24 AM   #13
Speek
Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Slackware
Posts: 124

Rep: Reputation: 41
@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.
 
Old 05-04-2015, 09:13 AM   #14
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Speek View Post
@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

Quote:
bash-4.2# cd /var/log/packages/ && ls *proto*
bigreqsproto-1.1.2-noarch-1
renderproto-0.11.1-noarch-1
compositeproto-0.4.2-noarch-1
resourceproto-1.2.0-noarch-1
damageproto-1.2.1-noarch-1
scrnsaverproto-1.2.2-noarch-1
dmxproto-2.3.1-noarch-1
videoproto-2.3.2-noarch-1
dri2proto-2.8-x86_64-1
xcb-proto-1.8-x86_64-1
fixesproto-5.0-x86_64-1
xcmiscproto-1.2.2-noarch-1
fontcacheproto-0.1.3-noarch-1
xextproto-7.2.1-x86_64-1
fontsproto-2.1.2-noarch-1
xf86bigfontproto-1.2.0-noarch-1
glproto-1.4.16-noarch-1
xf86dgaproto-2.1-noarch-1
inputproto-2.3-noarch-1
xf86driproto-2.1.1-noarch-1
kbproto-1.0.6-noarch-1
xf86miscproto-0.9.3-noarch-1
printproto-1.0.5-noarch-1
xf86vidmodeproto-2.3.1-noarch-1
randrproto-1.4.0-noarch-1
xineramaproto-1.2.1-noarch-1
recordproto-1.14.2-noarch-1
xproto-7.0.24-noarch-1
i have screwed the alphabetical ordering but i couldnt place them the way you did as in my output.....

Last edited by nitecrawler; 05-04-2015 at 09:16 AM. Reason: for clarity of output
 
Old 05-04-2015, 09:31 AM   #15
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lems View Post
@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..
 
  


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
Tiling window manager for Slackware ? torimus Slackware 48 08-08-2013 02:41 PM
[SOLVED] Slackware and Awesome window manager dsplayer14 Linux - Software 4 07-10-2012 09:33 AM
Changing the window manager in Slackware 12.0 after install p3Dr0xer Linux - Software 2 07-06-2007 11:11 AM
Slackware 11 Window Manager Questions Smitty67 Linux - Distributions 1 03-25-2007 08:03 PM
Installing slackware with a different window manager rustyz82 Linux - Software 11 05-17-2004 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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