An open API service indexing awesome lists of open source software.

https://github.com/m-col/xanadu

Virtual desktop underlay for Wayland and X11
https://github.com/m-col/xanadu

Last synced: 2 months ago
JSON representation

Virtual desktop underlay for Wayland and X11

Awesome Lists containing this project

README

        

xanadu
======

xanadu is a standalone desktop metaphor for desktop environments that do not
bundle one, such as standalone window managers. xanadu acts as an underlay
surface beneath regular windows that displays the contents of a specified
directory as icons. These icons can be activated to perform arbitrary
operations on the selected file or folder, such as opening it with a default
handler.

Currently, the displayed folder is ``${XDG_DESKTOP_DIR:-$HOME/Desktop}``.

xanadu is Gtk-based and so styling will be determined by your configured Gtk
theme.

Usage
-----

xanadu does not launch new processes itself. Instead, it simply prints the full
path of activated items to the standard output stream. This makes it easy to
use better-suited tools to figure out what to do.

For example, this will delegate item handling to the useful ``mimeopen`` script
packaged by many *nix distributions ("perl-file-mimeinfo" on Arch Linux), and
folder handling to ``thunar``:

.. code-block:: sh

xanadu | while read item
do
if test -d "$item"
then
thunar "$item"
else
mimeopen $item
fi
done

For alternative tools, I recommend `Default applications`_ on the Arch Wiki.

.. _`Default applications`: https://wiki.archlinux.org/title/Default_applications