View Single Post
  #2   (View Single Post)  
Old 18th October 2019
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
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. 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

If you want to modify the ~/.Xdefaults file, this is a good guide:
https://wiki.archlinux.org/title/X_resources
In newer linux distributions Xresources provides the same configuration but requires xrdb to implement any changes. OpenBSD still uses ~/.Xdefaults which is read on each login.


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

Last edited by shep; 24th October 2022 at 11:18 PM.
Reply With Quote