Skip to content

Inhibit sleep: dot (.) at the end of reason string shouldn't be necessary

VLC does a good job at correctly updating sleep and automatic screen locking inhibitions.

However, I'd like to polish one little thing: remove dot at the end of the inhibition reason string. It is a user-facing short localizable string, it is meant to be displayed by 3rd-party software which VLC has no control over. For example, in KDE/Plasma it can be seen in a battery applet either in (parenthesis) or after a semicolon (:), so stripping punctuation would make this string fit better in different environments.

Screenshots:

VLC
VLC (playing stuff.)

Inhibit_with_two_apps
Two+ apps

Elisa
Elisa music player. Kinda makes more sense, except Capitalized Letters are questionable.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information