Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Sep 01 19:44

    otsaloma on master

    Don't relay PREFIX to setup.py (compare)

  • Aug 01 20:08

    otsaloma on master

    Specify API for plugins under c… (compare)

  • Jun 08 18:13

    otsaloma on 0.4.1


  • Jun 08 18:13

    otsaloma on master

    Create directory for logging RELEASE 0.4.1 (compare)

  • Jun 06 19:38

    otsaloma on master

    Remove obsolete TODO (compare)

  • Jun 06 19:38

    otsaloma on 0.4


  • Jun 06 19:38

    otsaloma on master

    RELEASE 0.4 (compare)

  • Jun 05 13:17

    otsaloma on master

    Update exchange rates once a we… (compare)

  • May 29 11:30

    otsaloma on master

    Document more issues (compare)

  • May 28 17:59

    otsaloma on master

    Allow overriding paths fed to s… (compare)

  • May 27 15:29

    otsaloma on master

    Update GTK CSS documentation URL Wrap plugin use in try-except Log errors to file (compare)

  • Apr 16 19:05

    otsaloma on master

    Sort (compare)

  • Apr 08 21:19
    otsaloma closed #12
  • Apr 08 21:19
    otsaloma commented #12
  • Apr 08 21:18

    otsaloma on master

    Add link to Arch Linux package (compare)

  • Apr 07 22:11
    CRAG666 commented #12
  • Apr 07 20:11
    otsaloma commented #12
  • Apr 07 16:08
    CRAG666 opened #12
  • Apr 02 18:11

    otsaloma on 0.3.2


  • Apr 02 18:11

    otsaloma on master

    RELEASE 0.3.2 (compare)

Osmo Salomaa
how can i remove the program ?
Osmo Salomaa
There's no particular unistall command. If you installed with the command in the README to under /usr/local, you can check with e.g. find at the command line (assuming you have no other catapults under /usr/local) and delete those. Here's example output my system, your paths might be slightly different due to your OS, Python version etc.
$ find /usr/local -iname "*catapult*"
Thanks for your time :)
Hi, I wanted to say that this projects is awesome! Would you mind if create few issues with possible improvements?
Osmo Salomaa
Yeah, go ahead. The only "restrictions" are written down here: https://github.com/otsaloma/catapult/blob/master/CONTRIBUTING.md
dhia eddine

how to install it on fedora ??
i ran these two commands

make build
sudo make PREFIX=/usr/local install

but the app is not showing on my system

Osmo Salomaa
@dhiaben20_twitter Those commands should work on any distro. Can't help you without seeing any output.
dhia eddine

test -f build/.complete
./setup-partial.py install --prefix=/usr/local
running install
/usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
/usr/lib/python3.10/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
Checking .pth file support in /usr/local/local/lib/python3.10/site-packages/
/usr/bin/python3 -E -c pass
TEST FAILED: /usr/local/local/lib/python3.10/site-packages/ does NOT support .pth files
bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:


and your PYTHONPATH environment variable currently contains:


Here are some of your options for correcting the problem:

  • You can choose a different installation directory, i.e., one that is
    on PYTHONPATH or supports .pth files

  • You can add the installation directory to the PYTHONPATH environment
    variable. (It must then also be on PYTHONPATH whenever you run
    Python and want to use the package(s) you are installing.)

  • You can set up the installation directory to support ".pth" files by
    using one of the approaches described here:


Please make the appropriate changes for your system and try again.
running bdist_egg
running egg_info
writing catapult.egg-info/PKG-INFO
writing dependency_links to catapult.egg-info/dependency_links.txt
writing top-level names to catapult.egg-info/top_level.txt
reading manifest file 'catapult.egg-info/SOURCES.txt'
adding license file 'COPYING'
adding license file 'AUTHORS.md'
writing manifest file 'catapult.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/catapult
creating build/bdist.linux-x86_64/egg/catapult/plugins
copying build/lib/catapult/plugins/files.py -> build/bdist.linux-x86_64/egg/catapult/plugins
copying build/lib/catapult/plugins/apps.py -> build/bdist.linux-x86_64/egg/catapult/plugins
copying build/lib/catapult/plugins/calculator.py -> build/bdist.linux-x86_64/egg/catapult/plugins
copying build/lib/catapult/plugins/session.py -> build/bdist.linux-x86_64/egg/catapult/plugins
copying build/lib/catapult/plugins/init.py -> build/bdist.linux-x86_64/egg/catapult/plugins
copying build/lib/catapult/plugins/builtins.py -> build/bdist.linux-x86_64/egg/catapult/plugins
copying build/lib/catapult/i18n.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/window.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/plugin.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/history.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/about.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/preferences.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/mixins.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/app.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/util.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/init.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/conf.py -> build/bdist.linux-x86_64/egg/catapult
copying build/lib/catapult/search.py -> build/bdist.linux-x86_64/egg/catapult
byte-compiling build/bdist.linux-x86_64/egg/catapult/plugins/files.py to files.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/catapult/plugins/apps.py to apps.cpython-310.pyc
byte-compiling build/bdist.linu

I also added this line in .zshrc file
export PYTHONPATH="${PYTHONPATH}:/usr/local/:/usr/local/local/lib/python3.10/site-packages/"
Osmo Salomaa
It seems Fedora have started doing something they think is technically correct, but diverges from existing practices and everyone else. They are adding an extra "local" so you get "/usr/local/local" which isn't right.

You could try

export RPM_BUILD_ROOT="/"
make build
sudo make PREFIX=/usr/local install

Not sure if that works, can't test myself as I don't use Fedora.

Osmo Salomaa

I now added overrides


So you can try

make build
sudo make PREFIX=/usr/local SETUP_PREFIX=/usr install

Let me know if it works.

Don't use this on anything else than Fedora 36+! It's only to undo Fedora breaking Python package installation.

dhia eddine
It works, thanks.
But now the search input is positioned in the top left edge, is there a way to fix it
Osmo Salomaa

It's a known issue on Wayland that apps can't set their own position


What you can do is default your window manager to center all new windows. Assuming you're using GNOME on Fedora, the following command should probably work.
gsettings set org.gnome.mutter center-new-windows true
Seems to be configurable via the GNOME Tweaks app too
dhia eddine
thanks for your help.