This is port of the idea of EDMC Overlay to the Linux.
Only API is ported, everything else is made from scratch. This repo supports X11 only yet.
- Added ability to show/hide overlay by 1 click in the main EDMC window, which can be used for the screenshots.
- Added basic "command" support compatible with Windows' version.
- Added ability to detect if EliteDangerous is top window (has input focus) and hide overlay if not.
- TTF fonts are supported.
- Now user can configure "normal"/"large" fonts' sizes from EDMC settings. Single config for all plugins and font-size per installed EDMC's plugin are supported.
- Added check if this plugin's folder is properly named
edmcoverlay
orEDMCOverlay
. It will crash if not. Note, either of those 2 namings may break some other plugins. As authors of those use both. That should be addressed by broken plugins. Good loading code is present into EDMC-BioScan :
try:
from EDMCOverlay import edmcoverlay
except ImportError:
try:
from edmcoverlay import edmcoverlay
except ImportError:
edmcoverlay = None
- Added WM_CLASS set to
edmc_linux_overlay_class
for the overlay window.
- Clone the repo into your EDMC plugins' directory
- NB: you must name the directory
edmcoverlay
, notedmcoverlay_for_linux
. You may clone repo elsewhere and symlink it asedmcoverlay
to the plugins' directory. This is required because all other plugins use this name to access overlay (some are usingEDMCOverlay
naming too).
- NB: you must name the directory
- Install the dependencies (mostly X11 development headers; on Ubuntu,
the
xorg-dev
package may be sufficient),cmake
. - Run script
create_binary.sh
it will handle all needed. - In the EDMC settings, configure the size and position of the overlay, default fonts' sizes, sizes per plugin.
Full list of libraries used check into cpp/CMakeLists.txt
. Those must be pre-installed in system before running compilation.
EDMCOverlay for Linux aims to be 100% compatible with EDMC Overlay.
Python library is a wrapper to pass json to the compiled binary. Compiled binary can be used stand-alone for any other purposes as overlay. Binary listens on port 5010.
Copyright © 2020 Ash Holland. Licensed under the GPL (version 3 only).
Copyright © 2021-2024 Oleksiy Zakharov. Licensed under the GPL (version 3 only).
edmcoverlay2 is heavily based on X11 overlay by @ericek111 (GPLv3).
Additionally, parts of edmcoverlay2 are copied from other projects:
- gason (MIT)
- lib_netsockets (Apache 2.0)
edmcoverlay2 would not exist without them.
Copyright notices can be found in the relevant source files.