How to Create a Desktop Shortcut via Terminal

First, you need to install gnome panel in the terminal:

$ sudo apt-get install gnome-panel

The above line only need to be called once. After you install that, you can call the following line to create a shortcut for each application.

$ gnome-desktop-item-edit --create-new ~/Desktop

Notes:

Command for LibreOffice:
libreoffice –calc
libreoffice –writer
etc.

Command for Terminal:

/usr/bin/gnome-terminal
Advertisements