Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

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.

How to configure the default settings of non-stop screen and non automatic screen lock??

Featured Replies

hi,Kind hearted people

 

ubuntu22 gome desktop

How to configure the default settings of non-stop screen and non automatic screen lock??


I tried to execute:

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target 

it can only solve the problem of not entering sleep mode!!!
But the screen will still go black,
So how to set the default black screen never???

help ,help

Solved by IBV

Hi,

On 5/12/2025 at 11:59 AM, lay said:

ubuntu22 gome desktop

 

In Gnome settings-> power there should be a "Automatic Screen Blank" toggle which you can switch to disabled. I checked this in a quite new Gnome version (48), not sure what version you have.

  • Author

 I am Wayland Gnome Ubuntu 22
I executed the command you gave me, but it didn't work


sudo gsettings set org.gnome.desktop.session idle-delay 0


(process:36816): dconf-WARNING **: 12:28:47.991: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY

Edited by lay

  • Solution

It only works when you are already logged in Gnome, just for your session (no sudo).

 

If you want global settings, you could try setting this via /etc/profile.d/. Create a script like:

 

/etc/profile.d/disable-screen-blank.sh

With the contents 

#!/bin/bash
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
  gsettings set org.gnome.desktop.session idle-delay 0
fi

and make it executable

sudo chmod +x /etc/profile.d/disable-screen-blank.sh

I tried it and it works for my Gnome 48 test system.

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.