Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] How to add Leipzig to scid-vs-pc/scidvspc-hkvc?

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

[Solved] How to add Leipzig to scid-vs-pc/scidvspc-hkvc?

#1 Post by keos »

Hello there,

I'm trying to install a style of chess piece (Leipzig.tcl) in the SCID application, I have the file in question already downloaded in Thunar, but I can not find how to add this into SCIDVSPC GUI (the window on the right side) -- long time ago I managed to do it but I do not remember now ... :mrgreen:
2021-08-24-190349_1366x768_scrot.png
2021-08-24-190349_1366x768_scrot.png (157.84 KiB) Viewed 2520 times
Thanks for any idea about it.
Last edited by keos on 2021-08-27 20:59, edited 4 times in total.
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: How to add Leipzig to scidsvpc?

#2 Post by kedaha »

Hello again,
In scidvspc-hkvc from snap, isn't it already available without downloading any file?
Options --> Chessboard --> Piece Style --> Leipzig
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: How to add Leipzig to scidsvpc?

#3 Post by keos »

Hi, sorry i forgot to mention, yes, it is 'scidvspc-hkvc from snap'.

No, as far as i can see at the window 'on the right side' (the capture) it do not have any option for Leipzip,

Options>chessboard/pieces>'click' on this, and a window open as i said before showing ...
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: How to add Leipzig to scidsvpc?

#4 Post by kedaha »

Please post the download link for the Leipzig file.
Last edited by kedaha on 2021-08-26 05:51, edited 1 time in total.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: How to add Leipzig to scidsvpc?

#5 Post by keos »

I tried the two first on this list 'goldenbergg_high_dpi_pieces' (Leipzig is inside ...)
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: How to add Leipzig to scidsvpc?

#6 Post by keos »

All I can remember was that the file brought a text, then i had to do an operation from that file, something like selecting that text and when you opened options/chessboard/pieces in scid, Leipzig was already downloaded.
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: How to add Leipzig to scidsvpc?

#7 Post by keos »

I keep trying to record but I'm already exhausted ...

We have to do something like this: create a file, download de link ... (captures) then do something with that Leipzig text, and when scid is opened, Leipzid will be displayed as another new stile of pieces together with the others ...:
Captura de pantalla_2021-08-25_13-07-03.png
Captura de pantalla_2021-08-25_13-07-03.png (71.6 KiB) Viewed 2448 times
Captura de pantalla_2021-08-25_13-07-03.png
Captura de pantalla_2021-08-25_13-07-03.png (71.6 KiB) Viewed 2448 times
Attachments
Captura de pantalla_2021-08-25_13-13-41.png
Captura de pantalla_2021-08-25_13-13-41.png (229.46 KiB) Viewed 2448 times
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: How to add Leipzig to scidvspc-hkvc?

#8 Post by kedaha »

I've looked at this but haven't found the solution yet.
It might be a good idea to post on the Project Forum for scidvspc here and include a link to your other topic on how you have installed it.
There is something about board customisation at scidvspc.sourceforge.net/doc/Board.htm and
scidvspc/helpful-tips.htm, which may be outdated, under the heading, "Some of your screenshots show a piece font that I don't have. How can I add this piece font to my list of choices?"
I think that in order to add Leipzig, or other piece fonts, it might make things easier to download and install a regular scidvspc deb package because snap paths and directories may complicate things a little: See scidvspc.sourceforge.net/#toc4. You could try using one of the packages at scidvspc/files/linux%20packages. If you do so, then I would recommend removing the snap version first, either using the snapstore GUI or by executing these commands:

Code: Select all

# snap remove scidvspc-hkvc
# cd /usr/share/applications && rm scidvspc-hkvc_scidvspc-hkvc.desktop
And remove the hidden .scidvspc directory in home too, if there is one. The command ls -a is used to show hidden files.

Code: Select all

$ rm -r .scidvspc
.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: How to add Leipzig to scidvspc-hkvc?

#9 Post by keos »

