User Tools

Site Tools


file_kinds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
file_kinds [2021/01/26 17:56] – [Description] Kodi's nfo files note, fixed a typo (space-o?) rjtfile_kinds [2021/01/26 18:37] – [.desktop] pcmanm note/link rjt
Line 20: Line 20:
   * https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Porting_a_Google_Chrome_extension   * https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Porting_a_Google_Chrome_extension
     * https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Temporary_Installation_in_Firefox     * https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Temporary_Installation_in_Firefox
 +
 +===== Linux =====
 +==== .desktop ====
 +
 +Desktop files are used to organise programs in the window manager's applications menu and/or launcher (in my case [[Rofi]]). They're basically the [[Linux]] equivalent of [[microsoft_windows|Windows']] shortcuts.
 +
 +In [[pcmanfm]] you can use .desktop files to define [[pcmanfm#Custom Actions]].
 +
 +Software should provide one, but if you need t ocreate your own, or customise one you can put them in ''~/.local/share/applications''.
 +
 +I have an example one in my ''/Templates'' directory that looks like this:
 +
 +<code>
 +[Desktop Entry]
 +Type=Application
 +Version=1.0
 +Name=Template
 +GenericName=Desktop template
 +Comment=
 +Path=/path/to/software/
 +Exec=executable.x86
 +Icon=/path/to/icon.ico
 +Terminal=false
 +MimeType=
 +Categories=Game;Utility;
 +</code>
 +
 +There some notes on making ones for stuff you run through [[Wine]] on its page.
 +
 +  * Categories from the [[Freedesktop]] spec:
 +    * [[https://specifications.freedesktop.org/menu-spec/latest/apa.html|Main Categories]]
 +    * [[https://specifications.freedesktop.org/menu-spec/latest/apas02.html|Additional Categories]]
 +    * [[https://specifications.freedesktop.org/menu-spec/latest/apas03.html|Reserved Categories]]
  
 ===== Programmy Stuffs ===== ===== Programmy Stuffs =====
file_kinds.txt · Last modified: 2024/05/07 23:24 by 127.0.0.1