WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to install a custom FLWM  (Read 338 times)

Offline qg

  • WikiUser
  • *
  • Posts: 6
How to install a custom FLWM
« on: February 28, 2017, 05:15:01 AM »
Hi,

I would like to disable some hot keys from the standard FLWM.
Here is what I have done so far:
- I downloaded the code source for FLWM from github (https://github.com/tinycorelinux/flwm)
- I modified the config.h file to satisfy my needs
- I compiled the code using "./compileit"
- Everything worked and I now have two executable files: flwm and flwm_topside

Now my problem comes from the installation.
I already have flwm_topside installed on my distribution and I can find the "flwm_topside.tcz" file under my tce/optional folder.
I thought it would be a good idea to just replace this "flwm_topside.tcz" by my new executable file flwm_topside after squashing it (mksquashfs). That's what I did but now there is no background, no mouse icon, etc. It's the same as not having a window manager with no background. So that's obviously not the right way to do it.

I have been looking around trying to find the solution to my problem but I couldn't.
How do we install a custom FLWM ?

I thought the problem could come from the following executable files that are missing in my compiled flwm : flwm_topside_initmenu, flwm_topside_makemenu, flwm_topside_menu_common, etc. (found in /usr/local/bin/)
But I can't file these files anywhere.

Thanks in advance

PS: I am using tinycore 7.2

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9607
Re: How to install a custom FLWM
« Reply #1 on: February 28, 2017, 06:38:22 AM »
First load the old flwm extension, then:
Code: [Select]
$ mkdir /tmp/pkg
$ sudo cp -rp /tmp/tcloop/flwm/usr /tmp/pkg
$ sudo cp flwm /tmp/pkg/usr/local/bin [your new flwm]
$ cd /tmp
$ sudo mksquashfs pkg/ flwm.tcz

Offline qg

  • WikiUser
  • *
  • Posts: 6
Re: How to install a custom FLWM
« Reply #2 on: February 28, 2017, 08:18:11 AM »
Thanks !
It works great  :)