I think that in order to add Leipzig, or other piece fonts, it might make things easier to download and install a regular scidvspc deb package because snap paths and directories may complicate things a little: See scidvspc.sourceforge.net/#toc4.
Last night I found some instructions for/how to install scid-vs-pc on Linux, I did it and installed the package I downloaded from sorceforge, curiously I see that Lepzig does not come in this version, despite being the latest (4.22), :cry: and scid which is an "antique" includes it ...

In case anyone wants to know, here are the instructions: :!:

download latest version: https://sourceforge.net/projects/scidvs ... z/download
sudo apt install tcl8.6 tcl8.6-dev tk8.6 tk8.6-dev
sudo ln -s /usr/bin/tclsh8.6 /usr/bin/tclsh
cd to wherever you downloaded scid_vs_pc-4.19.tgz
tar xzf scid_vs_pc-4.19.tgz
cd scid_vs_pc-4.19
./configure
sudo make install

cp /usr/share/app-install/desktop/scid:scid.desktop ~/.local/share/applications

*I don't know if it is allowed here to put links from other forums ...

Thanks for everything.
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: How to add Leipzig to scidvspc-hkvc?

#10 Post by kedaha »

keos wrote: Last night I found some instructions for/how to install scid-vs-pc on Linux, I did it and installed the package I downloaded from sorceforge, curiously I see that Lepzig does not come in this version, despite being the latest (4.22), :cry: and scid which is an "antique" includes it ...

In case anyone wants to know, here are the instructions: :!:

download latest version: https://sourceforge.net/projects/scidvs ... z/download
sudo apt install tcl8.6 tcl8.6-dev tk8.6 tk8.6-dev
sudo ln -s /usr/bin/tclsh8.6 /usr/bin/tclsh
cd to wherever you downloaded scid_vs_pc-4.19.tgz
tar xzf scid_vs_pc-4.19.tgz
cd scid_vs_pc-4.19
./configure
sudo make install

cp /usr/share/app-install/desktop/scid:scid.desktop ~/.local/share/applications
"make install" is not a good idea for reasons given in the Debian Wiki: Don't Break Debian because 'make install' can conflict with other packages.
It is a much better idea to make a proper Debian package inside a proper build environment but if not then a ready-made deb package is preferable to "make install."
keos wrote:*I don't know if it is allowed here to put links from other forums ...
Yes, of course it is OK to reference posts in other forums.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: How to add Leipzig to scidvspc-hkvc?

#11 Post by keos »

I did't know that about such a kind of problems by using make install.

Before to make any other scid instalation ...

I already remove scidvspc-hkvc.

I went into thunar and remove all files i found about scid ...

Now i'm trying to remove scid-vs-pc version 4.22 the one i installed with ' make install' and it still there!.


*By the way, i went to the site of sourceforge you recommend for the Debian scidvspc and i don't see any instruction about installation (?).

Well, i was still looking for ... and now i found this which i think it is of snap. If it is,then the previous command did not remove/purge scidvspc-hkvc at all, my question: Is it going to be enough good to erease all this files from #thunar?. What should i do?. Thanks.
Captura de pantalla_2021-08-26_09-09-20.png
Captura de pantalla_2021-08-26_09-09-20.png (138.6 KiB) Viewed 2378 times
Captura de pantalla_2021-08-26_09-29-12.png
Captura de pantalla_2021-08-26_09-29-12.png (105.23 KiB) Viewed 2373 times
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: How to add Leipzig to scidvspc-hkvc?

#12 Post by kedaha »

keos wrote: I went into thunar and remove all files i found about scid ...

Now i'm trying to remove scid-vs-pc version 4.22 the one i installed with ' make install' and it still there!.
With "make install" the files are not visible to apt and have to be found and manually removed but that might be better dealt with as another topic.
keos wrote:*By the way, i went to the site of sourceforge you recommend for the Debian scidvspc and i don't see any instruction about installation (?).
If you download a deb using your browser it will end up in your Downloads folder. For example in my case, to install it with the dpkg package manager:

Code: Select all

