When I close laptop's screen, BionicPup32 goes to sleep mode. How to fix this?

Moderator: Forum moderators

Post Reply
miras
Posts: 3
Joined: Thu Oct 07, 2021 3:33 pm
Has thanked: 1 time

When I close laptop's screen, BionicPup32 goes to sleep mode. How to fix this?

Post by miras »

Hi, I'm very new to Puppy Linux. I'm using BionicPup32. I'm using an external monitor so I'm closing laptops screen. When I close laptop's screen, Puppy goes to sleep mode. How to fix this?

(I'm very bad at English, sorry.)

User avatar
mikeslr
Posts: 2975
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 926 times

Re: When I close laptop's screen, Puppy goes to sleep mode. How to fix this?

Post by mikeslr »

miras wrote: Thu Oct 07, 2021 3:48 pm

Hi, I'm very new to Puppy Linux. I'm using BionicPup32. I'm using an external monitor so I'm closing laptops screen. When I close laptop's screen, Puppy goes to sleep mode. How to fix this?

To quote, I believe, Dr. Kronkheit "Don't do that".

If it ain't broke, don't fix it.

Try Menu>Desktop>ScreenSaverControl instead and leave your monitor open.

But someone else may be able to tell you how to alter the system so that your monitor will waste resources and continue to display your desktop even though no one can see it.

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: When I close laptop's screen, Puppy goes to sleep mode. How to fix this?

Post by williams2 »

Edit the file /etc/acpi/acpi.conf

Change this: #DISABLE_SUSPEND='yes'

to this: DISABLE_SUSPEND='yes'

You can turn the laptop screen off using xrandr

miras
Posts: 3
Joined: Thu Oct 07, 2021 3:33 pm
Has thanked: 1 time

Re: When I close laptop's screen, BionicPup32 goes to sleep mode. How to fix this?

Post by miras »

Thanks :D

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: When I close laptop's screen, BionicPup32 goes to sleep mode. How to fix this?

Post by williams2 »

you can turn off the laptop's screen like this:

xrandr --output LVDS --off

Use the correct name of your screen. Mine is LVDS.

Typing xrandr in a terminal will tell you the names of the screens.

actually, this would probably work better:

Code: Select all

xrandr --output LVDS --off
fixPuppyPin
cd
rox -p /root/Choices/ROX-Filer/PuppyPin &>/dev/null

&>/dev/null is not necessary, it just prevents error messages from applications started by rox being put in /tmp/xerrs.log.

miras
Posts: 3
Joined: Thu Oct 07, 2021 3:33 pm
Has thanked: 1 time

Re: When I close laptop's screen, BionicPup32 goes to sleep mode. How to fix this?

Post by miras »

xrandr is helped a lot! Thanks!

Post Reply

Return to “Bionic”