Posts tagged xdg
I'm trying to create a .desktop file which opens a file, either inside a Vim server named "VIM" if that server exists, or otherwise using the normal Vim .desktop file. My .desktop file is below. ...
Desktop files always have either %u or %U as an argument for the program being launched. E.g. here's a line from my firefox.desktop: Exec=/usr/lib/firefox/firefox %u What does it mean?
Why does XDG_DATA_HOME default to ~/.local/share? Why not something less cryptic, like ~/.data? Why did they decide use that path?
There are many GUI apps on my computer that show up as eg. items in the start menu. When I launch these, what if I want to control how exactly they are launched, such as setting environment variabl...