0

I have a chess program that runs from the command line by doing "scid".

I want to be able to open .pgn files automatically with scid. However, when I right click on a .pgn file and go to "Open with", I can't find scid.

How do I go about changing the default .pgn program opener to scid?

I use Ubuntu 13.10.

s3lph
  • 14,644
  • 12
  • 60
  • 83
Crake
  • 97
  • 13

1 Answers1

1

You could create a own desktop file in /usr/share/applications or ~/.local/share/applications. The easiest way is to copy an existing file. Open the file with root permission in your preferred editor (gedit/nano/...) and adapt the fields. Important is the Exec line. Here goes the command to be executed, where %f represents the file to be opened.

s3lph
  • 14,644
  • 12
  • 60
  • 83