Works on macOS, Linux, and Windows.In contrast to fs.unlink, del, and rimraf which permanently delete files, this only moves them to the trash, which is much safer and reversible.
trash recycle bin rm rmrf rimraf remove delete del file files dir directory directories folder folders xdgA better node-open. Opens stuff like websites, files, executables. Cross-platform.Uses the command open on macOS, start on Windows and xdg-open on other platforms.
app open opn opener opens launch start xdg-open xdg default cmd browser editor executable exe url urls arguments args spawn exec child process website fileWorks on macOS, Linux, and Windows.In contrast to rm which is dangerous and permanently delete files, this only moves them to the trash, which is much safer and reversible. I would also recommend reading my guide on safeguarding rm.
cli-app cli trash recycle bin rm rmrf rimraf remove delete del file files dir directory directories folder folders xdgNode.js implementation for the MPRIS D-Bus Interface Specification to create a mediaplayer service.Examples are available in examples/.
mpris player music service xdg freedesktop dbus mediaThe properties .data, .config, .cache, .runtime will return null in the uncommon case that both the XDG environment variable is not set and the users home directory can't be found. You need to handle this case. A common solution is to fall back to a temp directory.Directory for user specific data files.
xdg base directory dir basedir path data config cache unix specFinds the first matching config file, if any, in the current directory, nearest ancestor, or user's home directory. Supports finding files within a subdirectory of an ancestor directory. Configurable with defaults set to support the XDG Base Directory Specification for configuration files.Because this module is intended to find consistently named configuration files, it is case-sensitive and does not support globs. If you need a more generic solution, see findup-sync or look-up.
config dot rc file find glob xdgReturns a Promise with the current brightness level.Set brightness level.
brightness brightness-level screen-brightness nodejs osx screen xdgChange the screen brightness
brightness screen-brightness brightness-level cli nodejs app cli-app interactive osx screen xdgA better node-open. Opens stuff like websites, files, executables. Cross-platform.The following file types are automagically detected when using stdin mode.
cli-app cli app open opn opener opens launch start xdg-open xdg default cmd browser editor executable exe url urls arguments args spawn exec child process website fileShows desktop notifications. This implementation does not rely on libnotify, as it is using dbus-rs. Basic notification features are supported, more sophisticated functionality will follow. The API shown below should be stable. Please see the documentation for current examples.
desktop-notifications xdg convenienceLibraries for Scala to access the standards defined by freedesktop.org (formerly X Desktop Group). The basedir sub-project contains an implementation of the Base Directory Specification.
freedesktop xdg xdg-basedir basedirThis repository contains tools and configs I use in shell. No graphical stuff, usable both on server and personal workstation. Battle tested on macOS and various Linux distributions including Debian, Ubuntu, CentOS and even WSL. I'm a big fan of XDG Base Directory Specification and organize my dotfiles in a way that they don't clutter the $HOME. I was able to reduce files required to be in $HOME to single .zshenv, everything else goes under standard XDG paths or launched via aliases. Additionally if you have root permissions, you can install dotfiles with zero home presence.
dotfiles zshrc vimrc tmux-configuration vim-plugins tmux-plugins zsh-plugins xdgPackage xdg provides access to the FreeDesktop.org (XDG) specs. Tests can be run with go test.
xdg xdg-specs xdg-basedir xdg-open xdg-compliancePowerful and versatile MIME sniffing package using pre-compiled glob patterns, magic number signatures, xml document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database. See the Godoc reference, and cmd/mimemagic for an example implementation.
mime mime-types mime-database filetype detection sniffing magic-numbers extension xdg freedesktopxdg is a tiny Python module which provides the variables defined by the XDG Base Directory Specification, to save you from duplicating the same snippet of logic in every Python utility you write that deals with user cache, configuration, or data files. It has no external dependencies. Alternatively, since xdg is only a single file you may prefer to just copy xdg.py from the source distribution into your project.
xdgPackage xdgbasedir implements a freedesktop XDG Base Directory Specification for Go. XDG Base Directory Specification is mainly for GNU/Linux. It does not mention which directory to use with macOS(darwin) or windows. So, We referred to the qt standard paths document for the corresponding directory.
xdg xdg-basedir cross-platform darwinProvides an implementation of the XDG Base Directory Specification. The specification defines a set of standard paths for storing application files including data and configuration files. For portability and flexibility reasons, applications should use the XDG defined locations instead of hardcoding paths. Copyright (c) 2014 Adrian-George Bostan.
xdg specification library golang-library golang-package xdg-basedirThis library provides a cross platform means of detecting the system's configuration directories so that your Go app can store config files in a standard location. For Linux and other Unixes (BSD, etc.) this means using the Freedesktop.org XDG Base Directory Specification (0.8), and for Windows and macOS it uses their standard directories. This is a simple no-nonsense module that just gives you the path names to do with as you please. You can either get the bare root config path, or get a path with any number of names suffixed onto it for vendor- or application-specific namespacing.
xdg xdg-basedir configdir
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.