Pegasi Wiki

This wiki acts as a memo for our own work so why not share them? Feel free to browse and use out notes and leave a note while at it.

Desktop files database

When you press super key in your window manager you will most likely get a searchable and clickable menu / list of applications. When you install a new application you will get the corresponding menu item. Sometimes you want to make your own entries.

Add a personal desktop file

Add a new file ~/.local/share/applications/myapp.desktop and make it look something like this:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Categories=Application;
Name=My New Application
Icon=~/Pictures/MyApp.png
Exec=/opt/myall/bin/myapp
Terminal=false
GenericName=My Special New App

Refresh desktop database

Just run command

update-desktop-database

And your new menu item should be there.

 stars  from 0 votes

Leave a comment

Enter your comment:
J N T F H
 

  //check if we are running within the DokuWiki environment if (!defined("DOKU_INC")){ die(); } //place the needed HTML source codes BELOW this line