Versions in this module Expand all Collapse all v0 v0.1.0 Aug 7, 2026 Changes in this version + var ErrBadExec = errors.New("desktopentry: malformed Exec value") + var ErrNoExec = errors.New("desktopentry: entry has no Exec") + func ExpandExec(e *Entry, files []string, url string) ([]string, error) + type Action struct + Exec string + ID string + Icon string + Name string + type Entry struct + Actions []Action + Categories []string + Comment string + Exec string + GenericName string + Hidden bool + ID string + Icon string + Keywords []string + MimeType []string + Name string + Names map[string]string + NoDisplay bool + NotShowIn []string + OnlyShowIn []string + Path string + StartupWMClass string + Terminal bool + TryExec string + Type string + func Autostart() []*Entry + func AutostartDirs(dirs []string, current string) []*Entry + func Parse(r io.Reader) (*Entry, error) + func ParseFile(path string) (*Entry, error) + func ParseWithLocale(r io.Reader, locale string) (*Entry, error) + func Scan() []*Entry + func ScanDirs(dirs []string) []*Entry + func (e *Entry) ExpandExec(files []string, url string) ([]string, error) + func (e *Entry) ShouldShowIn(current string) bool