Closed ddouglas87 closed 6 months ago
Thank you for helping us with testing :pray:
I will have to look into the deb issue for Ubuntu 24.04. We build the debs on Ubuntu 20.04 to ensure backward compatibility, so we haven't seen this yet. The latest alpha release is available at https://github.com/Ulauncher/Ulauncher/releases/tag/v6.0.0-beta4. Could you try to run that to see if it says the same thing?
The status icon uses the XDG icon specification to load the icon from the installed location, so it works when you run from source if you have also installed Ulauncher (v5 or v6). We can possibly override that when running from the source dir, but I'm also confused about how/if to handle light/dark themes in this era when Modern Gnome doesn't even have themes.
There's also a more recent build for noble here https://launchpad.net/~agornostal/+archive/ubuntu/test2/+build/27763923 (this PPA is just for testing, so please don't add it).
The latest alpha release is available at https://github.com/Ulauncher/Ulauncher/releases/tag/v6.0.0-beta4. Could you try to run that to see if it says the same thing?
When I download the .deb and double click it:
bunny@happy:~/Downloads$ apt install python3-levenshtein
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python3-levenshtein is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3-levenshtein' has no installation candidate
I guess ./ulauncher_6.0.0-beta4_all.deb
doesn't work for installing .deb files? That's what I tried in the comment above. My bad. I tried this instead:
bunny@happy:~/Downloads$ sudo dpkg -i ulauncher_6.0.0~a100-0ubuntu1ppa1~noble_all.deb
dpkg: warning: downgrading ulauncher from 6.0.0~beta4-0ubuntu1 to 6.0.0~a100-0ubuntu1ppa1~noble
(Reading database ... 530500 files and directories currently installed.)
Preparing to unpack ulauncher_6.0.0~a100-0ubuntu1ppa1~noble_all.deb ...
Unpacking ulauncher (6.0.0~a100-0ubuntu1ppa1~noble) over (6.0.0~beta4-0ubuntu1) ...
dpkg: dependency problems prevent configuration of ulauncher:
ulauncher depends on python3-levenshtein; however:
Package python3-levenshtein is not installed.
dpkg: error processing package ulauncher (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1ubuntu1) ...
Processing triggers for mate-menus (1.26.1-1) ...
Processing triggers for desktop-file-utils (0.26+mint4) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-icon-theme (3.12.0-5) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
ulauncher
Now the task bar logo appears and works when I run ulauncher
from the command line. Yeah! :D
bunny@happy:~/Downloads$ ulauncher
Levenshtein is missing or outdated. Falling back to slower fuzzy-finding method.
2024-02-20 18:58:03,495 ⚠️ WARNING
╔═════════════════════════════════════════════════════════════════════════════╗
║ YOU ARE RUNNING A PRE-RELEASE of ULAUNCHER. ║
║ Please do not report extension API support warnings to extension developers ║
║ We are still in the process of developing and documenting these features ║
╚═════════════════════════════════════════════════════════════════════════════╝
main.main:57
You can see here the dependency was removed: https://answers.launchpad.net/ubuntu/noble/amd64/python3-levenshtein
There's also a more recent build for noble here https://launchpad.net/~agornostal/+archive/ubuntu/test2/+build/27763923 (this PPA is just for testing, so please don't add it).
Both have the same dependency issue.
I'm also confused about how/if to handle light/dark themes in this era when Modern Gnome doesn't even have themes.
I have this problem with a lot of apps defaulting to light theme despite my desktop being set to a dark theme. Maybe my DE is messed up on my end not reporting it as dark. On Ulauncher I went into preferences and set color theme to dark. Works fine for me.
Thanks for dealing with my not so great bug reporting skills. The summary for this bug report is: Fails to install due to missing dependency, and taskbar icon is not working when ulauncher is ran without being installed.
Thanks again. This was a great report. I got two concrete things out of it that we need to fix for Ubuntu 24.04 that I wasn't aware of and was reminded of one that I knew of but didn't have a concrete approach for (but I might have it now).
python3-levenshtein is technically optional in v6. I made it fallback on a native Python library that works very similar. So I guess I should make it optional in the package. Maybe that's enough for you to be able to install it as well
Fuzzy search is still around 10x faster if you have python3-levenshtein though, but I haven't actually been able to reproduce a case where it's noticeable in real use.
I just pushed a commit that among other things checks that the icon is installed and falls back on the "find" icon otherwise.
Looks like this for me, but it will depend of your icon theme:
Additionally you can change the tray icon to any standard icon name that your theme supports by manually editing the settings file, see #1356
Woo! The icon changed. Here's what it looks like for me without install:
If I do make deb ; sudo dpkg -i dist/ulauncher_6.0.0~beta4_all.deb ; ulauncher
I get the old U icon:
I'm not sure what's going on there, but I like both icons.
Thanks for all the kind responses. You've made my day. ❤️
Pushed another commit so now it should load the ulauncher icon without needing the package installed.
Should be able to deal with the python3-levenshtein dependency issue by the weekend I think.
Now I'm getting the U icon. Thanks again!
Environment
Distro: Mint 22 (Ubuntu 24.04) DE: Cinnamon 6.0.4
Bug description
No taskbar icon. See picture:
Ulauncher is the white one, the default icon when there is no icon.
Version: Ulauncher v6 - git clone Feb 19th, 2024 at 5 PM PST.
I updated to Ubuntu 24.04 (Mint 22) and Ulauncher v5 didn't seem to have support, so I grabbed v6 from a git clone. I tried
make deb
and then tried running the ulauncher .deb file but it gave the error:Instead inside of .profile I added the line
(cd ~/Ulauncher/ ; make run)&
which works fine. Ulauncher runs at startup this way and everything works well, except the taskbar icon.Log output
Communication guidelines
Ulauncher v6