ubuntun edit fovorites code example
Example 1: why cant i add some applications to favourite in ubuntu
sudo nano /usr/share/applications/yourapp.desktop
Example 2: why cant i add some applications to favourite in ubuntu
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/path/to/yourapp
Name=YourApp
Comment=Description of YourApp
Icon=/path/to/yourapp.png