Every role carried a single representative type, so setting "Images" changed image/png and left image/jpeg wherever it landed. That is how this desktop ended up opening PDFs in GIMP, PNGs in a pixel-art editor and MP3s in a video transcoder: nobody chose any of it, applications registered themselves for everything they could read, and the roles governed one type each. Roles now own families and write every type when set, the settings page exposes the documents, text and archives roles it never offered, and a new seed command curates a fresh machine during setup while always keeping a choice the user has already made. The shipped editor entry launches kitty explicitly. The stock nvim.desktop sets Terminal=true, which defers to whatever the system considers default rather than the terminal this desktop themes. Claude-Session: https://claude.ai/code/session_01BRvzt4H8XXLPVH5MyYdk9L
18 lines
897 B
Desktop File
18 lines
897 B
Desktop File
[Desktop Entry]
|
|
Type=Application
|
|
Name=Neovim
|
|
GenericName=Text Editor
|
|
Comment=Edit text in a Panama terminal window
|
|
# The stock nvim.desktop sets Terminal=true, which hands the launch to whatever
|
|
# the system considers the default terminal -- not necessarily the one this
|
|
# desktop ships and themes. Naming kitty explicitly means a text file opened
|
|
# from the file manager lands in the same terminal, with the same font and the
|
|
# same colour scheme, as one opened from the dock.
|
|
Exec=kitty --class panama-editor -e nvim %F
|
|
Icon=nvim
|
|
Terminal=false
|
|
StartupNotify=false
|
|
Categories=Utility;TextEditor;
|
|
MimeType=text/plain;text/markdown;text/english;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;text/x-python;application/json;text/xml;
|
|
Keywords=vim;neovim;editor;text;code;
|