User Tools

Site Tools


gnome:extensions:create_an_extension

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
gnome:extensions:create_an_extension [2022/07/23 12:30] 194.32.120.105gnome:extensions:create_an_extension [2022/07/23 12:39] (current) – [Complete Extension Zip File Layout] 194.32.120.105
Line 1: Line 1:
 ====== Gnome - Extensions - Create an Extension ====== ====== Gnome - Extensions - Create an Extension ======
  
-[[Gnome:Extensions:Create an Extension|Create an Extension]]+===== Creating the files for an extension =====
  
-----+Extensions only require two mandatory files, so create them:
  
-===== Distributing an Extension =====+  * [[Gnome:Extensions:extension.js|extension.js]] 
 +  * [[Gnome:Extensions:metadata.json|metadata.json]]
  
-Extensions are distributed as Zip files with only two required files: +Optionally create additional files:
  
-  * metadata.json +  * See [[Gnome:Extensions:prefs.js|prefs.js]]
-  * extension.js+
  
 ---- ----
  
-===== Installation of an extension =====+===== Distributing an Extension =====
  
-Extension are installed in one of two places. +Extensions are distributed as Zip files with the two required files: 
- +
-For User Extensions,+
  
 <code bash> <code bash>
-~/.local/share/gnome-shell/extensions/example@blah/ +example@blah.zip 
-</code> +    extension.js 
- +    metadata.json
-For System Extensions, +
- +
-<code bash> +
-/usr/share/gnome-shell/extensions/example@blah/+
 </code> </code>
  
 ---- ----
  
-===== Complete Extension Zip File Layout ===== 
  
-A more completezipped extension usually looks like this:+==== Complete Extension Zip File Layout ==== 
 + 
 +If additional optional files were also used in the extensionthen the zip extension usually looks like this:
  
 <code bash> <code bash>
Line 58: Line 53:
 </WRAP> </WRAP>
  
 +
 +----
 +
 +
 +===== Installation of an extension =====
 +
 +Extension are installed in one of two places.
 +
 +For User Extensions,
 +
 +<code bash>
 +~/.local/share/gnome-shell/extensions/example@blah/
 +</code>
 +
 +For System Extensions,
 +
 +<code bash>
 +/usr/share/gnome-shell/extensions/example@blah/
 +</code>
  
 ---- ----
gnome/extensions/create_an_extension.1658579419.txt.gz · Last modified: 2022/07/23 12:30 by 194.32.120.105

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki