• 0 Posts
  • 25 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle









  • S3 is what people actually think of when they think of sleep mode, or modern standby. The running state of the operating system is stored in RAM, in low power mode. All context for the cpu, other hardware like disks and network is lost and those devices are completely shut down - bar the RAM. Basically, you close the lid at the end of the day, and you’re nearly at the same charge level the next morning.

    This saves a lot of power. On my older 8th gen intel cpu laptop, it loses maybe 1-2% charge per day in this mode.

    My new 13th gen laptop still has deep sleep, or standby (s3) as a hardware function, but it’s technically not supported. It actually doesn’t work when enabled, and just falls back to s1 (sleep, everything’s still on, just in low power mode). It loses about 2-3% per hour in this mode

    S4 (Hibernate) does roughly the same as S3, but the OS state is stored to the disk instead of ram, so that can be shut off too. Now the device is completely powered off, losing no charge while ‘asleep’.

    S5 is off

    S4 sleep takes much longer to wake up from than s3, so was less desirable. In the modern computing world (especially end user devices), commonly there’s full disk encryption going on, which adds a layer of complexity to resuming from disk, as you would when waking up from hibernation (s4).

    Making it resume without putting in a decryption password for example (using a TPM), isn’t simple, and breaks a lot when you do system upgades





  • I have, I think the one time I tried it (5 years ago, on a different machine, os and X11), it wasn’t snappy enough. Probably time to go back and check it out!

    Guake has this annoying bug on wayland gnome where the interface complains that ‘keybindings can’t be set’, so you control it through custom keybindings that run terminal commands to show and hide the terminal.



  • guake-terminal for a full-screen overlay terminal, I have a keybinding for transparency toggle so I can read guides through the overlay. I used to use tilda, but I switched because they weren’t supporting wayland.

    For random/ad-hoc terminals I’ve historically used gnome-terminal and console, but recently I’ve been trying to eliminate window decoration entirely, and for that I’ve been liking black box (flatpak) for the floating decoration and other configuration bits.

    They both support theming, and have dracula included by default, so it was easy enough to get a consistent look and feel.

    I have tabs switched off for all of them. That’s what tmux is for.

    edit: I’ll probably be checking out alacritty



  • Amen. Managed to ‘prove’ I was competent enough to run linux on my personal laptop due to a combination of needing me as an employee and that I was able to show why their RDS solution broke after an official windows update with xfreerdp.

    I keep my windows workstation up to date and switched on - but all work is done from my laptop and no one’s questioned me so far.

    Strictly according to the IT policy, Windows is not required - they just thought I wouldn’t be able to access anything without it. When I proved to the auditors that I met every checkbox on the requirements list, they said it was fine too xD


  • Apparently there has been a problem with gtk4 apps and theming in flatpak, only supporting adwaita light and dark - only found vague reference to it though, nothing concrete.

    Try

    flatpak-metadata sockets
    

    To see if you can find the GTK_THEME environment variable.

    You’ve given it permission to access the themes folder, now you need go point it at the themes

    sudo flatpak override --env=GTK_THEME=my-theme 
    sudo flatpak override --env=ICON_THEME=my-icon-theme
    

    Where my-theme is the theme name, e.g. Adwaita-dark

    Apparently the flatseal gui has some functionality to set the theme too! Will check it out tomorrow to see what’s up.