Welcome to Certabo forum

Both posts in italian and in english are accepted on the forum to help everybody to provide contribution irrespective to geographical location. Object of the forum is to provide technical information on various items and help developer and users to personalise software for Certabo chessboards. User explicitly accepts the conditions of use of this forum here reported.

A brief introduction of user is always appreciated in section Welcome to….

Benvenuti nel forum di Certabo

Sul forum possono essere postati articoli sia in lingua italiana che inglese per permettere a tutti di dare il proprio contributo da diversi luoghi geografici. Il forum ha come scopo fornire informazioni tecniche in generale e aiutare gli sviluppatori ed utenti a personalizzare software per le scacchiere Certabo. L’utente accetta esplicitamente le condizioni del presente forum consultabili qui.

Un breve saluto del nuovo utente è sempre gradito nella sezione Benvenuti a….

Please or Register to create posts and topics.

Latest software for linux based pc's

Page 1 of 2Next

Hi all,

About one year ago there was a post about installing the Certabo software on linux. Pietro put the link of the then current software on the forum in one of the threads. That link is : https://github.com/CERTABO/Release-4.1-BT/tree/master

As I use linux as my main OS, I would like to know if there are plans to distribute the Releases 5 and 6 also for us, and not just pc/windows and mac.

Thanks,

 

Goku

Quote from GokuK on April 7, 2023, 5:28 pm

Hi all,

About one year ago there was a post about installing the Certabo software on linux. Pietro put the link of the then current software on the forum in one of the threads. That link is : https://github.com/CERTABO/Release-4.1-BT/tree/master

As I use linux as my main OS, I would like to know if there are plans to distribute the Releases 5 and 6 also for us, and not just pc/windows and mac.

Thanks,

 

Goku

Pietro is aiming to offer a compiled linux version for download in the future.

Recently (one week ago) he sent me an app:
" hi Michiel good day how you doing just want to tell i did not forget"
" just we are having some trouble in compiling on latest release of ubuntu"

Since my personal linux distribution (Solus linux) although having been rock stable for years now lacks maintenance (no updates last two months, no communication since), I started all over again and installed Linux Mint Debian Edition on my laptop.

I suggested Pietro to have a look whether compiling in a native Debian OS would work.

He did install Debian after that.

That' s the current status I am aware of.

I have not yet taken a dive into getting things on  my Certabo eboard working again also in my new LMDE5 system.

I do remember that one of the previous versions was (some years ago) sent to me by Pietro (via WeTransfer or whatsoever) because not the full file package was available in the Github directories.

I am sure when you get in contact with Pietro he will be helping you getting underway.

What linux distro do you use? (just out of curiosity)

Received the 4.5 version linux files from Pietro today.

After unzipping and moving to destination directory in the terminal a

./main

command opened the Certabo software, that functioned well both in offline as online (on lichess) mode, without having to install additional dependencies or whatsoever. On my Linux Mint Debian Edition laptop system.

Pietro now moves on making the 4.52 version (with further improvements) available.

Benjac has reacted to this post.
Benjac
Quote from Michiel on April 7, 2023, 7:04 pm

What linux distro do you use? (just out of curiosity)

I have been using OpenSuSE for over 15 years now, continuously updating and keeping the latest stable versions. For me it is a very stable and complete platform, but in case of extras outside the distro it is often less friendly. It takes work to get additional software running. In this case the Certabo software, it doesn't run out of the box. Which is admittedly a bit frustrating at times.

Hello Gokuk Michiel

Sorry for keep you waiting a bit. Here the download link

https://www.certabo.com/wp-content/uploads/SOFTWARE/Release/Ubuntu/Certabo_Tabutronic_Ubuntu_4.5.zip

Just unzip the folder open a terminal in it and type ./main @Gokuk please let me know if works ok for you too.

This is compiled for Ubuntu and i expect will work on OpenSuse. This version is the latest 4.5 and support both Certabo and Tabutronic. So will autodetect the board used. Also if you like to use the Tabutronic layout just rename the sprites directory in the folder.

Gokuk here the link you required for the latest release of DaVinci https://www.certabo.com/wp-content/uploads/SOFTWARE/Release/Raspberry/DaVinci_4.5_4.0_Extreme_Mar_23.zip which is coming with the latest units. In this release there are two version the 4.52 with Elia modification and the previous one the 4.0.

As anticipated by Michiel will compile the 4.52 for Ubuntu too other releases are coming (because the software is now getting  quite sophisticated and may require some setting and packages ) probably it is definitively good to start having  have compiled version for Unix too.

