Quantcast
Channel: LinuxQuestions.org - Blogs - Ztcoracat
Viewing all articles
Browse latest Browse all 25

How To Make A Menu Entry

$
0
0
If you have ever manually installed an Application but grew tired of using the terminal to launch it this blog is for you.

I'll use BibleDesktop-1.6 as the Application/example.
I recently installed it and had to keep using the terminal to launch it.

Code:
cd /home/username/Directory/bibledesktop-1.6
su
./BibleDesktop.sh
Using nano just make the new file and desktop entry like this:

Code:
nano /home/username/.local/share/applications/bd.desktop
Code:
[Desktop Entry]
Name=Bible Desktop
Exec=/home/username/Downloads/bibledesktop-1.6/BibleDesktop.sh
Icon=/usr/share/pixmaps/Reference.xpm
Type=Application
Categories=Education
For Applications that aren't considered Education you would just use the appropriate title, ie) Graphics, Internet, Multimedia....etc.

Hold down ctrl+o to save the entry you made, press Enter and than hold down ctrl+x. Your done. Enjoy your new application.:)

To remove the Desktop Entry reopen that file in nano and remove the entry and than follow the path to the application, local/share/applications/name of program and delete the icon or file.

To remove the program and the directory that it's in run this with elevated privileges:
Code:
rm -rf name of directory
Cheers-:)

Viewing all articles
Browse latest Browse all 25

Trending Articles