# Customised Screen Saver (macOS)

## Description

Create a customised macOS Screen Saver (.saver) to simply display an image or more advanced HTML/Javascript code.

## Ingredients

- FileWave Central
- Example Fileset: [Example\_FileWave.saver.zip](https://kb.filewave.com/attachments/156)  
      
    Taken from: [https://github.com/tlrobinson/WebSaver](https://github.com/tlrobinson/WebSaver)

## Directions

### Fileset Installation

1. Download and unzip "FileWave Example ScreenSaver.zip".
2. Import into FileWave Admin

### Customise ScreenSaver Name (Optional)

- Open Fileset Contents
- Expand /var/scripts/498452 (Number will differ to example)
- Select file: FileWaveExampleScreenSaver.sh

![](https://kb.filewave.com/uploads/images/gallery/2023-07/2bcJMFTTlUdj4UDY-embedded-image-tn25lwrw.png)

- Select Get Info &gt; Executable (Tab)
- Set LaunchArgument 1 to the desired name (replacing FileWave)
- Repeat steps 4 to 6 with file: RemoveFileWaveScreenSaver.sh

![](https://kb.filewave.com/uploads/images/gallery/2023-07/3KgtihsTGe6kydjL-embedded-image-nlgbvw3f.png)

### Customise the Source File (Optional)

- Replace the following file with a desired file: /tmp/FileWave.saver/Contents/Resources/fw.png
- Edit /tmp/FileWave.saver/Contents/Resources/index.html" and replace "fw.png" with filename of the new image name from step 1.

![](https://kb.filewave.com/uploads/images/gallery/2023-07/k3ndmwBWCE0cIszv-embedded-image-g32hc1ed.png)

<p class="callout info">**Optional** Replace entire contents of file with custom HTML/Javascript if desired</p>

### Test

Associate Fileset to a test machine. On installation the following should be seen from the example:

![](https://kb.filewave.com/uploads/images/gallery/2023-07/yvYB8TkHKGgEA0q3-embedded-image-9kvbmuwr.png)

### Set Screen Saver as Default

- Open Profile Editor and Select Login Window
- Set 'Use screen saver module at path' to **/Library/Screen Savers/*FileWave.saver***" (Replace FileWave.saver to match your custom name if changed from above)

![](https://kb.filewave.com/uploads/images/gallery/2023-07/X6J6qH6c0BL3SIcy-embedded-image-enjnyinr.png)

<p class="callout info">**Login Window Profile Requirement** Edit any already existing "Login Window" Profile. If first time use of "Login Window" payload, please make sure to review all other Profile settings.</p>