LinuxQuestions.org
Help answer threads with 0 replies.
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-04-2015, 09:48 AM   #16
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled

Quote:
Originally Posted by nitecrawler View Post
no, i dont find "tinywm" inside the /var/log/packages
You won't. Only the Slackware packages installed with installpkg or upgradepkg are recorded there.

Your time would be better used learning how Slackware works that installing useless programs, in my opinion. But of course, that's only my opinion. If you'd like to follow it, visit http://docs.slackware.com, especially the Beginners Guide and Get Acquainted With Slackware.

Caveat emptor: having written this, I must admit that everyone has one's own way or learning, so maybe the one I just proposed is not the best for you.

Last edited by Didier Spaier; 05-04-2015 at 09:58 AM. Reason: s/spent/used/
 
Old 05-04-2015, 09:49 AM   #17
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by nitecrawler View Post
no, i dont find "tinywm" inside the /var/log/packages
It won't show up there, as it's not a Slackware package. It would only show up if you created a Slackware package and installed that with installpkg. Running `make install' would copy it to /usr/bin.
 
Old 05-04-2015, 09:57 AM   #18
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.)
i made the necesary changes and could run it too...later when i run xwmconfig i dont find tinywm in the list of managers i could choose from
 
Old 05-04-2015, 10:00 AM   #19
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
It won't show up there, as it's not a Slackware package. It would only show up if you created a Slackware package and installed that with installpkg. Running `make install' would copy it to /usr/bin.
dint know that..cool..thanks...

no i dont find it listed there...
 
Old 05-04-2015, 10:03 AM   #20
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by nitecrawler View Post
i made the necesary changes and could run it too...later when i run xwmconfig i dont find tinywm in the list of managers i could choose from
You'll understand why reading the script /usr/bin/xwmconfig: it proposes only a limited list. But you could try to change that list to add tinywm.
 
Old 05-04-2015, 10:06 AM   #21
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by nitecrawler View Post
no i dont find it listed there...
There is no "install" target in the Makefile, so you'll have to copy or move it yourself if you want to.
 
Old 05-04-2015, 10:08 AM   #22
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Actually you can copy any xinitrc.foo file to /etc/X11/xinit and it will be seen by xwmconfig. So you could copy xinitrc.twm to xinitrc.tinywm and modify its content accordingly.

Last edited by lems; 05-04-2015 at 10:09 AM. Reason: Wording
 
1 members found this post helpful.
Old 05-04-2015, 10:17 AM   #23
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
Your time would be better used learning how Slackware works that installing useless programs, in my opinion.
i always take some of my time to read the slackbook but then go into links of links of googles and never end up reading completely...crawling for now...

Quote:
Caveat emptor: having written this, I must admit that everyone has one's own way or learning, so maybe the one I just proposed is not the best for you.
well to each his own! ;-)
 
Old 05-04-2015, 10:28 AM   #24
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 "install" target in the Makefile, so you'll have to copy or move it yourself if you want to.
i would like to know which file to move?
 
Old 05-04-2015, 10:31 AM   #25
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
Actually you can copy any xinitrc.foo file to /etc/X11/xinit and it will be seen by xwmconfig. So you could copy xinitrc.twm to xinitrc.tinywm and modify its content accordingly.
well, yes i tried that...then there is a startfluxbox file i need to edit too...i will have to make a starttinywm file and again edit those contents..

so like didier mentioned, maybe i have to move THE file (need clarification which file it is) because i dont find tinywm in the /usr/bin....again the startfluxbox file has the command to execute fluxbox but i dont have any tinywm listed in /usr/bin....so i am lost to make the edits too.....
 
Old 05-04-2015, 10:40 AM   #26
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by nitecrawler View Post
i would like to know which file to move?
The file tinywm in the directory in which you ran "make all". In my case it was /tmp/tinywm-1.3
Code:
~$ ls -ltr /tmp/tinywm-1.3
total 44
-rw-r--r-- 1 didier users   154 mars   4  2005 Makefile
-rw-r--r-- 1 didier users   138 mars  10  2005 COPYING
-rw-r--r-- 1 didier users  1986 mars  10  2005 tinywm.c
-rw-r--r-- 1 didier users  1542 mars  10  2005 tinywm.py
-rw-r--r-- 1 didier users  8566 mars  10  2005 annotated.c
-rw-r--r-- 1 didier users  1633 mars  10  2005 README
-rwxr-xr-x 1 didier users 11736 mai    2 13:18 tinywm
~$
This gives me a clue as tinywm is the most recent file written and is the only one executable.
To confirm that:
Code:
~$ file /tmp/tinywm-1.3/tinywm
/tmp/tinywm-1.3/tinywm: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
~$

Last edited by Didier Spaier; 05-04-2015 at 10:43 AM. Reason: Useless tail removed.
 
Old 05-04-2015, 10:54 AM   #27
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
The file tinywm in the directory in which you ran "make all". In my case it was /tmp/tinywm-1.3
Code:
~$ ls -ltr /tmp/tinywm-1.3
total 44
-rw-r--r-- 1 didier users   154 mars   4  2005 Makefile
-rw-r--r-- 1 didier users   138 mars  10  2005 COPYING
-rw-r--r-- 1 didier users  1986 mars  10  2005 tinywm.c
-rw-r--r-- 1 didier users  1542 mars  10  2005 tinywm.py
-rw-r--r-- 1 didier users  8566 mars  10  2005 annotated.c
-rw-r--r-- 1 didier users  1633 mars  10  2005 README
-rwxr-xr-x 1 didier users 11736 mai    2 13:18 tinywm
~$
This gives me a clue as tinywm is the most recent file written and is the only one executable.
To confirm that:
Code:
~$ file /tmp/tinywm-1.3/tinywm
/tmp/tinywm-1.3/tinywm: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
~$
thank you....i moved the file tinywm to /usr/bin...
so now do i have to make the copy of fluxbox and do the edits in /etc/X11/xinit like lems suggested?

P.S.
well i had run the make all last time and never noticed this new file come up or maybe i was too ignorant...
i was thinking its the installpkg stuff...so it goes to /var/log/packages...its cos i missed the reading part...
 
Old 05-04-2015, 11:02 AM   #28
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
You don't have to, but you may
 
Old 05-04-2015, 11:05 AM   #29
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
If you copied the tinywm executable to /usr/bin, it is now in PATH (if it's executable), so you can just as well create a file .xinitrc in your home directory with content such as this:

Code:
#! /bin/sh

xterm&
exec tinywm
Make it executable:
Code:
chmod +x ~/.xinitrc
 
Old 05-04-2015, 11:09 AM   #30
nitecrawler
Member
 
Registered: Dec 2014
Distribution: slackware x86-64 14.2
Posts: 188

Original Poster
Rep: Reputation: Disabled
thanks didier , lems and yes to all others who chipped in too...so maybe i sit on this tomorrow and get back with the results....
 
  


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 06:23 PM.

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