WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Change Theme of the TC FWLM?  (Read 3207 times)

Offline oovy

  • Newbie
  • *
  • Posts: 19
    • rustige.me
Change Theme of the TC FWLM?
« on: May 21, 2019, 05:46:19 AM »
Hi!
So I'm currently trying to build a small little OS, that my students can actually use on a USB drive. But since the FWLM looks a little bit outdated, I wanted to change the Theme.

I'm currently using CorePlus 10.0. I already tried different approches to this issue, but still havent got a solution. I have GTK2 installed, so my JavaFX applications work, and GTK-Engines. But I'm not able to change the theme. I also tried with lxappearance, but still nothing. I heard about GTK2_prefs, but that seems to be unavailable for Core 10.0.

Can anybody give me a solution?

Thanks in advance.
« Last Edit: May 21, 2019, 06:14:04 AM by oovy »
someone once said to me: "if your code works, just dont touch it. If it does not, just dont touch it either. Otherwise your life will become hell."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Change Theme of the TC FWLM?
« Reply #1 on: May 21, 2019, 07:10:25 AM »
Isn't gtk2 just as outdated as flwm?

Loading gtk-engines created the following file:
Code: [Select]
$ cat ~/.gtkrc-2.0
include "/usr/local/share/themes/Clearlooks/gtk-2.0/gtkrc"
I would have thought that if you exit to the prompt and startx again, the clearlooks theme would be displayed?

There is also the choice of Default, Industrial, Raleigh, ThinIce, Crux, Emacs, Mist and Redmond

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Change Theme of the TC FWLM?
« Reply #2 on: May 21, 2019, 08:07:44 AM »
In fact both gtk-engines and gtk2_prefs depended on an old version of libpng.

Reposted as gtk2-engines and gtk2-prefs - they should work now - reboot and ensure you do not have the old versions loaded.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Change Theme of the TC FWLM?
« Reply #3 on: May 21, 2019, 12:57:07 PM »
It's unclear what you mean by theme here. FLWM does not have themes really, but you can install another WM. Gtk and qt apps use their own themes, etc.
The only barriers that can stop you are the ones you create yourself.

Offline oovy

  • Newbie
  • *
  • Posts: 19
    • rustige.me
Re: Change Theme of the TC FWLM?
« Reply #4 on: May 21, 2019, 02:42:35 PM »
first of all, thanks for all the answers.

It's unclear what you mean by theme here. FLWM does not have themes really, but you can install another WM. Gtk and qt apps use their own themes, etc.
By theme I meant something like the way you do it with gnome. Like downloading a new theme from gtkthemes websites (dont remember what it was called) and apply it to the topside. All I want to change is the look and feel, like the control bar (minimize, maximize, close, etc).

Do I really need to install gtk for that?
And if yes, how to I tell TC to launch gtk instead of the normal flwm?
someone once said to me: "if your code works, just dont touch it. If it does not, just dont touch it either. Otherwise your life will become hell."

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Change Theme of the TC FWLM?
« Reply #5 on: May 21, 2019, 05:47:50 PM »
Hi, oovy!

Seems that you need another window manager, not FLWM. gtk is not window manager, it is toolkit., You can try for example OpenBox window manager, its look is customizable. In order to use it you need to download it to your tce directory
Code: [Select]
tce-load -wi openbox.tcz
tce-load -wi obconf.tcz
or using Apps.
Then you need to tell the bootloader what WM you need. this is done by adding bootcode
Code: [Select]
desktop=openbox to your boot string. It can be found in extlinux.conf if you use default bootloader. You can browse the details in Wiki at tinycorelinux.net.
Have a nice box!
« Last Edit: May 21, 2019, 06:05:59 PM by jazzbiker »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: Change Theme of the TC FWLM?
« Reply #6 on: May 21, 2019, 08:02:20 PM »
Hi jazzbiker
... Then you need to tell the bootloader what WM you need. ...
Actually, you don't need to tell the bootloader anything. Remove the  flwm_topside.tcz  line from your  tce/onboot.lst  file. When you
reboot,  openbox  will be your window manager since it's the only window manager listed in your  tce/onboot.lst  file.

Offline oovy

  • Newbie
  • *
  • Posts: 19
    • rustige.me
Re: Change Theme of the TC FWLM?
« Reply #7 on: May 22, 2019, 06:58:10 AM »
Hi, oovy!

Seems that you need another window manager, not FLWM. gtk is not window manager, it is toolkit., You can try for example OpenBox window manager, its look is customizable. In order to use it you need to download it to your tce directory
Code: [Select]
tce-load -wi openbox.tcz
tce-load -wi obconf.tcz
or using Apps.
Then you need to tell the bootloader what WM you need. this is done by adding bootcode
Code: [Select]
desktop=openbox to your boot string. It can be found in extlinux.conf if you use default bootloader. You can browse the details in Wiki at tinycorelinux.net.
Have a nice box!

Hi!
Thank you for that idea. It was exactly what I was looking for!

Cheers
someone once said to me: "if your code works, just dont touch it. If it does not, just dont touch it either. Otherwise your life will become hell."