Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 06 18:08

    otsaloma on master

    Add qalculate icons The comman… (compare)

  • Oct 05 20:15

    otsaloma on master

    Delete search results only if a… (compare)

  • Oct 04 19:52

    otsaloma on master

    Allow deleting clipboard histor… (compare)

  • Oct 03 19:06

    otsaloma on 0.5

    (compare)

  • Oct 03 19:06

    otsaloma on master

    Update translations RELEASE 0.5 (compare)

  • Oct 01 14:11

    otsaloma on master

    Less horizontal padding (compare)

  • Oct 01 13:38

    otsaloma on master

    Tweak blurb (compare)

  • Sep 30 23:21

    otsaloma on master

    Remove obsolete test lines (compare)

  • Sep 30 23:09

    otsaloma on master

    Avoid leading tabs (compare)

  • Sep 30 22:44

    otsaloma on master

    Skip some non-text items (compare)

  • Sep 30 22:13

    otsaloma on master

    Use gpaste after all (compare)

  • Sep 29 17:59

    otsaloma on master

    Update required Python version (compare)

  • Sep 29 17:57

    otsaloma on master

    Try Ubuntu 22.04 (compare)

  • Sep 29 17:28

    otsaloma on master

    Add clipboard plugin (compare)

  • Sep 27 18:32
    otsaloma closed #13
  • Sep 27 18:32

    otsaloma on master

    Update apps plugin index every … (compare)

  • Sep 27 18:28
    otsaloma commented #13
  • Sep 27 07:29
    friday commented #13
  • Sep 26 20:31
    otsaloma commented #13
  • Sep 26 19:49
    friday opened #13
Osmo Salomaa
@otsaloma
Hello
Neo6000
@Neo6000
how can i remove the program ?
Osmo Salomaa
@otsaloma
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*"
/usr/local/lib/python3.9/dist-packages/catapult-0.1.2-py3.9.egg
/usr/local/lib/python3.9/dist-packages/catapult-0.1.4-py3.9.egg
/usr/local/lib/python3.9/dist-packages/catapult-0.1-py3.9.egg
/usr/local/lib/python3.9/dist-packages/catapult-0.1.3-py3.9.egg
/usr/local/lib/python3.9/dist-packages/catapult-0.0.1-py3.9.egg
/usr/local/lib/python3.9/dist-packages/catapult-0.1.1-py3.9.egg
/usr/local/bin/catapult
/usr/local/share/metainfo/io.otsaloma.catapult.appdata.xml
/usr/local/share/locale/fi/LC_MESSAGES/catapult.mo
/usr/local/share/applications/io.otsaloma.catapult.desktop
/usr/local/share/catapult
/usr/local/share/icons/hicolor/symbolic/apps/io.otsaloma.catapult-symbolic.svg
/usr/local/share/icons/hicolor/scalable/apps/io.otsaloma.catapult.svg
Neo6000
@Neo6000
Thanks for your time :)
scabala
@scabala
Hi, I wanted to say that this projects is awesome! Would you mind if create few issues with possible improvements?
Osmo Salomaa
@otsaloma
Yeah, go ahead. The only "restrictions" are written down here: https://github.com/otsaloma/catapult/blob/master/CONTRIBUTING.md
dhia eddine
@dhiaben20_twitter

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
@otsaloma
@dhiaben20_twitter Those commands should work on any distro. Can't help you without seeing any output.
dhia eddine
@dhiaben20_twitter

test -f build/.complete
INSTALLING PYTHON PACKAGE...
./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.
warnings.warn(
/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.
warnings.warn(
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:

/usr/local/local/lib/python3.10/site-packages/

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:

    https://setuptools.pypa.io/en/latest/deprecated/easy_install.html#custom-installation-locations

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
@otsaloma
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
@otsaloma

I now added overrides

otsaloma/catapult@727b2cf

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
@dhiaben20_twitter
It works, thanks.
But now the search input is positioned in the top left edge, is there a way to fix it
Osmo Salomaa
@otsaloma

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

https://github.com/otsaloma/catapult#known-issues-on-wayland

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
@dhiaben20_twitter
thanks for your help.