All the best and i wish you a nice Easter (do not eat too much chocolate eggs as we do here 🙂

Pietro

 

Hi Pietro,

Thanks for the support. I love how fast and apt you pick up the questions.

The linux 4.5 version works for offline part. The provided Stockfish and lc0 engines work, I can play these engines.

I do heartily miss the maia part of the lc0 engine. Maia was provided with the test version of the 4.5 release that you sent me a couple of weeks ago. I do have a personal && special interest in the Maia engine as I have only just this week progressed to the point that I can sometimes win from Maia-1100, of which I'm happy, as I started playing from scratch only 1 month ago. It did take quite some daily study, but I'm so hooked into the game, and I did get the feeling that I'm getting somewhere :). Anyways, copying the former Maia engines files to this newer release didn't work.

The online part does open the window to Launch Website; and I have my token entered in the application. But the lichess.org website isn't launched. Actually there is no activity in firefox that shows that the website is being launched. However, there is some progress, no longer there is the error message from before that indicated that the online software stopped working.

I will try the Davinci tomorrow and will report back in this thread.

Quote from GokuK on April 8, 2023, 10:52 pm

(...)

The online part does open the window to Launch Website; and I have my token entered in the application. But the lichess.org website isn't launched. Actually there is no activity in firefox that shows that the website is being launched. However, there is some progress, no longer there is the error message from before that indicated that the online software stopped working.

I have been Googling a bit (e.g. whether Firefox is perhaps stored in an other path in your distro (not sure, OpenSUSE seems to use /lib64 folder which other distro' s do no longer, but this assumption might be false) and looked in theGithub repo' s in the online_gui.py python file.

It seems that the python script launches the browser via an

import webbrowser

followed later in the code by

webbrowser.open('https://lichess.org/', new=2, autoraise=True)
self.lichess_api_thread = threading.Thread(target=lichess.main, args=(self.port, token), daemon=True)
self.lichess_api_thread.start()
self.change_status(['Running', 'gray', 'black'])

self.root.after(self.refresh_rate, self.check_status())

Then I googled again and came upon this thread, so the current question: might it (browser not launching in a GUI) have to to with which user you are (regular user or root)? (and or would checking  xhost or adding  xhost + help perhaps?):

https://forums.opensuse.org/t/python-webbrowser-with-root/92189

(I assume your lichess API board token is correctly generated and saved)

More reference / tutorial regarding the python webbrowser module functions:
https://factorpad.com/tech/python/reference/python-webbrowser.html
(so e.g. in your Firefox preferences can new tabs be opened or are they blocked?)

Hi Michiel,

Your linux skills are a bit higher than mine :), but I can do the basic checks and basic shell scripts. I'm not at all proficient in python.

  • Firefox is installed in the /usr/lib64 directory, you assumed correctly.
  • My lichess API board token is correctly generated and saved as far as I can tell. When I check the token, it shows as I entered it.
  • I logon my linux system as a user, but as I am the single user on the system. I do hold the root account, I can sudo etc, but for regular user activities I use my user-account. I can open new tabs in firefox, nothing is blocked for my user-account.

Hi Gokuk and Michiel for the link

@gokuk Can you run ./main --debug this will tell the problem when you launch I also got a suggestion from Bernd which I'm attaching here you may want to try.

—>
regarding the Firefox Problem …
Please, uninstall Firefox, than install Firefox new from your Package/Application-Manager and NOT direct from the Mozilla-Site! A further more hint: Don’t use ‚Add-Ons‘. Possible that it ‚better‘ work …
Best regards,
Bernd
Remark: I use also the LMDE 5 Distro and have no Problems with Firefox.
<---
Thank you Bernd
All the best
Pietro

 

Quote from GokuK on April 9, 2023, 11:47 am

Hi Michiel,

Your linux skills are a bit higher than mine :), but I can do the basic checks and basic shell scripts. I'm not at all proficient in python.

  • Firefox is installed in the /usr/lib64 directory, you assumed correctly.
  • My lichess API board token is correctly generated and saved as far as I can tell. When I check the token, it shows as I entered it.
  • I logon my linux system as a user, but as I am the single user on the system. I do hold the root account, I can sudo etc, but for regular user activities I use my user-account. I can open new tabs in firefox, nothing is blocked for my user-account.

I am not an expert either 😉 more of an end-user.

There is one thing you might try (since somehow calling Firefox (assuming that's your default browser) does not seem to work at your OS.

You could try a tiny edit in a single file in e.g. the 4.1 BT version, save it and see what happens if you try again thereafter.

The file is called online.py and visible on https://github.com/CERTABO/Release-4.1-BT/blob/master/online.py

Lookup rule #140 and try (in a text editor) to change:

webbrowser.open('https://lichess.org/', new=2, autoraise=True)

into something like:

webbrowser.get('firefox').open('https://lichess.org/', new=2, autoraise=True)

(so add in the .get('firefox') part in that line).

If this works for getting the online part to play you could provide that feedback to Puetro and they might adjust this single file accordingly before compiling. (Note you cannot find this file in the compiled zipprd version 4.5 Pietro made available yesterday, but you can edit the file in the uncompiled versions you download from the Github repositories.

Page 1 of 2Next