Package Details: ulauncher 5.14.4-1

Git Clone URL: https://aur.archlinux.org/ulauncher.git (read-only, click to copy)
Package Base: ulauncher
Description: Application launcher for Linux
Upstream URL: https://ulauncher.io
Keywords: application launcher stable
Licenses: GPL3
Submitter: ulauncher
Maintainer: ulauncher (friday)
Last Packager: ulauncher
Votes: 63
Popularity: 1.92
First Submitted: 2017-03-03 09:36 (UTC)
Last Updated: 2022-04-14 22:38 (UTC)

Pinned Comments

TheCoon commented on 2021-12-13 16:53 (UTC)

The recent Python upgrade may require a reinstallation of Ulauncher and choosing to cleanBuild.

yay -S ulauncher

Latest Comments

friday commented on 2022-01-01 20:43 (UTC)

@Pound_Hash Please get the full log and verify it's not an issue with systemd. If not, post to https://github.com/Ulauncher/Ulauncher/discussions/categories/general if you need help.

Pound_Hash commented on 2021-12-28 04:56 (UTC)

I can't enable the systemd service:

ulauncher.service - Linux Application Launcher
     Loaded: loaded (/usr/lib/systemd/user/ulauncher.service; disabled; vendor preset: enabl>
     Active: activating (auto-restart) (Result: core-dump) since Mon 2021-12-27 20:48:40 PST>
       Docs: https://ulauncher.io/
    Process: 5374 ExecStart=env GDK_BACKEND=x11 /usr/bin/ulauncher --hide-window (code=dumpe>
   Main PID: 5374 (code=dumped, signal=SEGV)
        CPU: 333ms

Dec 27 20:48:40 alans-latitude systemd[583]: ulauncher.service: Failed with result 'core-dum>

friday commented on 2021-12-17 18:32 (UTC)

No worries @bobolin :)

bobolin commented on 2021-12-17 18:26 (UTC)

@friday, I feel pretty stupid right now. I apologize for the oversight.

friday commented on 2021-12-17 18:05 (UTC)

@bobolin you need to spell packages right when you install them.

bobolin commented on 2021-12-17 18:02 (UTC)

yay -S ulancher -> Could not find all required packages: ulancher (Target)

TheCoon commented on 2021-12-13 16:53 (UTC)

The recent Python upgrade may require a reinstallation of Ulauncher and choosing to cleanBuild.

yay -S ulauncher

friday commented on 2021-09-04 12:24 (UTC)

The 5.12.2 release was fixed shortly after it was broken. Unfortunately the deploy/build scripts does things in the wrong order which can cause the release to break, and we would need to switch the CI integration completely to truly fix this. Hopefully we can do this in 6.0.0.

friday commented on 2021-09-04 12:21 (UTC)

@gpoole Ulauncher installs system dependencies for Python, so if you override the python version globally with something else you need those dependencies for the Python version you're using as well I guess. If someone knows a way we could prevent this issue, please create an issue in the Ulauncher GitHub to suggest it (or post it here, but I might not see it for a while).

gpoole commented on 2021-08-30 04:10 (UTC)

I had the following error on my system trying to update, in my case caused by using pyenv:

To build ulauncher you need "python3-distutils-extra"

I found that temporarily switching to the system python fixed the problem and I was able to upgrade:

pynv global system

flow206 commented on 2021-08-24 12:14 (UTC)

5.12 is beta (as of 2021-08-24). That's why the link does not exist. Valid links are:

5.12.2-beta1 https://github.com/Ulauncher/Ulauncher/releases/download/5.12.1/ulauncher_5.12.1.tar.gz

5.12.1 https://github.com/Ulauncher/Ulauncher/releases/download/5.12.1/ulauncher_5.12.1.tar.gz

pkr commented on 2021-08-24 11:16 (UTC) (edited on 2021-08-24 11:17 (UTC) by pkr)

The link https://github.com/Ulauncher/Ulauncher/releases/download/5.12.2/ulauncher_5.12.2.tar.gz is leading into nowhere. So the update fails. However I'm not sure if this is actually a Github issue or just a missing reference.

friday commented on 2021-08-20 15:41 (UTC)

Updated with new 5.12 release + fixed dependencies and install systemd service file. This release has most of the fixes from the Ulauncher-Revived fork. The rest will be merged into Ulauncher too.

katt commented on 2021-04-19 13:26 (UTC)

Please replace python-xdg dep with python-pyxdg, had to switch to make the program launch.

snakeroot commented on 2021-03-19 18:25 (UTC)

ulauncher seems to use python-pyxdg rather than python-xdg now.

@sem.z I had the same error and I was able to resolve it by forced removal of python-xdg and installation of python-pyxdg.

sem.z commented on 2021-03-08 13:05 (UTC)

If someone getting an error:

$ ulauncher
\Traceback (most recent call last):
  File "/usr/bin/ulauncher", line 27, in <module>
    from ulauncher.main import main
  File "/usr/lib/python3.9/site-packages/ulauncher/main.py", line 19, in <module>
    from ulauncher.config import (get_version, get_options, is_wayland, is_wayland_compatibility_on,
  File "/usr/lib/python3.9/site-packages/ulauncher/config.py", line 17, in <module>
    from xdg.BaseDirectory import xdg_config_home, xdg_cache_home, xdg_data_dirs, xdg_data_home
ModuleNotFoundError: No module named 'xdg.BaseDirectory'

Install python-pyxdg dependency instead of python-xdg.

jtheoof commented on 2021-02-27 18:46 (UTC)

Message for maintainer: Is it possible to include @yochananmarqos comments into the recommended files? They fix all the issues of this package. Thanks

yochananmarqos commented on 2020-12-07 18:34 (UTC) (edited on 2020-12-07 18:38 (UTC) by yochananmarqos)

PKGBUILD critique:

  • A package already provides itself, no need for provides() and conflicts().
  • libappindicator-gtk3 should be optional
  • wmctrl is missing as an optional dependency, see Hotkey In Wayland.
  • Checksums are missing for the tarball, do not skip them
  • The service should be installed
  • Line 34 & 35 are not necessary

Improved PKGBUILD and install file.

xyverz commented on 2020-12-02 17:46 (UTC) (edited on 2020-12-02 17:47 (UTC) by xyverz)

jtylerjones -- to enable the systemd user service, you may need to create the file /etc/systemd/user/ulauncher.service with the contents of https://github.com/Ulauncher/Ulauncher/blob/dev/contrib/systemd/ulauncher.service, and then enable the service with systemctl --user enable ulauncher.service.

xyverz commented on 2020-12-02 17:37 (UTC)

I was able to get around the python3-distutils-extra error by simply installing python2.

DanieleMDN commented on 2020-12-01 17:41 (UTC) (edited on 2020-12-01 18:18 (UTC) by DanieleMDN)

I fix the python3-distutils-extra error by adding (as ulauncher said) /usr/lib/python3.8/site-packages to the PYTHONPATH:

  1. Open a terminal

  2. Open the .bashrc with a text editor, eg. Kate ~/.bashrc

  3. Add at the end export PYTHONPATH="/usr/lib/python3.8/site-packages"

  4. Install ulauncher

Note: you must be under python environment. I was in anaconda environment and even if the python3-distutils-extra did not appear I was not able to compleate the installation, so I ran conda deactivate and after the installation conda activate

tjquillan commented on 2020-11-05 02:33 (UTC)

5.8.1 (https://github.com/Ulauncher/Ulauncher/releases/tag/5.8.1) added a systemd service. However, it does not appear to be included in the tar this uses to build.

I could see it being retrieved using something like this "https://raw.githubusercontent.com/Ulauncher/Ulauncher/${pkgver}/contrib/systemd/ulauncher.service"

jylertones commented on 2020-07-06 16:07 (UTC)

One suggestion: can we add wmctrl as an optional dependency? Without it, the window does not focus in Wayland. See https://github.com/Ulauncher/Ulauncher/wiki/Hotkey-In-Wayland

gowthamanb commented on 2020-04-28 03:09 (UTC)

the build error is due to pyenv (atleast in my system), run pyenv local system in a terminal and proceed to install

ulauncher commented on 2020-03-14 15:02 (UTC)

Sorry, but I cannot reproduce this issue and I don't see how it could happen. PKBUILD clearly states that makedepends=('python-distutils-extra')

odelucca commented on 2020-02-29 21:50 (UTC) (edited on 2020-02-29 21:51 (UTC) by odelucca)

@ulauncher I'm still getting the same error:

"To build ulauncher you need "python3-distutils-extra" ==> ERROR: A failure occurred in build(). Aborting..."

fbn79 commented on 2020-01-22 08:00 (UTC)

Got this error.

Starting build()... File "setup.py", line 12 print('To build ulauncher you need "python3-distutils-extra"', file=sys.stderr)

The error happen event on ulauncher-git package.

All system packages are updated.

ulauncher commented on 2020-01-04 11:45 (UTC)

The issue with missing python modules has been fixed. Turns out some python packages are now being installed into /usr/lib/python3.8/site-packages, but ulauncher is ran by python3.7 which wasn't able to find those.

Fixed in v5.4.1 by adding site-packages from python3.8 to PYTHONPATH

DmAsB commented on 2019-11-24 09:20 (UTC) (edited on 2019-11-24 09:34 (UTC) by DmAsB)

@keno, thanks! Had the same issue, switched to dev now, and it seem to be working just fine.

Was getting the following error message whenever i tried to run ulauncher-toggle from the terminal:

  • "Failed to open connection to "session" message bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead."

I tried to set the display variable, but never got it working...

  • 5.3.12
  • X.Org X Server 1.20.6
  • pixman: 0.38.4
  • Not forcing to login to xorg (wayland) in etc/gdm/custom.conf (tried forcing, no success)

keno commented on 2019-11-17 20:56 (UTC)

The package does not start at all for me now, I switched to the DEV version of it. https://pastebin.com/zSjKkcVf

Kage-Yami commented on 2019-11-16 13:26 (UTC)

Might be an idea to bump pkgrel as the package needs to be rebuilt for Python 3.8 - handy for automated AUR tools (without a rebuild, the package won't start).

ibot3 commented on 2019-08-24 19:06 (UTC)

Why is the propagated version 5.2.0-1 and the actual used version is 5.3.0-beta1?

ra213 commented on 2019-06-13 18:07 (UTC)

Hi,

unfortunately the package python2-levenshtein was removed from the repository. Therefore I get this error when I try to install ulauncher.

==> Error: Could not find all required packages: python2-levenshtein (Wanted by: ulauncher)

willemw commented on 2019-04-24 18:40 (UTC)

Note: don't have to use "| xargs ...". Can use "find ... -exec sed ..." and "find ... -delete" instead.

pempek commented on 2018-12-07 11:29 (UTC) (edited on 2018-12-08 02:34 (UTC) by pempek)

Hi, I just installed Ulauncher, but got error when trying to use some of the extensions.

Sample errors:
- Unexpected API error. KeyError: com.github.brpaz.ulauncher-currency
- Unexpected API error. KeyError: com.github.beajeanm.ulauncher-windows-switcher

When I run ulauncher -v, this is what I got:

/usr/lib/python2.7/site-packages/ulauncher/util/desktop/notification.py:1: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
from gi.repository import Notify
/usr/lib/python2.7/site-packages/ulauncher/ui/windows /PreferencesUlauncherDialog.py:6: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
from gi.repository import Gio, Gtk, WebKit2, GLib

teetest commented on 2018-09-11 11:42 (UTC)

extensions work fine in python2-websocket-client=0.52 https://github.com/Ulauncher/Ulauncher/issues/270 this feature is nice!

ulauncher commented on 2018-09-11 05:57 (UTC)

Hi @wallace11. Please try python2-websocket-client=0.52. Some people reported that 0.51 is also not stable

wallace11 commented on 2018-09-09 06:51 (UTC) (edited on 2018-09-10 05:41 (UTC) by wallace11)

Any news on the issues with last update? python2-notify python2-websocket-client=0.51 installed and still cannot load extensions no matter what.

Edit: Latest Manjaro update (2018-09-10) fixed this problem. I don't know which package it was, though.

teetest commented on 2018-09-05 11:10 (UTC) (edited on 2018-09-05 11:11 (UTC) by teetest)

@ulauncher Thank you.

https://pastebin.com/0wkGE9BK

ulauncher commented on 2018-09-05 07:26 (UTC)

Could you please confirm that you have restarted ulauncher and pacman -Qi python2-websocket-client shows v0.51 or higher?

BTW, I just noticed that the latest version is 0.52.

teetest commented on 2018-09-04 23:04 (UTC)

@ulauncher I run ulauncher in terminal. It shows:

com.github.chenjsa.kingsoft-dict | 2018-09-05 07:02:31,510 | ERROR | websocket: error() | error from callback <bound 0x7f730438a650="" <ulauncher.api.client.client.client="" at="" client.on_open="" method="" object="" of="">>: on_open() takes exactly 2 arguments (1 given)</bound>

com.github.user0308.ulauncher-plugin-jump | 2018-09-05 07:02:31,574 | ERROR | websocket: error() | error from callback <bound 0x7f39f20f6190="" <ulauncher.api.client.client.client="" at="" client.on_message="" method="" object="" of="">>: on_message() takes exactly 3 arguments (2 given)</bound>

com.github.rolfkoenders.ulauncher-myip | 2018-09-05 07:02:39,803 | ERROR | websocket: error() | error from callback <bound 0x7fa18ac44350="" <ulauncher.api.client.client.client="" at="" client.on_message="" method="" object="" of="">>: on_message() takes exactly 3 arguments (2 given)</bound>

ulauncher commented on 2018-09-04 19:37 (UTC)

@teetest what do you see in the logs?

teetest commented on 2018-09-04 11:23 (UTC)

@ulauncher python2-websocket-client 0.51 and ulauncher 4.1.1.r1-1

but all extensions still show loading...

ulauncher commented on 2018-09-04 07:32 (UTC)

To all who noticed that extensions stopped working,

Please update python2-websocket-client package to the latest version (0.51 or higher).

There was a bug in v0.49 and 0.50

teetest commented on 2018-09-03 11:32 (UTC)

@ulauncher work for me now. Thank you.

ulauncher commented on 2018-09-02 16:19 (UTC)

I found a VBox image with Arch and KDE 5.13, but wasn't able to reproduce the issue there. Perhaps you guys could provide a VBox image where the issue exists?

How do you install Ulauncher? Do you run this command?

git clone https://aur.archlinux.org/ulauncher.git && cd ulauncher && makepkg -is

Also, did installing python2-notify fix the issue for anyone? I see python2-pyinotify in PKGBUILD. That should be enough.

Deathice commented on 2018-08-24 19:00 (UTC)

Just create the directory data

mkdir /usr/share/ulauncher/data/

Best regards,

japhir commented on 2018-08-22 22:17 (UTC)

Even after installing the dependency python2-notify I get the following error when I launch it:

/usr/lib/python2.7/site-packages/ulauncher/util/desktop/notification.py:1: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
/usr/lib/python2.7/site-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py:6: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gio, Gtk, WebKit2, GLib
2018-08-23 00:15:56,426 | ERROR | ulauncher: except_hook() | Uncaught exception
Traceback (most recent call last):
  File "/usr/bin/ulauncher", line 25, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/ulauncher/main.py", line 120, in main
    window = UlauncherWindow.get_instance()
  File "/usr/lib/python2.7/site-packages/ulauncher/util/decorator/singleton.py", line 16, in wrapper
    instance = fn(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/ulauncher/ui/windows/UlauncherWindow.py", line 52, in get_instance
    return cls()
  File "/usr/lib/python2.7/site-packages/ulauncher/ui/windows/UlauncherWindow.py", line 60, in __new__
    builder = Builder.new_from_file('UlauncherWindow')
  File "/usr/lib/python2.7/site-packages/ulauncher/ui/windows/Builder.py", line 43, in new_from_file
    ui_filename = get_data_file('ui', '%s.ui' % (builder_file_name,))
  File "/usr/lib/python2.7/site-packages/ulauncher/config.py", line 40, in get_data_file
    return os.path.join(get_data_path(), *path_segments)
  File "/usr/lib/python2.7/site-packages/ulauncher/config.py", line 57, in get_data_path
    raise ProjectPathNotFoundError
ProjectPathNotFoundError

ulauncher commented on 2018-08-21 04:39 (UTC)

@Revelation60 sure I can add it. But I won't be able to do that until next week.

Revelation60 commented on 2018-08-20 20:57 (UTC) (edited on 2018-08-20 21:00 (UTC) by Revelation60)

I get the following error when running ulauncher:

/usr/lib/python2.7/site-packages/ulauncher/util/desktop/notification.py:1: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. from gi.repository import Notify /usr/lib/python2.7/site-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py:6: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded. from gi.repository import Gio, Gtk, WebKit2, GLib 2018-08-20 22:57:00,369 | ERROR | ulauncher: except_hook() | Uncaught exception Traceback (most recent call last): File "/usr/bin/ulauncher", line 25, in <module> main() File "/usr/lib/python2.7/site-packages/ulauncher/main.py", line 120, in main window = UlauncherWindow.get_instance() File "/usr/lib/python2.7/site-packages/ulauncher/util/decorator/singleton.py", line 16, in wrapper instance = fn(args, kwargs) File "/usr/lib/python2.7/site-packages/ulauncher/ui/windows/UlauncherWindow.py", line 52, in get_instance return cls() File "/usr/lib/python2.7/site-packages/ulauncher/ui/windows/UlauncherWindow.py", line 60, in new builder = Builder.new_from_file('UlauncherWindow') File "/usr/lib/python2.7/site-packages/ulauncher/ui/windows/Builder.py", line 43, in new_from_file ui_filename = get_data_file('ui', '%s.ui' % (builder_file_name,)) File "/usr/lib/python2.7/site-packages/ulauncher/config.py", line 40, in get_data_file return os.path.join(get_data_path(), path_segments) File "/usr/lib/python2.7/site-packages/ulauncher/config.py", line 57, in get_data_path raise ProjectPathNotFoundError ProjectPathNotFoundError</module>

EDIT: this seems to be caused by a missing dependency: python2-notify. Could you add it?

StupidBunny commented on 2017-09-18 05:56 (UTC)

Thanks a lot, it seems to be working okay now. notify-send didn't work in Openbox until I installed notify-osd, which might have been what fixed the problem.

ulauncher commented on 2017-09-18 04:45 (UTC)

Try running this: notify-send "Hello World!" If this doen't trigger a desktop notification then something is wrong with a notification daemon. According to the logs that should be the case. I googled around but couldn't find anything useful about this error. "Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached (24)"

StupidBunny commented on 2017-09-17 22:03 (UTC)

It looks like I already had it installed. Just for good measure I reinstalled it as well as ulauncher with the new PKGBUILD and it's giving much the same error output.

ulauncher commented on 2017-09-17 20:05 (UTC)

Looks like python2-notify package is missing. Could you try installing it and then let me know if it works or not? I'll add it to the PKGBUILD file.

StupidBunny commented on 2017-09-17 19:25 (UTC)

Thanks. I tried blacklisting those two directories, as well as a few others. The errors I described persist, though. Here's the updated error log: https://www.dropbox.com/s/0kwkunqd1mbdozi/ulauncher-errors_170917_1218.txt?dl=0

ulauncher commented on 2017-09-17 13:52 (UTC)

Thanks for providing the log file. Due to the large amount of *.desktop files on your machine it takes a while for Ulauncher to index them. To fix this please open preferences and add the following paths to the blacklist: /usr/share/calligra /usr/share/kf5 From the logs I see that these dirs don't contain any useful *.desktop files, so they can be excluded.

StupidBunny commented on 2017-09-17 08:24 (UTC)

Thanks, I fixed the add_watch problem, though I only got it to work with a different command: echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system I'm just using Openbox right now. I've provided a link to the total stderr output below. Here's the first few lines of output: /usr/lib/python2.7/site-packages/ulauncher/util/desktop/notification.py:1: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. from gi.repository import Notify /usr/lib/python2.7/site-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py:5: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded. from gi.repository import Gio, Gtk, WebKit2 2017-09-17 01:18:36,119 | INFO | ulauncher: main() | Ulauncher version 3.1.1.r0 2017-09-17 01:18:36,119 | INFO | ulauncher: main() | GTK+ 3.22.21 FULL OUTPUT: https://www.dropbox.com/s/5l2ra3y4ublb896/ulauncher_error.txt?dl=0

ulauncher commented on 2017-09-17 07:50 (UTC)

@StupidBunny, To fix add_watch issues, try this https://github.com/Ulauncher/Ulauncher/issues/51 Please start the app with `-v` and copy the lines that appear first in the output. With versions of your env (GTK, ulauncher, etc.) I'd like to see what they are. What DE are you using, BTW?

StupidBunny commented on 2017-09-17 07:40 (UTC)

The program is slow to start, popping up with an unresponsive query window at first, and crashes when I try to save any changes to preferences. The command line gives me a litany of add_watch() errors wherein it says "Errno=No space left on device (ENOSPC)". I also get Error: g-io-error-quark: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached (24) after a few Python errors. If I wait a couple minutes after starting and don't try to save any new preferences it works pretty well, though.

ulauncher commented on 2017-03-04 12:09 (UTC)

Sorry about that. There was an error in my release automation. Fixed now.

stepovic commented on 2017-03-04 10:56 (UTC)

As 2.0.29 isn't tagged as release on GitHub yet the source url has to be set to https://github.com/Ulauncher/Ulauncher/archive/2.0.29.tar.gz instead of https://github.com/Ulauncher/Ulauncher/releases/download/2.0.29/ulauncher_2.0.29.tar.gz