I have made .desktop
files for Ubuntu 16.04 to access my Google Chrome profiles, but once I upgraded to Ubuntu 17.10 (it worked up to Ubuntu 17.04) they got removed from the dock and I can't pin them back.
Sample File:
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=google-chrome
Name[en_US]=Google Chrome
Exec=google-chrome --profile-directory=Default
Comment[en_US]=Chrome
Name=Google Chrome
Comment=Chrome Browser
Icon=google-chrome
Categories=Browser;Internet;
~
in the.desktop
file, you'll have to put the full path (there is no~
in the content of the sample.desktop
file though). – pomsky May 28 '18 at 18:01Name=
field in your.desktop
file). It should show up with the icon specified (as per theIcon=
field, if the specified icon file exists). – pomsky Sep 30 '18 at 19:37.desktop
launcher for k3b contains aStartupWMClass
key. – pomsky May 26 '20 at 18:48.desktop
file existed inHome/.local/share/applications
. Then in Activities I searched the name once more and now I see a new large icon which I can right-click and "Add to Favourites". – Kalnode Dec 19 '22 at 18:03Exec
andIcon
, but nothing shows up in the applications window.I have the .desktop file located in
.local/share/applications
– skrhee Jan 26 '23 at 15:00[Desktop Entry]
Name=Postman
Comment=Postman Launcher
Version=1.0
Exec=/home/skrhee/.local/share/Postman/Postman
Icon=/home/skrhee/.local/share/Postman/postmanIcon
Type=Application
Terminal=false
NoDisplay=false