• 0 Posts
  • 12 Comments
Joined 1Y ago
cake
Cake day: Jun 03, 2023

help-circle
rss

Base-3: 15 bits
Legal states only: 13 bits
Redundancy due to symmetry eliminated: 12 bits
Combining the previous two: I estimate 10 bits


15 bits is possible if you encode the state in base-3, where each digit represents one of the cells


1

2 is a function header followed by the opening curly brace of a function body




I do this too. I refuse to change the keyboard shortcuts in any application I use, except to mimic the shortcuts of a more popular application

For example, I use GNOME Terminal’s keyboard shortcuts in kitty


Separating them allows you to add additional interfaces, such as command-line interfaces, APIs and web pages


Is what youre saying is that i cant run xrandr before login?

So, same thing, it cant be done before login??

Yes and yes



Your service is starting, as is evident from the logged message “Started My Shell Script.”

It’s odd that you’re using sudo in the script. The script is already run as root by the service. Also, sudo asks for a password, but you can’t give it one because you’re not running it from the terminal. Xrandr doesn’t even need root

I believe the error message is happening because xrandr needs the DISPLAY environment variable, which is inherited by applications launched from the desktop (e.g. by the “startup applications” feature of your desktop environment, from .xinitrc, or when running it from a terminal window)

See https://wiki.archlinux.org/title/Xrandr#Configuration_using_arandr for something you could try



I wonder if the index is even guaranteed to fit in a short in every case