Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[6.x.x] [Question] screen sleep for GUI?

Featured Replies

Hello,

I have a monitor that has Auto Input select. I would like to have the UnRaid GUI be able to sleep after x minutes (blank the video output) when booted into GUI mode. Is there a file I can edit to enable this or command I can execute? I do not see a way to do it the the GUI itself.

 

Ideally, i want the monitor to automatically switch to the secondary input when Unraid's GUI blanks (sleeps) and still be able to wake via usb keyboard/mouse to resume video output.

 

Thank you in advance,

Kevin

 

 

Sent from my iPhone using Tapatalk

Solved by Kevinb123213

  • Author
  • Solution

 

TL;DR:

You can enable blanking (black screen output) as a screen saver by doing the following:

1. Backup slim.conf

cp /etc/slim.conf /etc/slim.conf.orginal

 

2. Edit slim.conf

nano /etc/slim.conf

 

3. look for this line.

xserver_arguments   -novtswitch -allowMouseOpenFail -quiet -xinerama -v -s 0 -dpms -fp /usr/share/fonts/TTF vt07

 

4. Change to the following

xserver_arguments   -novtswitch -allowMouseOpenFail -quiet -xinerama -v -s 1 dpms -fp /usr/share/fonts/TTF vt07

 

 

You can disable screen output (no signal output) as a screen saver by doing the following:

 

1. Repeat steps 1 - 3.

2. Change to the following

xserver_arguments   -novtswitch -allowMouseOpenFail -quiet -xinerama v -s 1 dpms -fp /usr/share/fonts/TTF vt07

 

DISCLAIMER: 

Do this at your own risk. You are responsible if you break your unraid setup.

 

Edit:

Is there really no way to blank the output of the screen?

brave_0amrJYCv3s.png

brave_PlpsLj8Ni5.png

Edited by Kevinb123213
Discovered Solution

  • 1 year later...

how did this work for you? any issues?

On 7/4/2022 at 2:23 PM, Kevinb123213 said:

 

TL;DR:

You can enable blanking (black screen output) as a screen saver by doing the following:

1. Backup slim.conf

cp /etc/slim.conf /etc/slim.conf.orginal

 

2. Edit slim.conf

nano /etc/slim.conf

 

3. look for this line.

xserver_arguments   -novtswitch -allowMouseOpenFail -quiet -xinerama -v -s 0 -dpms -fp /usr/share/fonts/TTF vt07

 

4. Change to the following

xserver_arguments   -novtswitch -allowMouseOpenFail -quiet -xinerama -v -s 1 dpms -fp /usr/share/fonts/TTF vt07

 

 

You can disable screen output (no signal output) as a screen saver by doing the following:

 

1. Repeat steps 1 - 3.

2. Change to the following

xserver_arguments   -novtswitch -allowMouseOpenFail -quiet -xinerama v -s 1 dpms -fp /usr/share/fonts/TTF vt07

 

DISCLAIMER: 

Do this at your own risk. You are responsible if you break your unraid setup.

 

Edit:

Is there really no way to blank the output of the screen?

brave_0amrJYCv3s.png

brave_PlpsLj8Ni5.png

it doesn't appear to get screen blanking to work for me.

got it to work and persist.

 

what i did.

 

Edited /etc/slim.conf to my liking based on the information above. You do not need to copy an original (backup) as etc folder is dumped from ram on every reboot, and reloaded so any changes made to slim.conf do not persist, you can make one but save it somewhere else besides the etc folder if you feel safe having it around. then i moved a copy of slim.conf to the usb drive in a convenient folder.

cp /etc/slim.conf /boot/config/slim.conf

 

this created a copy that would not be changed after reboots. 

 

then i edited my go file to replace the one the system loads

 

#blank monitor after 1 minute
cp /boot/config/slim.conf /etc/slim.conf
# Start the Management Utility
/usr/local/sbin/emhttp &

 

make sure it goes before emhttp

 

it works just fine now.

  • Author
1 hour ago, letrain said:

got it to work and persist.

 

what i did.

 

Edited /etc/slim.conf to my liking based on the information above. You do not need to copy an original (backup) as etc folder is dumped from ram on every reboot, and reloaded so any changes made to slim.conf do not persist, you can make one but save it somewhere else besides the etc folder if you feel safe having it around. then i moved a copy of slim.conf to the usb drive in a convenient folder.

cp /etc/slim.conf /boot/config/slim.conf

 

this created a copy that would not be changed after reboots. 

 

then i edited my go file to replace the one the system loads

 

#blank monitor after 1 minute
cp /boot/config/slim.conf /etc/slim.conf
# Start the Management Utility
/usr/local/sbin/emhttp &

 

make sure it goes before emhttp

 

it works just fine now.

Oh, thank you for this additional info. :) I’m glad you were able to find a way for it to persist after reboot. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.