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
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?

#21 Post by kedaha »

It looks OK to me. Besides it is the latest version: Project Updated: June 10, 2021.
Now you can insert Leipzig piece style.
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?

#22 Post by keos »

O'k i just wanted to be sure that now i have the debian packages instaled, do you now if there is any way in wich it can verified? by a command ...?

Return tomorrow for the end business: 'Leipzig', it's too much now for me, I'm very tired, thanks for the help.
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?

#23 Post by kedaha »

To verify that the package you have downloaded is not different to the package from sourceforge, go to
https://sourceforge.net/projects/scidvs ... 0packages/
Click on the black i information icon where it shows:

SHA1: 3bb5e1c456c857f67c273b66aeb5a95b2e7ce416
MD5: 7236f9b95afb88bd2941527fb5eaa367

To verify that these values are the same as those for the downloaded file, change directory to, in your case, Descargas folder and run the following commands.

Code: Select all

$ sha1sum scid-vs-pc_4.22-1_amd64.deb
This should show:

Code: Select all

3bb5e1c456c857f67c273b66aeb5a95b2e7ce416  scid-vs-pc_4.22-1_amd64.deb
Similarly, run:

Code: Select all

$ md5sum scid-vs-pc_4.22-1_amd64.deb
which must show the value given on that page:

Code: Select all

7236f9b95afb88bd2941527fb5eaa367  scid-vs-pc_4.22-1_amd64.deb
Both must be the same as the SHA1 and MD5 on the site.

It is recommended to compile/build Debian packages from source, which should be signed rather than use third-party packages. I see that the scid-vs-pc_4.22-1_amd64.deb has been created using a utility called checkinstall and you may like to try and use this yourself some time rather than use a downloaded file and it is certainly preferable to the "make install" routine. For further details please see wiki.debian.org/CheckInstall.
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?

#24 Post by keos »

I did not see any black Icon ... but do not worry, it is o'k with me, if you say this is a Debian packages ...
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 scidvspc-hkvc?

#25 Post by keos »

Returning to the Leipzig problem, it looks like something is wrong with me again: :mrgreen:

Code: Select all

keos@keos-inspiron3583:~$ cd .scidvspc
keos@keos-inspiron3583:~/.scidvspc$ mkdir pieces
keos@keos-inspiron3583:~/.scidvspc$ locate Leipzig.tcl
keos@keos-inspiron3583:~/.scidvspc$ 

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?

#26 Post by kedaha »

Run updatedb again before locate.
In a screen shot you posted I see that you have put the file in a folder called "Leipzig" in your home folder so the copy command should be:

Code: Select all

cp /home/keos/Leipzig/Leipzig.tcl /home/keos/.scidvspc/pieces
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?

#27 Post by keos »

Code: Select all

keos@keos-inspiron3583:~$ cd .scidvspc
keos@keos-inspiron3583:~/.scidvspc$ mkdir pieces
keos@keos-inspiron3583:~/.scidvspc$ locate Leipzig.tcl
keos@keos-inspiron3583:~/.scidvspc$ updatedb
updatedb: no se puede abrir un archivo temporal para `/var/lib/mlocate/mlocate.db'
keos@keos-inspiron3583:~/.scidvspc$ 


*updatedb: unable to open a temporary file

Code: Select all

keos@keos-inspiron3583:~/.scidvspc$ cp /home/keos/Leipzig/Leipzig.tcl /home/keos/.scidvspc/pieces
cp: no se puede efectuar `stat' sobre '/home/keos/Leipzig/Leipzig.tcl': No existe el fichero o el directorio
keos@keos-inspiron3583:~/.scidvspc$ 
* can't perform `stat' on '/home/keos/Leipzig/Leipzig.tcl': File or directory does not exist
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?

#28 Post by kedaha »

What does these two commands showt?

Code: Select all

$ cd  /home/keos/Leipzig && ls
$ cd  /home/keos/.scidvspc && ls
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?

#29 Post by keos »

Code: Select all

keos@keos-inspiron3583:~$ cd .scidvspc
keos@keos-inspiron3583:~/.scidvspc$ mkdir pieces
keos@keos-inspiron3583:~/.scidvspc$ locate Leipzig.tcl
keos@keos-inspiron3583:~/.scidvspc$ updatedb
updatedb: no se puede abrir un archivo temporal para `/var/lib/mlocate/mlocate.db'
keos@keos-inspiron3583:~/.scidvspc$ cp /home/keos/Leipzig/Leipzig.tcl /home/keos/.scidvspc/pieces
cp: no se puede efectuar `stat' sobre '/home/keos/Leipzig/Leipzig.tcl': No existe el fichero o el directorio
keos@keos-inspiron3583:~/.scidvspc$ cd  /home/keos/Leipzig && ls
bash: cd: /home/keos/Leipzig: No existe el fichero o el directorio
keos@keos-inspiron3583:~/.scidvspc$ cd  /home/keos/.scidvspc && ls
config  data  log  pieces
keos@keos-inspiron3583:~/.scidvspc$ 
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?

#30 Post by kedaha »

I'm in a bit of a hurry now but maybe this'll do the trick:

Code: Select all

$ mkdir Chess && cd Chess
$ wget 'https://sourceforge.net/projects/scidvspc/files/support%20files/chess%20pieces/goldenbergg_high_dpi_pieces_v2.tgz'
$ tar -xvf goldenbergg_high_dpi_pieces_v2.tgz
$ cp /home/keos/Chess/goldenbergg_high_dpi_pieces_v2/Leipzig.tcl  /home/keos/.scidvspc/pieces
If not, you can copy the file in Thunar
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?

#31 Post by keos »

