Skip to content

Instantly share code, notes, and snippets.

@jhonoryza
Created June 11, 2023 12:40
Show Gist options
  • Save jhonoryza/50c0471e356c138ba8c95ce3d8e46b81 to your computer and use it in GitHub Desktop.
Save jhonoryza/50c0471e356c138ba8c95ce3d8e46b81 to your computer and use it in GitHub Desktop.

step to fix missing launcher in linux after install snapd application

  1. Edit the file “60x11-common_xdg_path” located at /etc/X11/Xsession.d by executing the command “sudo nano /etc/X11/Xsession.d/60x11-common_xdg_path” in terminal.
  2. Press the keys Ctrl + w and search for export XDG_DATA_DIRS. It would be somewhere around line 22, depending on the settings in your machine.
  3. Just above that line, add XDG_DATA_DIRS=/var/lib/snapd/desktop:"$XDG_DATA_DIRS"

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment