Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: oovy on May 21, 2019, 02:46:19 AM

Title: Change Theme of the TC FWLM?
Post by: oovy on May 21, 2019, 02: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.
Title: Re: Change Theme of the TC FWLM?
Post by: Juanito on May 21, 2019, 04: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
Title: Re: Change Theme of the TC FWLM?
Post by: Juanito on May 21, 2019, 05: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.
Title: Re: Change Theme of the TC FWLM?
Post by: curaga on May 21, 2019, 09:57:07 AM
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.
Title: Re: Change Theme of the TC FWLM?
Post by: oovy on May 21, 2019, 11:42:35 AM
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?
Title: Re: Change Theme of the TC FWLM?
Post by: jazzbiker on May 21, 2019, 02: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!
Title: Re: Change Theme of the TC FWLM?
Post by: Rich on May 21, 2019, 05: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.
Title: Re: Change Theme of the TC FWLM?
Post by: oovy on May 22, 2019, 03: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