Captura de pantalla_2021-08-27_04-58-31.png
Captura de pantalla_2021-08-27_04-58-31.png (143.41 KiB) Viewed 2228 times
:D :D :D
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: [Solved] How to add Leipzig to scid-vs-pc/Debian?

#32 Post by kedaha »

I said I was in a bit of a hurry in my last post but now I've had another look at the question of adding Leipzig to the scidvspc-hkvc from snap rather than the version resulting from using the third-party deb from the upstream site.
In the upstream version, a hidden folder named .scidvspc (note the dot), is created in the user's home folder; however, if it is installed from snap, then the .scidvspc appears a subdirectory, which isn't so easy to find. In my system, the path to it is:
/home/kedaha/snap/scidvspc-hkvc/5/.scidvspc/
So having reinstalled the snap package, it is necessary first to launch the application in order to create its directories there:

Code: Select all

/home/kedaha/snap/scidvspc-hkvc/
├── 5
├── common
└── current -> 5

3 directories, 0 files
Now, to answer the original question: How to add Leipzig to scidvspc-hkvc?
(By the way, this can of course, be done using a GUI file manager like Thunar or Caja, once you know where things are, rather than in the terminal).
A folder named "pieces" must now be made like this:

Code: Select all

$ mkdir /home/kedaha/snap/scidvspc-hkvc/5/.scidvspc/pieces
And after that the Leipzig file may be copied from its origin folder, in my case a folder called "Chess" to the newly-created "pieces" file like this:

Code: Select all

$ cp /home/kedaha/Chess/goldenbergg_high_dpi_pieces_v2/Leipzig.tcl /home/kedaha/snap/scidvspc-hkvc/5/.scidvspc/pieces
I found another hidden .scidvspc file at /home/kedaha/snap/scidvspc-hkvc/current/.scidvspc/pieces
The pieces folder with Leipzig.tcl file inside it is at the end of the path. If not there (maybe mine was already there from a previous attempt), it is created thus:

Code: Select all

$ mkdir /snap/scidvspc-hkvc/current/.scidvspc/pieces
$ cp /home/kedaha/Chess/goldenbergg_high_dpi_pieces_v2/Leipzig.tcl /home/kedaha/snap/scidvspc-hkvc/current/.scidvspc/pieces 
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: [Solved] How to add Leipzig to scid-vs-pc/scidvspc-hkvc?

#33 Post by keos »

Hello there,

I wasn't done setting up Debian when something went wrong ... uninstalled / installed. :oops:

Sorry if I have to go back to this point again but now what you called 'the trick' didn't work for me, even when a new folder, “Chess”, has been created in / home / keos / after:

Code: Select all

$ mkdir Chess && cd Chess
$ wget 'https://sourceforge.net/projects/scidvs ... ces_v2.tgz'
$ tar -xvf goldenbergg_high_dpi_pieces_v2.tgz
$ cp /home/keos/Chess/goldenbergg_high_dpi_pieces_v2/Leipzig.tcl /home/keos/.scidvspc/pieces
viewtopic.php?p=741617#p741617

Your recommendation here was:
If not, you can copy the file in Thunar
I do not understand. The file was created it just do not open a Leipzig/tap.

What exactly do I have to copy and paste from and to which site?.

Does it refer to something else different?.

Thanks. :mrgreen:

EDIT: Just in case, this time i did not used de 'private/free repos' in the new instalation of Debian, after all i don't think that i will need it.
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: [Solved] How to add Leipzig to scid-vs-pc/scidvspc-hkvc?

#34 Post by kedaha »

keos wrote: 2021-09-03 09:01 Sorry if I have to go back to this point again but now what you called 'the trick' didn't work for me, even when a new folder, “Chess”, has been created in / home / keos / after:

Code: Select all

$ mkdir Chess && cd Chess
$ wget 'https://sourceforge.net/projects/scidvspc/files/support%20files/chess%20pieces/goldenbergg_high_dpi_pieces_v2.tgz'
$ tar -xvf goldenbergg_high_dpi_pieces_v2.tgz
$ cp /home/keos/Chess/goldenbergg_high_dpi_pieces_v2/Leipzig.tcl /home/keos/.scidvspc/pieces
viewtopic.php?p=741617#p741617

Your recommendation here was:
If not, you can copy the file in Thunar
I do not understand. The file was created it just do not open a Leipzig/tap.
The last command quoted above, if you have created a "pieces" folder in the hidden .scidvspc, will copy the file called 'Leipzig.tcl' to that folder.
After $ mkdir Chess && cd Chess the wget and tar commands are done from that folder i.e., from /home/keos/Chess/.
Alternatively you can use a file manager like Thunar (in my case I use Caja because I use the Mate desktop) to do file operations where there is surely an option to show hidden folders.
What exactly do I have to copy and paste from and to which site?.
To do it in a file manager you would first look for "Leipzig.tcl", copy it, and then navigate to the hidden folder called ".scidvsp", then open the "pieces" folder, and paste the "Leipzig.tcl" file 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: [Solved] How to add Leipzig to scid-vs-pc/scidvspc-hkvc?

#35 Post by keos »

I did it manually.
Now I see clearly what the problem is, what was created via the terminal was a file, not a folder, and in my system folders are configured to be the first than the files in the list, It could never have been opened!.
Captura de pantalla_2021-09-03_09-38-31.png
Captura de pantalla_2021-09-03_09-38-31.png (129.75 KiB) Viewed 1872 times
Thank you very much!! :!:


:D :D :D

EDIT:
I installed 4.19 trying to see if I had Leipzig ... and after turning on the PC today I saw that it had been upgraded to 4.22!
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