1

I want to pin a .desktop file to dock. That file opens terminal and runs the command npm start. It opens an application, so Right Click > "Add to favorite" doesn't work. Any ideas how to pin that type of file?

pomsky
  • 68,507
Code_Again
  • 11
  • 1
  • 1
    If a .desktop file is created, it must be visible in show applications. You can drag that from there and drop in dock – Kulfy Mar 26 '19 at 09:34
  • 2
    @Kulfy You forgot to mention the .desktop file needs to be placed in a correct directory first (e.g. ~/.local/share/applications/) for that. – pomsky Mar 26 '19 at 09:39
  • @pomsky Yeah I forgot that. Thank you for mentioning. – Kulfy Mar 26 '19 at 10:56

0 Answers0