Summary
misc/rio.desktop defines none of the X-TerminalArg* keys required by the xdg-terminal-exec specification. Per the spec ("Desktop entry for a terminal"), an entry eligible for selection must have the TerminalEmulator category AND the X-TerminalArgExec key (X- prefix while the specification is in proposed status), which holds the command-execution argument placed before the requested command. Without it,
xdg-terminal-exec cannot reliably select or invoke Rio (strict mode rejects the entry; compat mode falls back to a -e default).
Current content (misc/rio.desktop)
[Desktop Entry]
Type=Application
TryExec=rio
Exec=rio
Icon=rio
Terminal=false
Categories=System;TerminalEmulator;
Name=Rio
GenericName=Terminal
Comment=A hardware-accelerated GPU terminal emulator powered by WebGPU
StartupWMClass=Rio
Actions=New;
[Desktop Action New]
Name=New Terminal
Exec=rio
Check:
grep -c '^X-TerminalArg' /usr/share/applications/rio.desktop # 0
Expected / proposed fix
Add the keys from the attached rio.desktop.fixed:
Actions=New;
+X-TerminalArgExec=--command
+X-TerminalArgAppId=--app-id
+X-TerminalArgTitle=--title-placeholder
[Desktop Action New]
Mapping to Rio CLI:
X-TerminalArgExec=--command <-> -e, --command ... ("Command and args to execute (must be last argument)")
X-TerminalArgAppId=--app-id
X-TerminalArgTitle=--title-placeholder <-> --title-placeholder <TITLE> ("Start window with specified title")
The X- prefix is correct while the spec is in proposed status.
Resulting file (rio.desktop.fixed)
[Desktop Entry]
Type=Application
TryExec=rio
Exec=rio
Icon=rio
Terminal=false
Categories=System;TerminalEmulator;
Name=Rio
GenericName=Terminal
Comment=A hardware-accelerated GPU terminal emulator powered by WebGPU
StartupWMClass=Rio
Actions=New;
X-TerminalArgExec=--command
X-TerminalArgAppId=--app-id
X-TerminalArgTitle=--title-placeholder
[Desktop Action New]
Name=New Terminal
Exec=rio
Reproduce
xdg-terminal-exec --print-cmd -- htop
# with Rio as preferred/default terminal: fails or mis-invokes without the keys
Request
Please add the three X-TerminalArg* lines above to misc/rio.desktop.
References
Summary
misc/rio.desktopdefines none of theX-TerminalArg*keys required by the xdg-terminal-exec specification. Per the spec ("Desktop entry for a terminal"), an entry eligible for selection must have theTerminalEmulatorcategory AND theX-TerminalArgExeckey (X-prefix while the specification is in proposed status), which holds the command-execution argument placed before the requested command. Without it,xdg-terminal-execcannot reliably select or invoke Rio (strict mode rejects the entry; compat mode falls back to a-edefault).Current content (
misc/rio.desktop)Check:
Expected / proposed fix
Add the keys from the attached
rio.desktop.fixed:Mapping to Rio CLI:
X-TerminalArgExec=--command<->-e, --command ...("Command and args to execute (must be last argument)")X-TerminalArgAppId=--app-idX-TerminalArgTitle=--title-placeholder<->--title-placeholder <TITLE>("Start window with specified title")The
X-prefix is correct while the spec is in proposed status.Resulting file (
rio.desktop.fixed)Reproduce
xdg-terminal-exec --print-cmd -- htop # with Rio as preferred/default terminal: fails or mis-invokes without the keysRequest
Please add the three
X-TerminalArg*lines above tomisc/rio.desktop.References
man rio(-e, --command,-w, --working-dir,--title-placeholder)