Page 1 of 1

minimal .desktop file

Posted: 02 Apr 2025, 16:02
by francois
A minimal way to setup a .desktop file is described here
https://superuser.com/questions/1015243 ... tart-after

Code: Select all

[Desktop Entry]
Exec=firefox %u
Type=Application
Name=firefox.desktop

minimal .desktop file

Posted: 03 Apr 2025, 03:03
by ncmprhnsbl
francois wrote:
02 Apr 2025, 16:02
Name=firefox.desktop
typically this would be Name=Firefox or whatever name you'd want to see in a menu or the desktop
and the file name would firefox.desktop.

minimal .desktop file

Posted: 03 Apr 2025, 07:56
by M. Eerie
francois wrote:
02 Apr 2025, 16:02
Exec=firefox %u
%u here stands for a single URL, while %U is for multiple URL's. So, the %U form is the one commonly used.

minimal .desktop file

Posted: 03 Apr 2025, 13:40
by ncmprhnsbl
Icon=<some_valid_icon_name> can be nice too :)