Giter VIP home page Giter VIP logo

desktopfile's Introduction

Half-Life related projects:

  • Half-Life Featureful - my improvements and additions to Half-Life SDK. A lot of Opposing Force, SoHL and Sven Co-op features implemented. Can be used as a base for a Half-Life modification.
  • def2fgd - convert GtkRadiant .def and Netradiant .ent files to JACK .fgd.
  • Qt image plugin for Half-Life .spr - plugin for Qt and KDE to load Half-Life sprites as images. Allows easy viewing of Half-Life sprites in Gwenview.
  • Quake and Half-Life MIME types - MIME types descriptions for resource files of Half-Life and Quake games series. Useful in freedesktop environments.
  • Game watcher - query server information for various games (Quake, GoldSource and Source games), with simple web interface.
  • hlbmpwatcher - watch new screenshots in Half-Life and automatically convert them to PNG.

Freedesktop specifications implementations in D programming language:

Other useful libraries written in D programming language:

  • Findexecutable - finding executables in system paths.
  • Mofile - parsing GNU gettext .mo files in D with permissive license.
  • Openfile - use symbolic constants instead of C-style strings to open files.
  • Resusage - evaluating RAM and CPU usage by process or the whole system.
  • Standardpaths - getting standard locations in the file system.
  • Volumeinfo - listing currently mounted partitions.

desktopfile's People

Contributors

freeslave avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

electricface

desktopfile's Issues

Consider that Exec is shell command line

Some .desktop files tend to have bash-specific constructions.
E.g. dropbox kde service menu has it and this kind of Exec value is supported by DEs.
Currently desktopfile library treats Exec as a list of program arguments which appears to be wrong.

Desktop Entry is not always the first group

If the first header is not Desktop Entry, try to search it further. Some applications use/generate desktop files which don't have Desktop Entry as its first header. Probably this capability should be implemented as flag.

unquoteExec has flaws

unquoteExec does not save the information about whether the token was quoted from the beginning. That needs to be implemented to handle quoted %F and %U since they are not the same as unquoted counterparts.
Elaboration: "%F" should turn into "arg1 arg2 arg3" instead of "arg1" "arg2" "arg3"

Support single quotes in unquoting too

Although freedesktop says that quoting must be done by double quotes KDE4 seems to use single quotes for quoting when creating links to applications.

supportsFile and others

Should add supportsFile, supportsFiles, supportUrl, supportUrls to check whether Exec value of application can accept file(s) or url(s) as argument(s).

Icon should be locale string

Both DesktopFile and DesktopAction should have functions for retrieving localized icon name, since Icon is locale string by specification.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.