kedaha@debian:~$ cd Downloads && ls
scid-vs-pc_4.22-1_amd64.deb
kedaha@debian:~/Downloads$ sudo dpkg -i scid-vs-pc_4.22-1_amd64.deb
[sudo] password for kedaha: 
Selecting previously unselected package scid-vs-pc.
(Reading database ... 273728 files and directories currently installed.)
Preparing to unpack scid-vs-pc_4.22-1_amd64.deb ...
Unpacking scid-vs-pc (4.22-1) ...
Setting up scid-vs-pc (4.22-1) ...
Processing triggers for fontconfig (2.13.1-4.2) .
it doesn't create a launcher automatically but can be launched with ALT F2 --> Run Application and launched with: /usr/local/bin/scid or use that command in the terminal.
To create a launcher in the menu, in my system Edit menus --> Applications, Select Games and then add a New Item and create an entry there. (I suppose it's similar in other desktops like XFCE):
Type: Application
Name: ScidvsPc-4.22
Command: /usr/local/bin/scid
Comment: Chess database
And now it can be launched from the menu. I used a little icon of a Rook as the launcher icon.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: How to add Leipzig to scidvspc-hkvc?

#13 Post by kedaha »

Now, to return to the question of adding Leipzig.
After you have installed the deb, all that is necessary now is to place the file called Leipzig.tcl inside a folder named pieces inside the hidden .scidvspc folder in your home directory, as detailed in the link I gave you above:
(No sudo please because it's done in the home folder).

Code: Select all

$ cd .scidvspc
$ mkdir pieces
$ locate Leipzig.tcl
In my system I had copied it to a folder called "chess" so the last command shows me:

Code: Select all

/home/kedaha/chess/goldenbergg_high_dpi_pieces_v2/Leipzig.tcl
So now all I have to do is:

Code: Select all

$ mkdir .scidvspc/pieces
$ cp /home/kedaha/chess/goldenbergg_high_dpi_pieces_v2/Leipzig.tcl /home/kedaha/.scidvspc/pieces
Now the leipzig pieces will appear automagically!
And the topic can be marked as solved. :mrgreen:
Alternatively you can just create the pieces file and copy the Leipzig.tcl file in your Thunar GUI since it's in your home directory.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: How to add Leipzig to scidvspc-hkvc?

#14 Post by keos »

I don't know what i'm doing wrong:

Code: Select all

keos@keos-inspiron3583:~/Descargas$ sudo dpkg -i scid_vs_pc-4.22
dpkg: error: el archivo 'scid_vs_pc-4.22' no es un fichero normal
keos@keos-inspiron3583:~/Descargas$ LANG=C sudo dpkg -i scid_vs_pc-4.22
dpkg: error: archive 'scid_vs_pc-4.22' is not a regular file
keos@keos-inspiron3583:~/Descargas$ 


Code: Select all

keos@keos-inspiron3583:~/Descargas$ ls
arenalinux_64bit_3.10beta      scid_vs_pc-4.22
bookmarks_20_8_21-ULTIMO.html  scid_vs_pc-4.22.tgz
Caissabase_2020_11_14          ShashChess16-x86-64
critter_1.6a_linux             SlowChess-Linux-2.5
Ethereal-master                stockfish_13_linux_x64_bmi2
komodo-12.1.1_5a8fc2           vivaldi-stable_4.1.2369.21-1_amd64
MillionBase_2020_08_31-4.04M   vivaldi-stable_4.1.2369.21-1_amd64.deb
Pedone_3.1                     xiphos-0.6-linux
keos@keos-inspiron3583:~/Descargas$ 

Attachments
Captura de pantalla_2021-08-26_12-13-23.png
Captura de pantalla_2021-08-26_12-13-23.png (170 KiB) Viewed 2354 times
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: How to add Leipzig to scidvspc-hkvc?

#15 Post by kedaha »

At present you have:
scid_vs_pc-4.22.tgz
and the extracted scid_vs_pc-4.22
They are not deb packages. Download and, using the dpkg command I posted before, install scid-vs-pc_4.22-1_amd64.deb package you will find there.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: How to add Leipzig to scidvspc-hkvc?

#16 Post by keos »

O'k i'm trying to follow your instructions, i donwloaded from the last link you ... i'm still doing something wrong:

Code: Select all

keos@keos-inspiron3583:~$ cd Descargas
keos@keos-inspiron3583:~/Descargas$ ls
arenalinux_64bit_3.10beta      scid_vs_pc-4.22
bookmarks_20_8_21-ULTIMO.html  scid_vs_pc-4.22.tgz
Caissabase_2020_11_14          ShashChess16-x86-64
critter_1.6a_linux             SlowChess-Linux-2.5
Ethereal-master                stockfish_13_linux_x64_bmi2
komodo-12.1.1_5a8fc2           vivaldi-stable_4.1.2369.21-1_amd64
MillionBase_2020_08_31-4.04M   vivaldi-stable_4.1.2369.21-1_amd64.deb
Pedone_3.1                     xiphos-0.6-linux
keos@keos-inspiron3583:~/Descargas$ sudo dpkg -i scid_vs_pc-4.22
[sudo] password for keos: 
dpkg: error: el archivo 'scid_vs_pc-4.22' no es un fichero normal
keos@keos-inspiron3583:~/Descargas$ 

Code: Select all

keos@keos-inspiron3583:~/Descargas$ LANG=C sudo dpkg -i scid_vs_pc-4.22
dpkg: error: archive 'scid_vs_pc-4.22' is not a regular file
keos@keos-inspiron3583:~/Descargas$ 


Captura de pantalla_2021-08-26_12-13-23.png
Captura de pantalla_2021-08-26_12-13-23.png (170 KiB) Viewed 2335 times

The link you provide is taking me to here:

https://sourceforge.net/projects/scidvs ... 0packages/
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: How to add Leipzig to scidvspc-hkvc?

#17 Post by kedaha »

You can use wget to download the deb file:

Code: Select all

$ cd Descargas
$ wget 'https://sourceforge.net/projects/scidvspc/files/linux%20packages/scid-vs-pc_4.22-1_amd64.deb'
ls will show you it has downloaded:

Code: Select all

$ ls
scid-vs-pc_4.22-1_amd64.deb
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: How to add Leipzig to scidvspc-hkvc?

#18 Post by keos »

I was doing something wrong ... i got it now, but it is not same in xfce4 i can't find a way to launch it ...
and i don't know how to do it by the terminal.

Code: Select all

keos@keos-inspiron3583:~/Descargas$ sudo dpkg -i scid-vs-pc_4.22-1_amd64.deb
Seleccionando el paquete scid-vs-pc previamente no seleccionado.
(Leyendo la base de datos ... 229158 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar scid-vs-pc_4.22-1_amd64.deb ...
Desempaquetando scid-vs-pc (4.22-1) ...
Configurando scid-vs-pc (4.22-1) ...
Procesando disparadores para fontconfig (2.13.1-4.2) ...
keos@keos-inspiron3583:~/Descargas$ 

Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: How to add Leipzig to scidvspc-hkvc?

#19 Post by kedaha »

As I already posted:
"it doesn't create a launcher automatically but can be launched with ALT F2 --> Run Application and launched with: /usr/local/bin/scid or use that command in the terminal."
After you press the keys ALT and F2 a little box called "Run Application" will pop up. Just type in /usr/local/bin/scid
or maybe just the acronym scid will work.
In a terminal just type in /usr/local/bin/scid followed by enter and it will launch, or maybe just scid
You could search on the net how to create a launcher for your chosen desktop environment or create a new topic if you don't find how to do it.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: How to add Leipzig to scidvspc-hkvc?

#20 Post by keos »

from the terminal this is what is coming (and i already remove all previous files related to scid)

Is it the right scid? it looks to me that is not because it show different # (version 4.22)
2021-08-26-140015_1366x768_scrot.png
2021-08-26-140015_1366x768_scrot.png (177.25 KiB) Viewed 2320 times
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

Post Reply