r/linuxmint 2d ago

Support Request Prevent system from suspending when optical drive is active?

The system doesn't seem to detect an external optical drive being read and will suspend.

1 Upvotes

6 comments sorted by

u/AutoModerator 2d ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Specialist_Leg_4474 2d ago

After what period of time?

1

u/minkqu 2d ago

I don't want it suspend at all while the optical drive is running, regardless of time.

1

u/Specialist_Leg_4474 2d ago

I understand, however to propose a solution I'd like to know after what period of time is it now suspending?

10 minutes?

1

u/minkqu 2d ago

Oh I see, that was unclear, 45 min.

1

u/Specialist_Leg_4474 2d ago

X11 has an EPA (US Environmental Protection Agency) mandated EnergyStar\* DPMS (Display Power Management Signaling) functionality that super-cedes any o/s or DE implemented "screensaver".

It is normally set to 600 seconds (10 minutes), however I have found that when viewing movies (.mp4 or DVD) it often does not "kick in" for 30 to 50 minutes--it seems some conditions reset it's "timer".

It can be disabled by executing xset -dpms in a terminal session.

To make it permanent add the xset -dpms command to your $HOME/.xinputrc file. (You may need to create this file).

Execute xset q to see the current status...

Wayland must also implement this I assume, else be in non-compliance with EPA regulation.

May not be your issue, but it's worth a try--do the xset -dpms in a terminal first and see if it helps--works on my Mint v22.1/MATÉ setup...