-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unity desktop entry not installed immediately after installation #6432
Comments
|
Unity won't update right away if you put it in |
The main reason it's there is because Chrome and Atom put it there.
|
Gnome says put it in
Source: https://developer.gnome.org/integration-guide/stable/desktop-files.html.en Seems like it's in the right place and it's actually an issue with gnome not watching correctly? |
I'll uninstall and reinstall it to test. |
Again, this is just the latest version downloaded, but here's the result: m3talsmith@darkness-falling:~$ sudo dpkg -i ~/Downloads/vscode-amd64.deb
(Reading database ... 226542 files and directories currently installed.)
Preparing to unpack .../Downloads/vscode-amd64.deb ...
update-alternatives: warning: alternative /usr/bin/code (part of link group editor) doesn't exist; removing from list of alternatives
Unpacking visual-studio-code (1.1.1-1463146452) over (1.1.1-1463146452) ...
Setting up visual-studio-code (1.1.1-1463146452) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
m3talsmith@darkness-falling:~$ ll /usr/share/applications/
total 728
drwxr-xr-x 2 root root 12288 May 17 12:13 ./
drwxr-xr-x 303 root root 12288 May 17 12:12 ../
-rw-r--r-- 1 root root 384 Mar 2 04:40 activity-log-manager.desktop
-rw-r--r-- 1 root root 291 Apr 13 20:19 apport-gtk.desktop
-rw-r--r-- 1 root root 125 Dec 16 03:08 apturl.desktop
-rw-r--r-- 1 root root 7469 May 17 12:13 bamf-2.index
-rw-r--r-- 1 root root 396 Jan 28 09:59 bluetooth-sendto.desktop
-rw-r--r-- 1 root root 269 Jan 16 16:43 checkbox-converged.desktop
-rw-r--r-- 1 root root 500 Apr 4 08:43 cheese.desktop
-rw-r--r-- 1 root root 12559 Mar 24 14:32 chromium-browser.desktop
-rw-r--r-- 1 root root 587 May 13 06:38 code.desktop
# ...
m3talsmith@darkness-falling:~$ ll ~/.local/share/applications/
total 212
drwx------ 2 m3talsmith m3talsmith 4096 May 17 12:04 ./
drwx------ 17 m3talsmith m3talsmith 4096 May 17 12:09 ../
-rw-rw-r-- 1 m3talsmith m3talsmith 252 May 15 13:28 mimeapps.list
-rw-rw-r-- 1 m3talsmith m3talsmith 708 May 16 22:10 mimeinfo.cache
# ... |
|
Right, so it does load it in |
A restart of Unity does bring it into the scope search, but this isn't the expected way of having a scope. |
Maybe the issue here is that it should be installed via
|
I just tested it, running |
Thanks for that man! 💃 |
Thanks for reporting, it was a bit of an annoyance for me too :P |
@m3talsmith this will land in the May release (early June), thanks again! 🎆 |
Thanks for jumping on it so quickly @Tyriar ! |
Current Setup
Steps to Reproduce
Expected Result
Additional Notes
To conform with Unity launchers, many apps add a desktop entry into
$HOME/.local/share/applications
such asvisual-studio-code.desktop
:When installed through Ubuntu Make, this file is created although the
Exec
entry is wrong. When installed through the.deb
downloaded fromhttps://code.visualstudio.com
, the file is not even created.Attached is a working example of a correct entry appearing properly in the Unity Scope search:
The text was updated successfully, but these errors were encountered: