Chromium, Firefox, RetroArch, SuperTuxKart and Terminal add-ons for LE13

  • Would it be possible to have per flatpak settings for things such as screensaver and resolution? Firefox in 4K, on a 77" it's almost unusable with no DPI scaling

    You already have the display configuration per Flatpak, you can make custom files to control resolution, scaling and VRR (among other things)

  • FYI: updated addons for x86/Generic are now in the repo, too.

    Several settings, like confirming startup or the screen blanking time, can only be configured globally in the External program helpers addon as I didn't see much point in making them configurable individually per flatpak addon and that would only clutter settings.

    Technically it would be no big problem to add those per addon, but I don't see the usecases for that.

    If actually you have such usecases please comment, if they are convincing I may rethink that design decision.

    so long,

    Hias

  • Technically it would be no big problem to add those per addon, but I don't see the usecases for that.

    Well, I had two things in mind. The first one was resolution, but apparently it's already possible (don't know why, though). The second one was the scrensaver, as some apps offer an internal one and some don't. If I think of others, I'll post them. Oh, right: mouse speed, mousewheel speed should be offered at least as settings for all flatpaks, if not per single flatpak. I know/I've discovered that one can create labwc personal settings, but I suppose that's too technical for many users. And standard mouse speed on a big TV is atrocious (at least it was for me).

  • The second one was the scrensaver, as some apps offer an internal one and some don't. If I think of others, I'll post them.

    Applications can already prevent the screensaver from activating via standard methods (eg the idle-inhibit wayland protocol).

    That's what games, mediaplayers, browsers (during video playback) all use and it also works in flatpak addons on LE - just like on linux desktop systems, where you also only have a global screen saver/blanking setting.

    Oh, right: mouse speed, mousewheel speed should be offered at least as settings for all flatpaks, if not per single flatpak. I know/I've discovered that one can create labwc personal settings, but I suppose that's too technical for many users. And standard mouse speed on a big TV is atrocious (at least it was for me).

    Personally I didn't have any issues with mouse speed but this sounds reasonable, I'll have a look at adding that.

    so long,

    Hias

  • Applications can already prevent the screensaver from activating via standard methods (eg the idle-inhibit wayland protocol).

    I think I've explained myself badly on this. Some applications do that, of course. I'm talking about the opposite, though: applications that have more full fledged screensavers that the user might actually prefer, while still wanting a screensaver for something like Firefox (or other browsers).

  • I'm talking about the opposite, though: applications that have more full fledged screensavers that the user might actually prefer, while still wanting a screensaver for something like Firefox (or other browsers).

    Which applications would that be?

    And if they go to the effort to implement a screensaver on their own then why don't they use the standard inhibit method to disable the default (desktop) screensaver? How would these applications behave in a standard desktop environment with a screensaver configured?

    so long,

    Hias

  • Which applications would that be?

    And if they go to the effort to implement a screensaver on their own then why don't they use the standard inhibit method to disable the default (desktop) screensaver? How would these applications behave in a standard desktop environment with a screensaver configured?

    GitHub - atrugiel69/flatpak.melodeon
    Contribute to atrugiel69/flatpak.melodeon development by creating an account on GitHub.
    github.com


    But I admit I did not test with having the screensaver enabled in external helper (if that's the addon that governs this, sorry, I'm going by memory). I also do not know how VacuumTubeMod handles that as, back when I did my screensaver modification there was no screensaver in the official VacuumTube, then they added it (in slightly modified form) from my PR and I dropped my version and adopted theirs, but I don't know if the implemented it in a way that is desktop screensaver aware...

    I'll test further. I hope not to annoy you with these questions/request, by the way. Thanks for your time and work shared. It's much appreciated.

  • Neither VacuumTube nor Melodeon use "the standard inhibit method to disable the default (desktop) screensaver". Why that is, I don't know. I'm simply reporting on it.

    Also, the default screensaver basically terminates any output, which means having to rely on the screensaver of the TV or the AVR.
    It could work for some hardware but, on other, I'm not sure it's the safest of screensavers...

  • VacuumTube, and also Firefox when playing a Youtube video behave correctly: during video playback the screensaver is inhibited, when paused / stopped the screensaver engages.

    Just tested that on stock LE nightly with the official addons and screen blanking time set to 1 minute so it quickly kicks in.

    How did you test that?

    (DPMS) screen blanking is pretty much the safest screensaver as disabling video output will allow displays/TVs/... to automatically enter standby - in comparison the standard "black"/"dim"/"some animation" screensavers that were used back in the old days when CRTs were popular will never allow a display to enter standby as it's still receiving a valid video signal.

    I'm not too keen to add yet another background service (which uses CPU/memory resources) when the sole purpose of the screen blanking is to prevent OLED burn-in - which is already implemented with the "display off" function that allow display to immediately go to standby.

    so long,

    Hias

  • VacuumTube, and also Firefox when playing a Youtube video behave correctly: during video playback the screensaver is inhibited, when paused / stopped the screensaver engages.

    The screensaver engaging in VacuumTube is the one from external helper, though, not its internal one. Also, you state "I'm not too keen to add yet another background service (which uses CPU/memory resources) when the sole purpose of the screen blanking is to prevent OLED burn-in - which is already implemented with the "display off" function that allow display to immediately go to standby." which is fine and, in fact, I'm not demanding anything, just reporting on what I see. I only want to clarify that the old "black/dim" way is actually wasting less energy and pixel life than what happens on my LG C1 which goes straight to its "screensaver" with full frame pictures rotating, when no signal is detected. Meaning the screen is going full steam ahead with bright content (even if it's varied).

    In fact, I'm not asking you to develop a different screensaver if you're not so inclined. I was simply inquiring on the feasibility of making your screensaver optional on a "per flatpak" basis.

  • The screensaver engaging in VacuumTube is the one from external helper, though, not its internal one.

    Yes, and my point is/was that both Firefox and VacuumTube already disable the screensaver while a video is played.

    If you have some program/flatpak that comes with it's own screensaver then it should also have an option to disable the (desktop) screensaver - it's an issue with that specific program and not something we should try to work around with an flatpak addon setting.

    I only want to clarify that the old "black/dim" way is actually wasting less energy and pixel life than what happens on my LG C1 which goes straight to its "screensaver" with full frame pictures rotating, when no signal is detected. Meaning the screen is going full steam ahead with bright content (even if it's varied).

    I've tested this on my LG C8, when the screen is blanked / video output disabled the TV shows "No Signal", the picture gallery can be disabled in TV settings, and after 15 minutes it goes into standby.

    OTOH if it receives a (black) video signal it will only go to standby after the activity timeout limit configured in the TV settings (2-8 hours or off).

    Does your TV behave differently?

    so long,

    Hias

  • My 65CX goes to standby in a couple of minutes and when i start it again Pi 5 is not reachable unless i ssh.

    What do you mean by "not reachable"? What happens if you have kodi running, power off the TV (put it into standby with the TV remote) and then power it on again?

    I don't have any such issues here with my RPi5 and my LG C8, even when it outputs 4kp60.

    We'll need a debug pastekodi log and some more info.

    so long,

    Hias

  • If you have some program/flatpak that comes with it's own screensaver then it should also have an option to disable the (desktop) screensaver - it's an issue with that specific program and not something we should try to work around with an flatpak addon setting.

    That's ok. Your add-ons, your rules. I simply made a proposal, I can accept a refusal, no problem. Thanks. :)