View Single Post
  #2   (View Single Post)  
Old 15th April 2019
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,253
Default

Adding Freedesktop compliant *.desktop entries

OpenBSD has some useful base applications that do not have menu entries. I have provided ~/.local/share/applications/*.desktop entries for xterm and xcalc along with an expanded ~/.Xdefaults. The ~/.Xdefaults file sets background color, foreground color, font, scrollbar for xterm. A classic Ti80 calculator look for xcalc is included. You can look at the examples and reference this Arch Linux wiki in order to generate additional *.desktop entries:

Desktop Entries - ArchWiki

The Arch wiki also details how to avoid duplicate desktop entries from when there are duplicates in /usr/local/share/applications and ~/.local/share/applications. Just append
Code:
NoDisplay=true
to the entry you want to hide.

Another source of *desktop entries is Debian. Debian has a policy of adding *.desktop files that are not provided upstream. Here is a link to Debian xterm.desktop file

Debian xterm sources

Last edited by shep; 13th June 2019 at 06:04 PM.
Reply With Quote