Announcements > Getting Started
Problem with linux repository + linux dual displays (solved)
(1/1)
cattyandco:
(using Ubuntu Studio 20.04)
I was trying to follow the instructions at:-
https://fsnebula.org/knossos/
But there seems to be a text file missing from the repository that Synaptic needs.
I've put the error messages below in case it is something that needs fixing.
I solved it while writing this though as I was able to clone it from github with:-
$ git clone https://github.com/ngld/knossos.git
and successfully compiled it from source. (after sorting out countless missing Python dependencies, and some essential commands missing from the help, an absolutely horrible experience)
I think an additional step the readme should have mentioned was
$ pipenv install PyQt5
Which I guess is something along the lines that as well as having the PyQt5 developer packages on Ubuntu, they also need to be installed into the Python Environment.
=============
$ sudo add-apt-repository ppa:ngld/knossos
https://github.com/ngld/knossos
More info: https://launchpad.net/~ngld/+archive/ubuntu/knossos
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://gb.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Hit:3 http://archive.canonical.com/ubuntu focal InRelease
Ign:4 http://ppa.launchpad.net/ngld/knossos/ubuntu focal InRelease
Hit:5 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease
Get:6 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Err:7 http://ppa.launchpad.net/ngld/knossos/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 80]
Get:8 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ngld/knossos/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
$ sudo apt-get update
[snip]
Ign:5 http://ppa.launchpad.net/ngld/knossos/ubuntu focal InRelease
Err:7 http://ppa.launchpad.net/ngld/knossos/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 80]
[snip]
E: The repository 'http://ppa.launchpad.net/ngld/knossos/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
[snip]
$ sudo apt-get install knossos
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package knossos
=============
It works though! And it's a joy to play FS2 again on a projector with a PS4 controller. For Linux, Knossos would really benefit from either the option to run in windowed mode, or the option to control which X display the game runs on. I work round that problem with a set of .desktop launchers but it's annoying:-
1. xrandr --output DVI-I-0 --off
(play game)
(then to reset dual displays)
2. xrandr --output DVI-I-0 --auto
3. xrandr --output HDMI-0 --right-of DVI-I-0
(where DVI-I-0 is the name of the logically-primary display, to the side of a projector HDMI-0)
the names of displays can be shown with
$ xrandr --query
Navigation
[0] Message Index
Go to full version