| NEX-DESKTOP(1) | NEX Commands | NEX-DESKTOP(1) |
NAME
nex-desktop - the NEX cluster on the desktop (GNOME, KDE Plasma, XFCE): file manager, launchers, notifications
SYNOPSIS
nex-desktop bookmark
nex-desktop scripts
nex-desktop servicemenu
nex-desktop thunar-actions
nex-desktop places
nex-desktop launcher APP [--node NODE]
[--remove]
nex-desktop run [--node NODE] -- COMMAND
[ARG...]
nex-desktop notify [--no-setup]
nex-desktop terminal [NODE]
nex-desktop clipboard on|off|status
DESCRIPTION
Integrates the cluster into the user's graphical session. It starts by itself at every login (/etc/xdg/autostart/nex-desktop.desktop runs nex-desktop notify).
- bookmark
- adds /nex as "NEX Cluster" to the Nautilus sidebar (~/.config/gtk-3.0/bookmarks), only once.
- scripts
- creates the Nautilus right-click entries in the "Scripts" > "NEX" submenu: "Run on the least loaded node", "Run on NODE" and "Open terminal on NODE" for every compute node (the entries with the Italian names of earlier versions still work until they are replaced). A chosen executable runs on the node, in its own directory; any other file is opened on the node with its program (xdg-open). Graphics (X11, Wayland) and audio reach this desktop. The files must be on /nex. The terminal is Konsole in a KDE Plasma session and xfce4-terminal in an XFCE session; otherwise the first one available among Ptyxis (ptyxis), GNOME Console (kgx), gnome-terminal, Konsole, xfce4-terminal and x-terminal-emulator; on the node it runs nexsh, or the user's shell if nexsh is missing.
- the same entries in Dolphin (KDE Plasma): a service menu in ~/.local/share/kio/servicemenus/nex.desktop, "NEX" submenu.
- thunar-actions
- the same entries in Thunar (XFCE): custom actions in ~/.config/Thunar/uca.xml, "NEX" submenu. That file also holds the user's own actions: only the NEX ones (unique id starting with "nex-") are rewritten, the others stay as they are. Nothing is done if Thunar is not installed.
- places
- adds /nex as "NEX Cluster" to the places of Dolphin, if Dolphin has already created them.
- launcher
- copies APP.desktop to ~/.local/share/applications/nex-APP.desktop with the name "(NEX cluster)": the application starts on the given node (default any, the least loaded one) and the window stays here. D-Bus activation and the additional actions are removed, because they would start locally. --remove removes the launcher.
- run
- runs COMMAND on the cluster, detached from the requester (the launchers use it); if nex run does not start, a notification says why.
- terminal
- graphical terminal with nexsh (without NODE, locally: from there on and cn work as usual) or with a shell on NODE. It is the "NEX Terminal (nexsh)" entry of the applications menu ("Terminale NEX (nexsh)" in Italian).
- notify
- session daemon, one per user: redoes bookmark, scripts, servicemenu, places and thunar-actions (unless --no-setup), opens $XDG_RUNTIME_DIR/nex-notify.sock (0600), on which the agent sends nex msg, nex wall and the end of detached jobs, and every 30 seconds shows the new alarms of the cluster. Everything becomes a desktop notification (notify-send).
- clipboard on | off | status
- clipboard shared among the user's own NEX desktops: what is copied on one desktop can be pasted on the others within a few seconds, in both directions. Off by default (on creates ~/.config/nex/appunti). It is synchronised by the daemon notify, which reads the clipboard every second with wl-paste (Wayland) or xclip (X11) and writes it with wl-copy or xclip; text only, up to 64 KiB. The text goes through the personal topic nex-desktop/appunti of nex pub without history: it reaches only the desktops connected at that moment, it is not stored in the cluster (passwords end up in the clipboard too) and only the desktops of the same user receive it.
GNOME SEARCH
In the GNOME overview, search also finds the cluster nodes (by name, or with "node") and the user's own processes on all nodes (by program name): they are provided by nex-search-provider, activated via D-Bus at the first search. Opening a result opens a terminal on that node.
TOP BAR INDICATOR
The GNOME Shell extension nex@aratoingegneria.it puts an icon in the top bar with the live nodes out of the total ("3/3"; "2/3 !" if a node does not respond or there is a critical alarm, "!" if the local agent is silent). The menu shows, for each node, load, CPU and free memory (a click opens a terminal on the node), the space of /nex, the number of alarms and the shortcuts "Open NEX Cluster", "NEX Terminal", "NEX Monitor" (if installed) and "Refresh". The data arrive every 30 seconds from nex df --json and nex alarm --json. Each user enables it once with gnome-extensions enable nex@aratoingegneria.it.
FILES
- /etc/xdg/autostart/nex-desktop.desktop
- automatic start in the graphical session.
- ~/.local/share/nautilus/scripts/NEX/
- right-click entries (links to nex-desktop).
- $XDG_RUNTIME_DIR/nex-notify.sock
- notification socket (accessible to the user only).
SEE ALSO
nex(1), nexsh(1), notify-send(1)
| October 2026 | nex-desktop 1.5.0 |