WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: XLibre - a fork of Xorg  (Read 1049 times)

Offline Vaguiner

  • Full Member
  • ***
  • Posts: 198
Re: XLibre - a fork of Xorg
« Reply #15 on: August 04, 2025, 03:12:54 PM »

Foot says: err: main.c:436: setlocale() failed

Loaded mylocale, etc. But still:
Code: [Select]
locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15227
Re: XLibre - a fork of Xorg
« Reply #16 on: August 04, 2025, 03:26:01 PM »
I couldn't run any terminal.

Did you try havoc?

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1648
Re: XLibre - a fork of Xorg
« Reply #17 on: August 04, 2025, 04:02:04 PM »
Loaded mylocale, etc. But still:
Code: [Select]
locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
Hi Vaguiner. A UTF-8 locale is required for  foot  to work, as stated in its  .info  file. It seems your locale is not correctly configured. You need to see something along these lines:

Code: [Select]
$ locale -a
C
en_US.utf8
POSIX

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Once your locale is set correctly,  foot  should work. I use foot 1.21.0 in TCL16 x86_64 as my daily driver without issues.

Offline Vaguiner

  • Full Member
  • ***
  • Posts: 198
Re: XLibre - a fork of Xorg
« Reply #18 on: August 04, 2025, 04:05:45 PM »
Did you try havoc?

Got it


The whole thing feels more elegant, smooth, and responsive. Definitely a good thing.

Offline Vaguiner

  • Full Member
  • ***
  • Posts: 198
Re: XLibre - a fork of Xorg
« Reply #19 on: August 04, 2025, 05:19:06 PM »
Everything works as it should, so it's probably close to perfect. Heh, who would have thought that TinyCore, such a conservative and tinysystem, would now be one of the first to be able to run Wayland only?



Thanks, I'll keep that in mind. However, although very tempting, it's not feasible for me to stay on 15w.x with so many extensions that have already been updated on 16.x.

btw my onboot is like this:
Code: [Select]
mylocale.tcz
firmware-i915.tcz
havoc
labwc
firmware-atheros
firmware-iwlwifi
wireless_tools
wifi
nano
file
Xorg-fonts

Took me some time to realize that labwc was refusing to spawn because of missing extension Xorg-fonts

I also have no idea how to change the keyboard layout. In dwl, it's easier to do it through the source code.
"file" is missing by nano
« Last Edit: August 04, 2025, 05:39:37 PM by Vaguiner »

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1648
Re: XLibre - a fork of Xorg
« Reply #20 on: August 04, 2025, 06:05:55 PM »
I also have no idea how to change the keyboard layout.
In labwc it's done through environment variables, which you define in ~/.config/labwc/environment

I like US standard layout as default, with ability to switch to US international layout by pressing Shift+CapsLock. So, as an example, this is what my ~/.config/labwc/environment looks like:

Code: [Select]
$ cat ~/.config/labwc/environment
XKB_DEFAULT_LAYOUT=us,us(intl)
XKB_DEFAULT_OPTIONS=grp:shift_caps_toggle
XCURSOR_THEME=Bibata-Original-Ice
XCURSOR_SIZE=24

More details here:
https://github.com/labwc/labwc/blob/master/docs/environment
https://labwc.github.io/labwc-config.5.html#environment_variables

Offline nick65go

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 912
Re: XLibre - a fork of Xorg
« Reply #21 on: August 05, 2025, 04:02:14 AM »
It will be nice if this will evolve in a TC wiki specifically dedicated to Wayland and its application.
Maybe short tips of what config to load, what options are for menu, terminal, keyboard, panel, taskbar etc.

They can be in each .info files, but centralized in a wiki page could be better (even if just concatenate of copy/paste *.info).
And maybe some links to developer source/docs for people who want to spend time to read the fine tune ups. (as GNUser already started listing few).

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12211
Re: XLibre - a fork of Xorg
« Reply #22 on: August 05, 2025, 07:29:32 AM »
Hi nick65go
It will be nice if this will evolve in a TC wiki specifically dedicated to Wayland and its application. ...
Thank you for volunteering, and congratulations, you've been promoted to Wiki Author.


Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1648
Re: XLibre - a fork of Xorg
« Reply #23 on: August 05, 2025, 09:44:18 AM »
what options are for menu, terminal, keyboard, panel, taskbar etc.
Hi nick65go. If you are using a wlroots-based compositor such as sway or labwc, here is a helpful list of options:

https://github.com/solarkraft/awesome-wlroots

Offline nick65go

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 912
Re: XLibre - a fork of Xorg
« Reply #24 on: August 06, 2025, 05:28:21 AM »
Hi nick65go
Thank you for volunteering, and congratulations, you've been promoted to Wiki Author.
@Rich: Thank you for your trust and your over-estimating of my skills  :) 
I am still on CachyOS with KDE (Kwin windows manager). But I will prepare something offline and message you when is suitable (after testing my findings) and when time will allow me to focus more on TC. Tiny-core still remains for me a nice project to promote and survive.
FYI: Until now, I never wrote any wiki articles and my English is not native. It could become embarrassing to me.