[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.
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/
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.
@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
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.
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
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.
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.....
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...
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.